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+rene...@mailbox.org>
---
Cc: Martin Schwan <m.sch...@phytec.de>
Cc: Mattijs Korpershoek <mkorpersh...@kernel.org>
Cc: Michal Simek <michal.si...@amd.com>
Cc: Peter Robinson <pbrobin...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Tom Rini <tr...@konsulko.com>
Cc: u-boot@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

Reply via email to