]> git.sur5r.net Git - u-boot/commitdiff
sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB
authorJagan Teki <jagannadh.teki@gmail.com>
Fri, 10 Nov 2017 16:51:09 +0000 (22:21 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 19 Dec 2017 10:56:20 +0000 (16:26 +0530)
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 <jagan@amarulasolutions.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
include/configs/sunxi-common.h

index 786155f1e15e1f4090bf340d73cc23877622d671..ee1cb3962c8a9134316777d6ae4adcfdc2ef0aa8 100644 (file)
@@ -34,6 +34,7 @@
 
 #ifdef CONFIG_ARM64
 #define CONFIG_BUILD_TARGET "u-boot.itb"
+#define CONFIG_SYS_BOOTM_LEN           (32 << 20)
 #endif
 
 /* Serial & console */