工具与软件:
如何使用 DFU 刷写到 OSPI?
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.
SDK 9.2问题:
SDK 8.0问题:
J722S HS-J7200 FS 问题解决方案:
J721E SK 问题:
要刷写到的步骤 使用 DFU 的 OSPI 是:
SW8[1:8]:1000_0000 SW9[1:8]:0010_0000 SW3[1:10]:0101_0010_10
>sudo dfu-util -l >sudo dfu-util -R -a bootloader -D <Path to tiboot3.bin binary> >sudo dfu-util -R -a tispl.bin -D <Path to tispl.bin binary> >sudo dfu-util -R -a u-boot.img -D <Path to u-boot.img binary>
------------------------------------------------------------------------------------------------------------------------------------
将 SBL 引导文件刷写到 OSPI:
setenv dfu_alt_info_ospi 'tiboot3.bin raw 0x0 <size in hex>;tifs.bin raw 0x80000 <size in hex>;app raw 0x100000 <size in hex>;nor_spi raw 0x3fc0000 0x8'
>setenv dfu_alt_info ${dfu_alt_info_ospi}
>sf probe
>sf erase 0 0x400000
>dfu 0 sf 0:0>sudo dfu-util -l >sudo dfu-util -a tiboot3.bin -D <Path to sbl_xx.tiimage file> >sudo dfu-util -a tifs.bin -D <Path to tifs.bin> >sudo dfu-util -a app -D <path to app image> >sudo dfu-util -a nor_spi -D <Path to nor_spi_patterns.bin>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
将 SPL 引导文件刷写到 OSPI:
>setenv dfu_alt_info ${dfu_alt_info_ospi}
>sf probe
>sf erase 0 0x400000
>dfu 0 sf 0:0>sudo dfu-util -l >sudo dfu-util -a tiboot3.bin -D <Path to tiboot3.bin> >sudo dfu-util -a sysfw.itb -D <Path to sysfw.itb> [Only needed for J721E board] >sudo dfu-util -a tispl.bin -D <Path to tispl.bin image> >sudo dfu-util -a u-boot.img -D <Path to u-boot.img>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------