[PATCH] board: stemmy: Increase boot image to 16 MB

Linus Walleij linus.walleij at linaro.org
Fri Nov 19 15:33:21 CET 2021


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_16MB.

Cc: Stephan Gerhold <stephan at gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 include/configs/stemmy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/stemmy.h b/include/configs/stemmy.h
index ed79b1203901..f4700a45daf5 100644
--- a/include/configs/stemmy.h
+++ b/include/configs/stemmy.h
@@ -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_16M
 
 /* FIXME: This should be loaded from device tree... */
 #define CONFIG_SYS_L2_PL310
-- 
2.31.1



More information about the U-Boot mailing list