sidk_s5jt200: cfg uses 0x04000000 address for FLASH access
There is no reason to use mirror address of FLASH, so use 0x04000000
address which is consistent with actual base address of each binary.
@@ -146,7 +146,7 @@ proc enable_region {} {
arm mcr 15 0 6 2 0 0x4
arm mcr 15 0 6 1 4 0x300
arm mcr 15 0 6 1 2 0x3F
- arm mcr 15 0 6 1 0 0x60000000
+ arm mcr 15 0 6 1 0 0x04000000
arm mcr 15 0 1 0 0 0x00e50879
echo "Done"
@@ -188,22 +188,22 @@ proc flash_erase_all {} {
proc flash_erase_boot {} {
echo "erase bootloader in flash"
- flash_erase 0x60000000 0x4000
+ flash_erase 0x04000000 0x4000
}
proc flash_erase_os {} {
echo "erase flash 3MB for tinyara_head.bin, check bin size"
- flash_erase 0x6000C000 0x2F8000
+ flash_erase 0x0400C000 0x2F8000
}
proc flash_erase_sss {} {
echo "erase SSS F/W region"
- flash_erase 0x602FC000 0x8000
+ flash_erase 0x042FC000 0x8000
}
proc flash_erase_wlan {} {
echo "erase WLAN F/W region"
- flash_erase 0x60304000 0x80000
+ flash_erase 0x04304000 0x80000
}
proc flash_erase {write_addr write_size} {
@@ -268,14 +268,14 @@ proc fusing_image_boot {} {
echo "Fusing nBL1"
echo "----------------------------------------------------------------------"
set BL1_PATH "../../boot_bin/t20.nbl1.bin"
- load_image $BL1_PATH 0x60000000
+ load_image $BL1_PATH 0x04000000
echo "Done"
echo "----------------------------------------------------------------------"
echo "Fusing BL2"
echo "----------------------------------------------------------------------"
set BL2_PATH "../../boot_bin/t20.bl2.head.bin"
- load_image $BL2_PATH 0x60010000
+ load_image $BL2_PATH 0x04010000
echo "Done"
}
@@ -285,7 +285,7 @@ proc fusing_image_os {} {
echo "Fusing Tinyara"
echo "----------------------------------------------------------------------"
set OS_PATH "../../../../../build/output/bin/tinyara_head.bin"
- load_image $OS_PATH 0x600C8000
+ load_image $OS_PATH 0x040C8000
echo "Done"
}
@@ -294,7 +294,7 @@ proc fusing_image_sss {} {
echo "Fusing SSS F/W..(size under 32KB)"
echo "----------------------------------------------------------------------"
set SSS_PATH "../../boot_bin/t20.sss.fw.bin"
- load_image $SSS_PATH 0x60040000
+ load_image $SSS_PATH 0x04040000
echo "Done"
}
@@ -303,6 +303,6 @@ proc fusing_image_wlan {} {
echo "Fusing WLAN F/W.."
echo "----------------------------------------------------------------------"
set WLAN_PATH "../../boot_bin/t20.wlan.bin"
- load_image $WLAN_PATH 0x60048000
+ load_image $WLAN_PATH 0x04048000
echo "Done"
}
