[Buildroot] Problem generating rootfs for ci20 defconfig

Paulo Matos pmatos at igalia.com
Mon Jan 20 14:45:56 UTC 2020

Carlos Santos writes:

> On Mon, Jan 20, 2020 at 11:20 AM Paulo Matos <pmatos at igalia.com> wrote:
>> 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:
>> >>>   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.
> It comes from "size = 60M" in board/ci20/genimage.cfg.


Working now.

Paulo Matos

More information about the buildroot mailing list