From: Shyam Saini Date: Thu, 18 Apr 2019 14:17:39 +0000 (+0530) Subject: include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB X-Git-Tag: v2019.10-rc1~6^2~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70c2f590c88b75a9b41d5b655ad7e4475ba06d5f;p=oweals%2Fu-boot.git include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which causes board reset because of larger uImage size. This was tested on rk3288 Amarula Vyasa and rk3288 Asus Tinker boards. Error log snippet: Booting using the fdt blob at 0x1f00000 Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover resetting ... Reviewed-by: Jagan Teki Signed-off-by: Shyam Saini Reviewed-by: Kever Yang --- diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 5472a90633..5c3b35ccba 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -9,6 +9,8 @@ #include #include "rockchip-common.h" +#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */ + #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY #define CONFIG_SYS_MALLOC_LEN (32 << 20) #define CONFIG_SYS_CBSIZE 1024