Problem generating rootfs for ci20 defconfig
While trying to generate an image using the ci20_defconfig (on git 84d471a0b1) with a few
extra libraries added I am getting the following error:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Executing post-image script
support/scripts/genimage.sh
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.ymKkcnSKic" "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.ymKkcnSKic/{}' '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (62914560) too small for rootfs.ext4 (134217728)
make[1]: *** [Makefile:808: target-post-image] Error 1
Does anybody understand what this part rootfs size refers to? The rootfs.ext4 size if the 128M I set as BR2_TARGET_ROOTFS_EXT2_SIZE but unsure what the other number is, or what it means.
Kind regards,
Paulo Matos
Quoted 18 lines · Paulo Matos
While trying to generate an image using the
ci20_defconfig(on git84d471a0b1) with a few
extra libraries added I am getting the following error:Quoted 1 line
Quoted 1 line
Quoted 1 line
Executing post-image script
support/scripts/genimage.shINFO: cmd: "mkdir -p "
/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.ymKkcnSKic" "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.ymKkcnSKic/{}' '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (62914560) too small for rootfs.ext4 (134217728)
make[1]: *** [Makefile:808: target-post-image] Error 1Does anybody understand what this part rootfs size refers to? The rootfs.ext4 size if the 128M I set as
BR2_TARGET_ROOTFS_EXT2_SIZEbut unsure what the other number is, or what it means.
Quoted 7 lines
Kind regards,
Paulo Matos
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
It comes from "size = 60M" in board/ci20/genimage.cfg.
Signature · 1 line
Carlos Santos <[email protected]>
Quoted 15 lines · Carlos Santos
Quoted 14 lines · Paulo Matos
While trying to generate an image using the
ci20_defconfig(on git84d471a0b1) with a few
extra libraries added I am getting the following error:Quoted 1 line
Quoted 1 line
Quoted 1 line
Executing post-image script
support/scripts/genimage.shINFO: cmd: "mkdir -p "
/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.ymKkcnSKic" "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.ymKkcnSKic/{}' '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (62914560) too small for rootfs.ext4 (134217728)
make[1]: *** [Makefile:808: target-post-image] Error 1
Quoted 6 lines
Quoted 4 lines
Does anybody understand what this part rootfs size refers to? The rootfs.ext4 size if the 128M I set as
BR2_TARGET_ROOTFS_EXT2_SIZEbut unsure what the other number is, or what it means.It comes from "size = 60M" in board/ci20/genimage.cfg.
Thanks!
Working now.
--
Paulo Matos
Quoted 24 lines · Paulo Matos
Quoted 20 lines · Carlos Santos
Quoted 18 lines · Paulo Matos
While trying to generate an image using the
ci20_defconfig(on git84d471a0b1) with a few
extra libraries added I am getting the following error:Quoted 1 line
Quoted 1 line
Quoted 1 line
Executing post-image script
support/scripts/genimage.shINFO: cmd: "mkdir -p "
/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.ymKkcnSKic" "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.ymKkcnSKic/{}' '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (62914560) too small for rootfs.ext4 (134217728)
make[1]: *** [Makefile:808: target-post-image] Error 1Does anybody understand what this part rootfs size refers to? The rootfs.ext4 size if the 128M I set as
BR2_TARGET_ROOTFS_EXT2_SIZEbut unsure what the other number is, or what it means.
Quoted 8 lines
Quoted 1 line
It comes from "size = 60M" in board/ci20/genimage.cfg.
Thanks!
Working now.
--
Paulo Matos
Perhaps we should drop the size parameter for rootts in board/*/genimage.cfg and let genimage always use the size of the filesystem image.
Thomas, Yann, Arnout, what do you think?
Signature · 1 line
Carlos Santos <[email protected]>
Quoted 29 lines · Carlos Santos
Quoted 28 lines · Paulo Matos
Quoted 15 lines · Carlos Santos
Quoted 14 lines · Paulo Matos
While trying to generate an image using the
ci20_defconfig(on git84d471a0b1) with a few
extra libraries added I am getting the following error:Quoted 1 line
Quoted 1 line
Quoted 1 line
Executing post-image script
support/scripts/genimage.shINFO: cmd: "mkdir -p "
/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.ymKkcnSKic" "/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.ymKkcnSKic/{}' '/home/pmatos/roots/br-root.jsc32-mips/build/genimage.tmp/root/{}'" (stderr):
ERROR: hdimage(sdcard.img): part rootfs size (62914560) too small for rootfs.ext4 (134217728)
make[1]: *** [Makefile:808: target-post-image] Error 1Quoted 6 lines
Quoted 4 lines
Does anybody understand what this part rootfs size refers to? The rootfs.ext4 size if the 128M I set as
BR2_TARGET_ROOTFS_EXT2_SIZEbut unsure what the other number is, or what it means.It comes from "size = 60M" in board/ci20/genimage.cfg.
Thanks!
Quoted 8 lines
Quoted 4 lines
Working now.
--
Paulo MatosPerhaps we should drop the size parameter for rootts in board/*/genimage.cfg and let genimage always use the size of the filesystem image.
That's the case for most genimage.cfg files anyway. I think the few which do
have a specified size are just historical accident.
Regards,
Arnout
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Perhaps we should drop the size parameter for rootts in board/*/genimage.cfg and let genimage always use the size of the filesystem image.
That's the case for most genimage.cfg files anyway. I think the few which do
have a specified size are just historical accident.
Indeed. For the use case of wanting extra space to add more files are runtime to a writable file system, it makes more sense to set BR2_TARGET_ROOTFS_EXT2_SIZE (or similar) to something like 512MB rather than hardcoding the rootfs partition size to 512MB.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Carlos" == Carlos Santos <[email protected]> writes:
Hi,
Quoted 3 lines
Perhaps we should drop the size parameter for rootts in board/*/genimage.cfg and let genimage always use the size of the filesystem image.
I was thinking the same. I sent a patch for ci20, but it indeed probably makes sense to do it for all defconfigs.
https://patchwork.ozlabs.org/patch/1226767/
Signature · 1 line
Bye, Peter Korsgaard