Skip to contentSkip to conversation

arm: ls102xa: Adjust the load address of U-Boot for NOR boot

PATCH New Alison Wang 2 participants 2 messages Apr 21, 2015 – May 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ls102xa: Adjust the load address of U-Boot for NOR boot

The original load address of U-Boot is 0x67f80000. The address space of NOR flash is 0x60000000 to 0x67ffffff. It will cause the size of u-boot couldn't be larger than 512K. As more features are supported in u-boot, the size of u-boot is larger than 512K.

To fix this issue, the load address of U-Boot for NOR boot is adjusted to 0x60100000.

In RCW, the PBI command needs to change as follows:
.pbi
-write 0xee0200, 0x67f80000
+write 0xee0200, 0x60100000
.end

---
 include/configs/ls1021aqds.h | 2 +-
 include/configs/ls1021atwr.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/ls1021aqds.h +1 -1
index 5de416d..e0cebf1 100644
@@ -124,7 +124,7 @@ unsigned long get_board_ddr_clk(void);
 #endif
 
 #ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE		0x67f80000
+#define CONFIG_SYS_TEXT_BASE		0x60100000
 #endif
 
 #define CONFIG_NR_DRAM_BANKS		1
include/configs/ls1021atwr.h +1 -1
index a13876b..89891ac 100644
@@ -73,7 +73,7 @@
 #endif
 
 #ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE		0x67f80000
+#define CONFIG_SYS_TEXT_BASE		0x60100000
 #endif
 
 #define CONFIG_NR_DRAM_BANKS		1
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 arm: ls102xa: Adjust the load address of U-Boot for NOR boot

Quoted 14 lines · Alison Wang

The original load address of U-Boot is 0x67f80000. The address space of NOR flash is 0x60000000 to 0x67ffffff. It will cause the size of u-boot couldn't be larger than 512K. As more features are supported in u-boot, the size of u-boot is larger than 512K.

To fix this issue, the load address of U-Boot for NOR boot is adjusted to 0x60100000.

In RCW, the PBI command needs to change as follows:
.pbi

(quoted diff) +1 -1
-write 0xee0200, 0x67f80000
+write 0xee0200, 0x60100000
 .end
Quoted 2 lines

---

Applied to u-boot-fsl-qoriq master. Awaiting upstream.

York