[Buildroot] [PATCH 1/1] fs/ubifs: increase logical eraseblock size

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jul 10 17:28:35 UTC 2023


On Sun, 09 Jul 2023 14:39:10 +0200
Bernd Kuhls <bernd at kuhls.net> wrote:

> or better update utils/genrandconfig like this?
> https://git.busybox.net/buildroot/commit/?id=3c98eb26db6501a373cc405c80505ba72fde9e96

Yes, setting BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT to a larger value in
genrandconfig would make more sense I believe. You can set is to 5GB
divided by 0x1f800, to match what is done for other filesystems (they
assume the rootfs will never grow beyond 5GB).

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list