[U-Boot] [PATCH 2/2] arm: am57xx: Allow bootm to load larger kernels
Sam Protsenko
semen.protsenko at linaro.org
Tue Jul 2 17:56:09 UTC 2019
linux-mainline with multi_v7_defconfig + Android configs takes more
space than regular TI Android kernel and bootm will fail to load it.
Let's increase max kernel size up to 64 MiB to make it possible to run
such kernel.
Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
include/configs/am57xx_evm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 2c651aab17..9a39cd6351 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -24,6 +24,8 @@
#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
+#define CONFIG_SYS_BOOTM_LEN SZ_64M
+
#define CONSOLEDEV "ttyO2"
#define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
#define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */
--
2.20.1
More information about the U-Boot
mailing list