Error: maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

Spearitch

Member
Joined
Oct 14, 2020
Messages
45
Reaction score
6
Credits
475
Hello

I am usin Buildroot as distro.
I have a problem. I wanted to update my build with adding some packages for my embedded system(stm32mp157).

In menuconfig --> Filesystem images I chose an exact size of 270M which generated the above error.

I tested the exact size and I for

  • exact file size inferior to 265M :mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
    *** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)
    fs/ext2/ext2.mk:46: recipe for target '/home/mehdi/buildroot/output/images/rootfs.ext2' failed

  • exact file size superior or equal to 265M I got : part rootfs size (268435456) too small for rootfs.ext4 (283115520)
What should I do? I am beginning my project and I may need further packages and modules for what is coming.

What should I do?


Best Regards
 

Staff online

Members online


Top