According to the current situation, ROM boot always loads qspi boot from address 0 of the external flash. Is there a way to allow ROM boot to load qspi boot from different starting addresses of external flash?
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.
According to the current situation, ROM boot always loads qspi boot from address 0 of the external flash. Is there a way to allow ROM boot to load qspi boot from different starting addresses of external flash?
Hi Zonghu Tao,
The ROM bootloader first tries to load a valid SBL image with certificate at address 0x0 of external flash. If it does not find a valid image at address 0x0 of external flash, it will next check at address 0x40000 in external flash for a valid image, and if it finds it here, it is loaded.
Regards,
Ajay
Dear Ajay
Thank you very much for your reply
1.If there is no valid Boot at address 0 and address 0x40000, does it stop at ROM boot?
2.Is there any code project for ROM boot?
Zonghu
Hi Zonghu,
1. If there is no valid image in both these places then yes, the booting stops at ROM bootloader.
2. ROM bootloader is inside the device, and it cannot be modified and the source for the same cannot be shared.
Regards,
Ajay
Hi, Ajay:
I also has an issue about this.
Can we modify the starting address of SBL in L2 RAM, which from L2 RAM(0x1020 0000) to another one, such as 0x1024 0000?
Can ROM boot load the SBL image from external flash to 0x1024 0000 as we expect?
Hi Bruce,
This should be possible, as long as you place the vector table of SBL at address 0x0 of TCMA, then you can define a hole in the SBL linker script to reserve some area.
Regards,
Ajay