Hi TI team:
Based on project requirements, I want the board to boot from OSPI after flashing by dfu-util.
I followed the steps below,
And, I got logs,
~/auto_test/auto_test_project/tda4$ sudo dfu-util -l [sudo] password for chaos: dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ Found DFU: [0451:6163] ver=0200, devnum=21, cfg=1, intf=0, path="1-1", alt=1, name="SocId", serial="01.00.00.00" Found DFU: [0451:6163] ver=0200, devnum=21, cfg=1, intf=0, path="1-1", alt=0, name="bootloader", serial="01.00.00.00" ~/auto_test/auto_test_project/tda4$ sudo dfu-util -R -a bootloader -D tiboot3.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from PC to DFU device Download [=========================] 100% 288997 bytes Download done. DFU state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! dfu-util: can't detach Resetting USB to switch back to Run-Time mode ~/auto_test/auto_test_project/tda4$ sudo dfu-util -R -a sysfw.itb -D sysfw.itb dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 269014 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to Run-Time mode ~/auto_test/auto_test_project/tda4$ sudo dfu-util -R -a tispl.bin -D tispl.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 978688 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to Run-Time mode ~/auto_test/auto_test_project/tda4$ sudo dfu-util -R -a u-boot.img -D u-boot.img dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #1 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 1263752 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to Run-Time mode ~/auto_test/auto_test_project/tda4$ sudo dfu-util -l dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=5, name="rootfs", serial="0000000000001241" Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=4, name="sysfw.itb", serial="0000000000001241" Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=3, name="u-boot-env", serial="0000000000001241" Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=2, name="u-boot.img", serial="0000000000001241" Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=1, name="tispl.bin", serial="0000000000001241" Found DFU: [0451:6163] ver=0224, devnum=25, cfg=1, intf=0, path="1-1", alt=0, name="tiboot3.bin", serial="0000000000001241" ~/auto_test/auto_test_project/tda4$ sudo dfu-util -a tiboot3.bin -D tiboot3.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 288997 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! ~/auto_test/auto_test_project/tda4$ sudo dfu-util -a tispl.bin -D tispl.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #1 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 978688 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! ~/auto_test/auto_test_project/tda4$ sudo dfu-util -a u-boot.img -D u-boot.img dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #2 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 1263752 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! ~/auto_test/auto_test_project/tda4$ sudo dfu-util -a sysfw.itb -D sysfw.itb dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 0451:6163 Device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Interface #4 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 269014 bytes Download done. DFU state(7) = dfuMANIFEST, status(0) = No error condition is present DFU state(2) = dfuIDLE, status(0) = No error condition is present Done! ~/auto_test/auto_test_project/tda4$
U-Boot SPL 2021.01 (Aug 08 2022 - 18:00:54 +0800) Model: Texas Instruments J721E SK R5 Board: J721EX-EAIK rev A1 SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') Trying to boot from DFU ################################################DOWNLOAD ... OK Ctrl+C to exit ... init_env from device 18 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.5(release):08.01.00.006-dirty NOTICE: BL31: Built : 21:03:57, Mar 23 2022 U-Boot SPL 2021.01 (Aug 08 2022 - 18:00:49 +0800) Model: Texas Instruments J721E SK A72 Board: J721EX-EAIK rev A1 SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') Trying to boot from DFU cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61) cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -22) cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200) cdns-usb3-peripheral usb@6000000: Initialized ep0 support: cdns-usb3-peripheral usb@6000000: Initialized ep1out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep1in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15in support: BULK, INT ISO ##########DOWNLOAD ... OK Ctrl+C to exit ... U-Boot 2021.01 (Aug 08 2022 - 18:00:49 +0800) SoC: J721E SR1.1 Model: Texas Instruments J721E SK A72 Board: J721EX-EAIK rev A1 DRAM: 4 GiB Flash: 0 Bytes MMC: sdhci@4fb0000: 1 In: serial@2800000 Out: serial@2800000 Err: serial@2800000 am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000 Net: eth0: ethernet@46000000port@1 Hit any key to stop autoboot: 0 => => env default -f -a ## Resetting to default environment => saveenv Saving Environment to FAT... OK => setenv dfu_alt_info ${dfu_alt_info_ospi} => dfu 0 sf 0:0 cadence_spi spi@47040000: Can't get reset: -2 jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet. k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235 k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61) cdns,sierra serdes@5030000: sierra probed cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200) cdns-usb3-peripheral usb@6000000: Initialized ep0 support: cdns-usb3-peripheral usb@6000000: Initialized ep1out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep1in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15in support: BULK, INT ISO ###DOWNLOAD ... OK Ctrl+C to exit ... ########DOWNLOAD ... OK Ctrl+C to exit ... ##########DOWNLOAD ... OK Ctrl+C to exit ... ###DOWNLOAD ... OK Ctrl+C to exit ...
It seems like everything's done successfully, but when I changed the start mode to OSPI and power on, the board was not in u-boot and nothing print in the MAIN UART window even though I restarted the board for many times.
For reference, in the same board, with the same files, when I flashed the OSPI by following steps, it works, and the board could boot from OSPI.
Is there anything I did was wrong when I boot from OSPI after flashing by dfu-util? Could anyone give me some advice?
Thank you very much!