Skip to contentSkip to conversation

imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M

PATCH New Peng Fan 2 participants 2 messages Jan 4, 2016 – Jan 24, 2016

lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/1 imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M

Support uncompressing zImage which is larger than 8M.

Cc Peter Robinson <[email protected]>
Cc Volodymyr Riazantsev <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Adrian Alonso <[email protected]>
Cc Stefano Babic <[email protected]>
---
 include/configs/mx6_common.h | 2 ++
 include/configs/mx7_common.h | 2 ++
 2 files changed, 4 insertions(+)
include/configs/mx6_common.h +2 -0
index 1fd7ce3..fa91186 100644
@@ -35,6 +35,8 @@
 
 #define CONFIG_SYS_NO_FLASH
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 #include <linux/sizes.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/imx-common/gpio.h>
include/configs/mx7_common.h +2 -0
index d507fb4..fac7c3f 100644
@@ -23,6 +23,8 @@
 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
 #define CONFIG_SYS_FSL_CLK
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 /* Enable iomux-lpsr support */
 #define CONFIG_IOMUX_LPSR
 #define CONFIG_IMX_FIXED_IVT_OFFSET
Signature · 1 line
2.6.2
#1 lore raw

PATCH 1/1 imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M

Quoted 32 lines · Peng Fan

Support uncompressing zImage which is larger than 8M.

Cc Peter Robinson <[email protected]>
Cc Volodymyr Riazantsev <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Adrian Alonso <[email protected]>
Cc Stefano Babic <[email protected]>
---
 include/configs/mx6_common.h | 2 ++
 include/configs/mx7_common.h | 2 ++
 2 files changed, 4 insertions(+)
include/configs/mx6_common.h +2 -0
index 1fd7ce3..fa91186 100644
@@ -35,6 +35,8 @@
 
 #define CONFIG_SYS_NO_FLASH
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 #include <linux/sizes.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/imx-common/gpio.h>
include/configs/mx7_common.h +0 -0
index d507fb4..fac7c3f 100644

include/configs/mx7_common.h line 30

Quoted 8 lines
include/configs/mx7_common.h +2 -0
@@ -23,6 +23,8 @@
 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
 #define CONFIG_SYS_FSL_CLK
 
+#define CONFIG_SYS_BOOTM_LEN	0x1000000
+
 /* Enable iomux-lpsr support */
 #define CONFIG_IOMUX_LPSR
 #define CONFIG_IMX_FIXED_IVT_OFFSET

Applied to u-boot-imx, 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
=====================================================================