0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 8ee2b03039cccf64402a72dea2185d7fe1972729 Mon Sep 17 00:00:00 2001
  2. From: Shyam Saini <shyam.saini@amarulasolutions.com>
  3. Date: Mon, 15 Apr 2019 16:16:16 +0530
  4. Subject: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB
  5. The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which
  6. causes board reset because of larger uImage size.
  7. Error log snippet:
  8. Booting using the fdt blob at 0x1f00000
  9. Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
  10. Must RESET board to recover
  11. resetting ...
  12. Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
  13. ---
  14. include/configs/rk3288_common.h | 2 ++
  15. 1 file changed, 2 insertions(+)
  16. diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
  17. index 72a54bc0ab..eab7cf4d86 100644
  18. --- a/include/configs/rk3288_common.h
  19. +++ b/include/configs/rk3288_common.h
  20. @@ -9,6 +9,8 @@
  21. #include <asm/arch/hardware.h>
  22. #include "rockchip-common.h"
  23. +#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */
  24. +
  25. #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
  26. #define CONFIG_SYS_MALLOC_LEN (32 << 20)
  27. #define CONFIG_SYS_CBSIZE 1024
  28. --
  29. 2.11.0