summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerard Salvatella <gerard.salvatella@toradex.com>2019-05-09 16:46:15 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-03-05 19:22:19 +0100
commitff45d3d52bab741f35b6a1522c34a3c3ae5bf164 (patch)
tree2feb030b9fba944d87c086a7296d44a18e41e940
parent0471e6a5e1aeaaf8c1a706064e3b421e6e39eb4a (diff)
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 <gerard.salvatella@toradex.com>
-rw-r--r--include/configs/apalis-imx8.h2
1 files changed, 2 insertions, 0 deletions
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)