AnsweredAssumed Answered

Problem Relocating u-boot QSPI text location from 0x100000 to 0x10000

Question asked by mukund jampala on Oct 1, 2019
Latest reply on Oct 15, 2019 by ufedor

Hi All,


I have a ls1043 based custom board and I am able to use my custom RCW and 2018.09 u-boot to boot just fine.

I am trying the u-boot text location on QSPI flash from 0x100000 to 0x10000.


Looks like that requires 2 changes, RCW/PBL and u-boot itself.


RCW change:
The RCW/PBL change to change the Boot location pointer high-order address (BOOTLOCPTRH) Page 457 of LS1043ARM.pdf

--- rcw/LSDK-18.12/mainline/src/ls1043aqds/RR_FQPP_1455/rcw_1600_qspiboot_T20.rcw 2019-09-27 22:11:49.000000000 -0700
+++ /rcw/LSDK-18.12/mainline/src/ls1043aqds/RR_FQPP_1455/rcw_1600_qspiboot.rcw 2019-09-27 22:11:49.000000000 -0700
@@ -147,7 +147,7 @@
// QSPI flash clock
write 0x57015c, 0x40100000
write 0x570600, 0x00000000
-write 0x570604, 0x40100000
+write 0x570604, 0x40010000

patched for u-boot as below:
diff --git a/configs/ls1043aqds_qspi_defconfig b/configs/ls1043aqds_qspi_defconfig
index 2f14022..a4ad5a8 100644
--- a/configs/ls1043aqds_qspi_defconfig
+++ b/configs/ls1043aqds__qspi_defconfig
@@ -1,6 +1,6 @@


No luck with these change.
After I flash the u-boot to the new location 0x10000 and reset, the unit never comes up.

Can someone please help advice if there is something else that needs to be done to relocate u-boot?




ls1043 ask

u-boot image

u-boot init