This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HI, TI team:
I want to change the address to boot, for example.
side A:
OSPI_LOCATION_SYSFW_BIN=40000
OSPI_LOCATION_BOOT_APP=A0000
OSPI_LOCATION_MULTI_CORE_IMAGE_1=1800000
OSPI_LOCATION_MULTI_CORE_IMAGE_2=2400000
OSPI_LOCATION_ATF_IMAGE=E0000
OSPI_LOCATION_LINUX_DTB=16C0000
OSPI_LOCATION_HLOS_KERNEL_IMAGE=6C0000
side B:
OSPI_LOCATION_SYSFW_BIN=4040000
OSPI_LOCATION_BOOT_APP=40A0000
OSPI_LOCATION_MULTI_CORE_IMAGE_1=5800000
OSPI_LOCATION_MULTI_CORE_IMAGE_2=6400000
OSPI_LOCATION_ATF_IMAGE=40E0000
OSPI_LOCATION_LINUX_DTB=56C0000
OSPI_LOCATION_HLOS_KERNEL_IMAGE=46C0000
how can i set to let device boot from A or B ?
Hi,
You can change these addresses in the SBL at PDK\packages\ti\boot\sbl\src\ospi.
how can i set to let device boot from A or B ?
You have two options to let the device boot from either of the side:
One, define a macro in the SBL based on which side A and side B can be configured and define the value of that macro during build.
Second, you can use the same macro but decide it's value during run time by using some hardware connection like a GPIO input.
Regards,
Parth
HI,
I use command to flash file sbl_cust_img_mcu1_0_release.tiimage to address 0x0, and the rom code can load sbl_cust_img_mcu1_0_release.tiimage from address 0x0.
when i flash sbl_cust_img_mcu1_0_release.tiimage to address 0x10000, how to set the rom code load sbl_cust_img_mcu1_0_release.tiimage from 0x10000?
==>cmd:
dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\sbl_cust_img_mcu1_0_release.tiimage -d 3 -o 0 (side A)
dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\sbl_cust_img_mcu1_0_release.tiimage -d 3 -o 10000 (side B)
Hi,
It is not possible to changes the addresses that ROM uses for booting. You can modify the addresses for other images by modifying the SBL as mentioned previously. But SBL can be flashed only at 0x0.
Regards,
Parth
HI, Parth Nagpal:
if update software, sbl_cust_img_mcu1_0_release.tiimage need to be updated?
for example, software update from PDK 7.3 to PDK 8.0, file sbl_cust_img_mcu1_0_release.tiimage need to be updated?
Thanks!
Hi,
There are not much changes in SBL from PDK-7.3 to PDK-8.0, but it is strongly recommended to use the SBL from corresponding PDK release.
Regards,
Parth
HI,Parth Nagpal:
#SBL Image
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\sbl_cust_img_mcu1_0_release.tiimage -d 3 -o 0
#SYSFW BIN
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\tifs.bin -d 3 -o 80000
#Boot App
in ospi+sbl boot mode, sbl_cust_img_mcu1_0_release.tiimage image load tifs.bin , i wander the address 80000 how can be get by sbl_cust_img_mcu1_0_release.tiimage ?
thanks!
Hi,
These addresses are defined in the PDK\packages\ti\boot\sbl\src\ospi\sbl_ospi.c
Regards,
Parth
HI, Parth
"sbl_cust_img_mcu1_0_release.tiimage" is released by TI.
when i modified the address 0x80000 to 0x100000, and compile code. how "sbl_cust_img_mcu1_0_release.tiimage" can get the address 0x100000 ?
thanks!
Hi,
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\tifs.bin -d 3 -o 80000
#Boot App
This command flashes tifs at offset address of 0x80000. This address depends on the offset address we provide in the SBL. So, when you modify the SBL to take 0x100000 address instead of 0x80000, then the SBL will look for tifs at address of 0x10000 and the command should be modified to as
C:\ti\uniflash_7.0.0\dslite.bat --mode processors -c COM8 -f C:\Users\chenwenyu\Desktop\sbl_bootfiles\tifs.bin -d 3 -o 100000
Regards,
Parth