Skip to contentSkip to conversation

ARC: devboards: Allow huge uImages (up to 128 MiB)

PATCH New Alexey Brodkin 1 participant 1 message Jan 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: devboards: Allow huge uImages (up to 128 MiB)

Even though in production uImage usually is quite small as it contains just Linux kernel image during development it might be pretty convenient to have root-FS built into the same image.

That makes uImage much larger but given on our dev platforms we have quite a lot of DDR (> 512 MiB) we may afford loading huge uImages.

---
 include/configs/axs10x.h | 2 +-
 include/configs/hsdk.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/axs10x.h +1 -1
index 29c595970a22..a9c4d1ab2365 100644
@@ -29,7 +29,7 @@
 	(CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
 
 #define CONFIG_SYS_MALLOC_LEN		SZ_2M
-#define CONFIG_SYS_BOOTM_LEN		SZ_32M
+#define CONFIG_SYS_BOOTM_LEN		SZ_128M
 #define CONFIG_SYS_LOAD_ADDR		0x82000000
 
 /*
include/configs/hsdk.h +1 -1
index cdc1b2e36586..8d5e89b6fdd7 100644
@@ -29,7 +29,7 @@
 	(CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
 
 #define CONFIG_SYS_MALLOC_LEN		SZ_2M
-#define CONFIG_SYS_BOOTM_LEN		SZ_32M
+#define CONFIG_SYS_BOOTM_LEN		SZ_128M
 #define CONFIG_SYS_LOAD_ADDR		0x82000000
 
 /*
Signature · 1 line
2.14.3