* [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size
@ 2023-07-14 18:24 Bernd Kuhls
2023-07-14 21:26 ` Thomas Petazzoni via buildroot
2023-08-25 16:55 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-14 18:24 UTC (permalink / raw)
To: buildroot
The new value is calculated based on:
ROOTFS_SIZE = 5G (see commit 3c98eb26db6501a373cc405c80505ba72fde9e96)
BR2_TARGET_ROOTFS_UBIFS_LEBSIZE = 0x1f800
5G / 0x1f800 = 41610
Fixes:
http://autobuild.buildroot.net/results/f72/f72918d63510b170e5da01bfa9c247cf9dcf507f/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Suggested by Thomas:
https://lists.buildroot.org/pipermail/buildroot/2023-July/670125.html
utils/genrandconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/utils/genrandconfig b/utils/genrandconfig
index 0938260c1b..60922e871c 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -525,6 +525,11 @@ def fixup_config(sysinfo, configfile):
configlines.remove('BR2_TARGET_ROOTFS_F2FS_SIZE="100M"\n')
configlines.append('BR2_TARGET_ROOTFS_F2FS_SIZE="%s"\n' % ROOTFS_SIZE)
+ if 'BR2_TARGET_ROOTFS_UBIFS=y\n' in configlines and \
+ 'BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2048\n' in configlines:
+ configlines.remove('BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2048\n')
+ configlines.append('BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=41610\n')
+
if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \
'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines:
configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n')
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size
2023-07-14 18:24 [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size Bernd Kuhls
@ 2023-07-14 21:26 ` Thomas Petazzoni via buildroot
2023-08-25 16:55 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-14 21:26 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On Fri, 14 Jul 2023 20:24:00 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> The new value is calculated based on:
> ROOTFS_SIZE = 5G (see commit 3c98eb26db6501a373cc405c80505ba72fde9e96)
> BR2_TARGET_ROOTFS_UBIFS_LEBSIZE = 0x1f800
>
> 5G / 0x1f800 = 41610
>
> Fixes:
> http://autobuild.buildroot.net/results/f72/f72918d63510b170e5da01bfa9c247cf9dcf507f/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> Suggested by Thomas:
> https://lists.buildroot.org/pipermail/buildroot/2023-July/670125.html
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size
2023-07-14 18:24 [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size Bernd Kuhls
2023-07-14 21:26 ` Thomas Petazzoni via buildroot
@ 2023-08-25 16:55 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-08-25 16:55 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:
> The new value is calculated based on:
> ROOTFS_SIZE = 5G (see commit 3c98eb26db6501a373cc405c80505ba72fde9e96)
> BR2_TARGET_ROOTFS_UBIFS_LEBSIZE = 0x1f800
> 5G / 0x1f800 = 41610
> Fixes:
> http://autobuild.buildroot.net/results/f72/f72918d63510b170e5da01bfa9c247cf9dcf507f/
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> Suggested by Thomas:
> https://lists.buildroot.org/pipermail/buildroot/2023-July/670125.html
Committed to 2023.02.x and 2023.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-25 16:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 18:24 [Buildroot] [PATCH 1/1] utils/genrandconfig: increase default target ubifs image size Bernd Kuhls
2023-07-14 21:26 ` Thomas Petazzoni via buildroot
2023-08-25 16:55 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.