]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mq_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Sun, 29 Aug 2021 19:39:12 +0000 (22:39 +0300)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Oct 2021 14:53:50 +0000 (16:53 +0200)
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

index 9b9d6fd6513836be76a52510b2e9bab15f4c4c7f..f2eb77747679faeed757deda852589b3c501165d 100644 (file)
@@ -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)