ZHCABB3 July 2021 AM67 , AM67A , AM68 , AM68A , AM69 , AM69A , DRA821U , DRA821U-Q1 , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1 , TDA4VP-Q1
例如,如果 u-boot 是通过 MMCSD 引导功能进行引导的,则可以使用以下命令来刷写 OSPI 闪存。
# Run below commands at u-boot prompt
=> sf probe
=> fatload mmc 1 ${loadaddr} tiboot3.bin
=> sf update ${loadaddr} 0x0 0x${filesize}
=> fatload mmc 1 ${loadaddr} tispl.bin
=> sf update ${loadaddr} 0x80000 0x${filesize}
=> fatload mmc 1 ${loadaddr} u-boot.img
=> sf update ${loadaddr} 0x280000 0x${filesize}
=> fatload mmc 1 ${loadaddr} sysfw.itb
=> sf update ${loadaddr} 0x6C0000 0x${filesize}
=> fatload mmc 1 ${loadaddr} nor_spi_patterns.bin
=> sf update ${loadaddr} 0x3FE0000 0x${filesize}