From ff45d3d52bab741f35b6a1522c34a3c3ae5bf164 Mon Sep 17 00:00:00 2001 From: Gerard Salvatella Date: Thu, 9 May 2019 16:46:15 +0200 Subject: apalis-imx8: increase bootm loading size By default bootm can load kernels of up to 5MB. Our universal kernels in imx8 are much larger than this, even when compressed. Since recovery tezi needs to load from memory, allow for larger sizes to be loaded by bootm. Signed-off-by: Gerard Salvatella --- include/configs/apalis-imx8.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 488d748eb5..7d22ee5120 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -196,6 +196,8 @@ #define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 eMMC */ #define CONFIG_SYS_FSL_USDHC_NUM 3 +#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ + /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024) -- cgit v1.2.3