From: Oleksandr Suvorov Date: Sun, 29 Aug 2021 19:39:13 +0000 (+0300) Subject: imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=32139c25e4402aa7be12b5b6ab928a62734f4781;p=u-boot.git imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB The BSP platform LmP supports the board NXP iMX8QM MEK. 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 --- diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 152fa6f1c2..803daa45c8 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -10,6 +10,8 @@ #include #include +#define CONFIG_SYS_BOOTM_LEN (64 * SZ_1M) + #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_MAX_SIZE (124 * 1024) #define CONFIG_SYS_MONITOR_LEN (1024 * 1024)