]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: stemmy: Increase boot image to 64 MB
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Nov 2021 22:55:42 +0000 (23:55 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Jan 2022 21:58:23 +0000 (16:58 -0500)
When using a recent kernel with a bunch of compiled-in
stuff the kernel image easily becomes bigger than 8 MB
yielding this error:

  Loading Kernel Image
  Image too large: increase CONFIG_SYS_BOOTM_LEN
  Must RESET board to recover

Fix this by bumping to SZ_64MB.

Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
include/configs/stemmy.h

index e5571b240dc15d91e18f63f4d54364b70c02d315..96e759d99cabcd7e1a4f751d36053200aa1f364d 100644 (file)
@@ -14,6 +14,7 @@
  * bootloader. New images are loaded at the same address for compatibility.
  */
 #define CONFIG_SYS_INIT_SP_ADDR                CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_BOOTM_LEN           SZ_64M
 
 /* FIXME: This should be loaded from device tree... */
 #define CONFIG_SYS_L2_PL310