From: Jagan Teki Date: Fri, 10 Nov 2017 16:51:09 +0000 (+0530) Subject: sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB X-Git-Tag: v2018.01-rc3~14^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e628f008285289fbd377455bf9ab9ea6f2e16a2d;p=u-boot sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB The default value of CONFIG_SYS_BOOTM_LEN, 0x800000, causes error when uncompressing Image.gz out of FIT image. Uncompressing Kernel Image ... Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN and loading Image out of FIT image. Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover Signed-off-by: Jagan Teki Acked-by: Maxime Ripard --- diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 786155f1e1..ee1cb3962c 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -34,6 +34,7 @@ #ifdef CONFIG_ARM64 #define CONFIG_BUILD_TARGET "u-boot.itb" +#define CONFIG_SYS_BOOTM_LEN (32 << 20) #endif /* Serial & console */