diff mbox series

[U-Boot] ARM: uniphier: increase CONFIG_SYS_BOOTM_LEN to 32MB

Message ID 1508408271-10157-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 571e050b45add2c4c57ab340c578d6bd06ac6c8b
Delegated to: Masahiro Yamada
Headers show
Series [U-Boot] ARM: uniphier: increase CONFIG_SYS_BOOTM_LEN to 32MB | expand

Commit Message

Masahiro Yamada Oct. 19, 2017, 10:17 a.m. UTC
The default value of CONFIG_SYS_BOOTM_LEN, 0x800000, causes error
when uncompressing Image.gz out of fit.

   Uncompressing Kernel Image ... Error: inflate() returned -5
Image too large: increase CONFIG_SYS_BOOTM_LEN

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/configs/uniphier.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Masahiro Yamada Oct. 22, 2017, 4:07 p.m. UTC | #1
2017-10-19 19:17 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The default value of CONFIG_SYS_BOOTM_LEN, 0x800000, causes error
> when uncompressing Image.gz out of fit.
>
>    Uncompressing Kernel Image ... Error: inflate() returned -5
> Image too large: increase CONFIG_SYS_BOOTM_LEN
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  include/configs/uniphier.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
> index 1d3bf98..abee461 100644
> --- a/include/configs/uniphier.h
> +++ b/include/configs/uniphier.h
> @@ -105,6 +105,7 @@
>
>  #define CONFIG_LOADADDR                        0x84000000
>  #define CONFIG_SYS_LOAD_ADDR           CONFIG_LOADADDR
> +#define CONFIG_SYS_BOOTM_LEN           (32 << 20)
>
>  #define CONFIG_CMDLINE_EDITING         /* add command line history     */
>

Applied to u-boot-uniphier/master.
diff mbox series

Patch

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 1d3bf98..abee461 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -105,6 +105,7 @@ 
 
 #define CONFIG_LOADADDR			0x84000000
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_LOADADDR
+#define CONFIG_SYS_BOOTM_LEN		(32 << 20)
 
 #define CONFIG_CMDLINE_EDITING		/* add command line history	*/