Tool/software:
Hi Ti
Now I use OSPI boot mode
1、I use dfu flash the spi flash
# These first set of steps are optional if you have u-boot running on the board already
HOST $ sudo dfu-util -l
HOST $ sudo dfu-util -R -a bootloader -D <PATH_TO_BIN>/tiboot3.bin
HOST $ sudo dfu-util -R -a tispl.bin -D <PATH_TO_BIN>/tispl.bin
HOST $ sudo dfu-util -R -a u-boot.img -D <PATH_TO_BIN>/u-boot.img
# At this point, the u-boot will start executing. Halt at the u-boot prompt (u-boot logs will
appear on the MAIN UART 1st instance)
TARGET => env default -f -a
TARGET => saveenv
TARGET => setenv dfu_alt_info ${dfu_alt_info_ospi}
TARGET => dfu 0 sf 0:0
# This does the actual flashing to OSPI flash
HOST $ sudo dfu-util -l
HOST $ sudo dfu-util -a tiboot3.bin -D <PATH_TO_BIN>/tiboot3.bin
HOST $ sudo dfu-util -a tispl.bin -D <PATH_TO_BIN>/tispl.bin
HOST $ sudo dfu-util -a u-boot.img -D <PATH_TO_BIN>/u-boot.img
it is ok
2、 Then I change boot mode use OSPI boot mode
the board boot failed , it stop at QSPI: QSPI is still busy after poll for 5000 ms.
3 、there are the flash log and boot log , you can check it
U-Boot SPL 2025.01-gd2a72467939e (Aug 04 2025 - 12:05:11 +0800)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.2--v11.01.02 (Fancy Rat)')
SPL initial stack usage: 17088 bytes
Trying to boot from DFU
dwc3-am62 usb@f900000: unable to get ti,syscon-phy-pll-refclk regmap
#######################################################################DOWNLOAD ... OK
Ctrl+C to exit ...
#######################################################################DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OK
init_env from device 10 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-240-gd90bb650fe-dirty
NOTICE: BL31: Built : 21:37:18, Jun 23 2025
U-Boot SPL 2025.01-gd2a72467939e (Aug 04 2025 - 12:05:43 +0800)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.2--v11.01.02 (Fancy Rat)')
DM ABI: 3.0 (firmware ver 0x000b 'MSDK.11.01.00.05-dirty--v11.01.02' patch_ver: 2)
SPL initial stack usage: 1984 bytes
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:1
Error: could not access storage.
Trying to boot from DFU
dwc3-am62 usb@f900000: unable to get ti,syscon-phy-pll-refclk regmap
######DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
U-Boot 2025.01-gd2a72467939e (Aug 04 2025 - 12:05:43 +0800)
SoC: AM62PX SR1.0 HS-FS
Model: Texas Instruments AM62P5 SK
DRAM: 2 GiB (total 8 GiB)
Core: 97 devices, 32 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@8000000port@1
Warning: ethernet@8000000port@2 (eth1) using random MAC address - 9e:c7:8b:2f:1a:a3
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
=>
=>
=>
=>
=> env default -f -a
## Resetting to default environment
=> sf erase 0x0 0x3800000
No SPI flash selected. Please run `sf probe'
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> sf erase 0x0 0x3800000
SF: 58720256 bytes @ 0x0 Erased: OK
=> setenv dfu_alt_info ${dfu_alt_info_ospi}
=> print dfu_alt_info_ospi
dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000; tispl.bin raw 0x080000 0x200000; u-boot.img raw 0x280000 0x400000; u-boot-env raw 0x680000 0x020000; sysfw.itb r aw 0x6c0000 0x100000; rootfs raw 0x800000 0x3800000
=> dfu 0 sf 0:0
##DOWNLOAD ... OK
Ctrl+C to exit ...
######DOWNLOAD ... OK
Ctrl+C to exit ...
######DOWNLOAD ... OK
Ctrl+C to exit ...
=>
U-Boot SPL 2025.01-00535-g827c35b4d141-dirty (Jul 03 2025 - 17:34:00 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.2--v11.01.02 (Fancy Rat)')
SPL initial stack usage: 17088 bytes
Trying to boot from SPI
QSPI: QSPI is still busy after poll for 5000 ms.
Thanks