]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
boot: Increase kernel size limit to 128 MiB on ARM64/PPC/RV
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 8 Sep 2025 13:48:16 +0000 (15:48 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Sep 2025 21:44:43 +0000 (15:44 -0600)
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@mailbox.org>
boot/Kconfig

index 124f6db3e6e17d143698342f4ce61844278d2f2c..dd04736575473488d92f736fcaafe4603b8bfa4f 100644 (file)
@@ -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