[PATCH] boot: Increase kernel size limit to 128 MiB on ARM64/PPC/RV
Marek Vasut
marek.vasut+renesas at mailbox.org
Mon Sep 8 15:48:16 CEST 2025
The ARM64 kernel Image size with LOCKDEP enabled is now around 80 MiB, which
makes it unbootable due to "Image too large: increase CONFIG_SYS_BOOTM_LEN".
Increase the image size limit to 128 MiB to future proof the limit.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Martin Schwan <m.schwan at phytec.de>
Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
Cc: Michal Simek <michal.simek at amd.com>
Cc: Peter Robinson <pbrobinson at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
boot/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/Kconfig b/boot/Kconfig
index 2993cd7f9ba..e4c46d50dca 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -1056,7 +1056,7 @@ config SYS_BOOTM_LEN
hex "Maximum size of a decompresed OS image"
depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ || \
LEGACY_IMAGE_FORMAT || SPL_LEGACY_IMAGE_FORMAT
- default 0x4000000 if PPC || ARM64 || RISCV
+ default 0x8000000 if PPC || ARM64 || RISCV
default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7
default 0x800000
help
--
2.51.0
More information about the U-Boot
mailing list