diff mbox series

[U-Boot,v3,2/5] sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB

Message ID 1513144986-13619-2-git-send-email-jagan@amarulasolutions.com
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot,v3,1/5] sunxi: a64: Enable FIT Signature | expand

Commit Message

Jagan Teki Dec. 13, 2017, 6:03 a.m. UTC
From: Jagan Teki <jagannadh.teki@gmail.com>

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>
---
Changes for v3:
- none
Changes for v2:
- Add in separate patch with proper commit message

 include/configs/sunxi-common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Maxime Ripard Dec. 13, 2017, 3:34 p.m. UTC | #1
On Wed, Dec 13, 2017 at 11:33:03AM +0530, Jagan Teki wrote:
> From: Jagan Teki <jagannadh.teki@gmail.com>
> 
> 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>

Thanks!
Maxime
diff mbox series

Patch

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 786155f..ee1cb39 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 */