Skip to contentSkip to conversation

imx8m: enlarge CONFIG_SYS_BOOTM_LEN

PATCH New peng.fan at nxp.com 2 participants 2 messages Jul 28, 2020 – Aug 4, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx8m: enlarge CONFIG_SYS_BOOTM_LEN

From: Peng Fan <[email protected]>

Enlarge CONFIG_SYS_BOOTM_LEN when booting FIT image with AArch32 mode Linux kernel.

---
 include/configs/imx8mn_evk.h | 2 ++
 include/configs/imx8mp_evk.h | 2 ++
 include/configs/imx8mq_evk.h | 2 ++
 3 files changed, 6 insertions(+)
include/configs/imx8mn_evk.h +2 -0
index 4350b5a62a..56165f832d 100644
@@ -10,6 +10,8 @@
 #include <linux/stringify.h>
 #include <asm/arch/imx-regs.h>
 
+#define CONFIG_SYS_BOOTM_LEN		(32 * SZ_1M)
+
 #define CONFIG_SPL_MAX_SIZE		(148 * 1024)
 #define CONFIG_SYS_MONITOR_LEN		SZ_512K
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
include/configs/imx8mp_evk.h +2 -0
index 9c13235982..d664f2a153 100644
@@ -10,6 +10,8 @@
 #include <linux/stringify.h>
 #include <asm/arch/imx-regs.h>
 
+#define CONFIG_SYS_BOOTM_LEN		(32 * SZ_1M)
+
 #define CONFIG_SPL_MAX_SIZE		(152 * 1024)
 #define CONFIG_SYS_MONITOR_LEN		(512 * 1024)
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
include/configs/imx8mq_evk.h +2 -0
index 366577857a..c0eaf59f19 100644
@@ -10,6 +10,8 @@
 #include <linux/stringify.h>
 #include <asm/arch/imx-regs.h>
 
+#define CONFIG_SYS_BOOTM_LEN		(32 * SZ_1M)
+
 #define CONFIG_SPL_MAX_SIZE		(124 * 1024)
 #define CONFIG_SYS_MONITOR_LEN		(512 * 1024)
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
Signature · 1 line
2.16.4
#1 lore raw

PATCH 1/1 imx8m: enlarge CONFIG_SYS_BOOTM_LEN

Quoted 4 lines

From: Peng Fan <[email protected]>
Enlarge CONFIG_SYS_BOOTM_LEN when booting FIT image with AArch32 mode Linux kernel.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================