-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Dear all,
Thank you for providing this tool. I followed the instructions in the readme to build a RISC-V ubuntu image for the milkv-duo-256m.
Building the distro of ubuntu-noble-riscv64-2025-06-19.tar.gz was fine. However, at step 30 of building the image, using duo-buildroot-sdk-v2, I had the following error. I am very new to this topic, so my guess is likely wrong: maybe /duo-buildroot-sdk was at another location than the expected directory of the build script?
I appreciate any insight. Thank you very much.
---> 24af0eea766c
Step 27/48 : RUN find /duo-buildroot-sdk/build/boards/cv181x -type f -name '*milkv*_defconfig' -path '*/cv181x/*duo*/linux/*' -exec sh -c 'cat ${ROOTFS_OVERLAY}/kernel.conf >> {}' \;
---> Running in 600fb73d462b
---> Removed intermediate container 600fb73d462b
---> 585258c9627d
Step 28/48 : RUN rm ${ROOTFS_OVERLAY}/kernel.conf
---> Running in 4b1113997b6f
---> Removed intermediate container 4b1113997b6f
---> afa83633ac89
Step 29/48 : RUN sed -i '/^image rootfs\.ext4 {/,/^}/ s/^\(\s*size\s*=\s*\)[^ ]\+/\11G/' /duo-buildroot-sdk/device/milkv*/genimage.cfg
---> Running in 32d4d40dcf81
---> Removed intermediate container 32d4d40dcf81
---> 13379153fc40
Step 30/48 : RUN sed -i 's/\(BR2_TARGET_ROOTFS_EXT2_SIZE="\)[^"]*/\11G/' /duo-buildroot-sdk/buildroot-2024.02/configs/milk*duo*_defconfig
---> Running in af1df2037669
sed: can't read /duo-buildroot-sdk/buildroot-2024.02/configs/milk*duo*_defconfig: No such file or directory
The command '/bin/sh -c sed -i 's/\(BR2_TARGET_ROOTFS_EXT2_SIZE="\)[^"]*/\11G/' /duo-buildroot-sdk/buildroot-2024.02/configs/milk*duo*_defconfig' returned a non-zero code: 2
Metadata
Metadata
Assignees
Labels
No labels