diff mbox series

[2/3] imx8mq_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB

Message ID 20210829193913.124217-2-oleksandr.suvorov@foundries.io
State Accepted
Commit 13586e46686bfcbd6a43c12e6bfec589d8db16f8
Delegated to: Stefano Babic
Headers show
Series [1/3] imx8mm_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB | expand

Commit Message

Oleksandr Suvorov Aug. 29, 2021, 7:39 p.m. UTC
The BSP platform LmP supports the board NXP iMX8M Plus EVK. The
kernel size in LmP exceeds 32Mb. Increase the maximum size
of an uncompressed kernel to fix the following error:
    Uncompressing Kernel Image
    Error: inflate() returned -5
    Image too large: increase CONFIG_SYS_BOOTM_LEN
    Must RESET board to recover

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
---

 include/configs/imx8mq_evk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Oct. 7, 2021, 2:13 p.m. UTC | #1
> The BSP platform LmP supports the board NXP iMX8M Plus EVK. The
> kernel size in LmP exceeds 32Mb. Increase the maximum size
> of an uncompressed kernel to fix the following error:
>     Uncompressing Kernel Image
>     Error: inflate() returned -5
>     Image too large: increase CONFIG_SYS_BOOTM_LEN
>     Must RESET board to recover
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index af81a43cbc..26ad56c999 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -10,7 +10,7 @@ 
 #include <linux/stringify.h>
 #include <asm/arch/imx-regs.h>
 
-#define CONFIG_SYS_BOOTM_LEN		(32 * SZ_1M)
+#define CONFIG_SYS_BOOTM_LEN		(64 * SZ_1M)
 
 #define CONFIG_SPL_MAX_SIZE		(124 * 1024)
 #define CONFIG_SYS_MONITOR_LEN		(512 * 1024)