I’m working on customer board porting, and want to know how to modify QSPI/OSPI flash layout for SPL/u-boot booting from QSPI/OSPI with TI AM64x Linux SDK.
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.
I’m working on customer board porting, and want to know how to modify QSPI/OSPI flash layout for SPL/u-boot booting from QSPI/OSPI with TI AM64x Linux SDK.
Let me use Linux SDK u-boot build for AM64x EVM as an example, where the QSPI/OSPI flash layout offsets for the two A53 u-boot binary (tispl.bin and u-boot.img) are defined in the two defconfig files. The two offset configuration from SDK8.2 and on-wards as listed below, and the same two offsets were 0x80000, & 0x280000 before SDK 8.2
- SDK 8.2 and on-wards:
/configs/am64x_evm_r5_defconfig CONFIG_SYS_SPI_U_BOOT_OFFS=0x100000 => tispl.bin /configs/am64x_evm_a53_defconfig CONFIG_SYS_SPI_U_BOOT_OFFS=0x300000 => u-boot.img
It is important to do the followings when porting u-boot for customer board:
1/. modify the two offsets to match the customer QSPI/OSPI flash layout
2/. use the exact same offsets for QSPI/OSPI flashing and booting
There's an early e2e post on the same topic on AM65x OSPI offset
e2e.ti.com/.../4092657