Other Parts Discussed in Thread: AM62A7
when I try to use sf command to burn u-boot to ospi , it shows like the log. How can I boot evm from ospi ?
U-Boot 2023.04 (Dec 20 2023 - 11:33:43 +0800)
SoC: AM62AX SR1.0 HS-FS
Model: Texas Instruments AM62A7 SK
DRAM: 2 GiB (effective 4 GiB)
Core: 57 devices, 27 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
=> mtd list
List of MTD devices:
* spi-nand0
- device: flash@0
- parent: spi@fc40000
- driver: spi_nand
- path: /bus@f0000/bus@fc00000/spi@fc40000/flash@0
- type: NAND flash
- block size: 0x40000 bytes
- min I/O: 0x1000 bytes
- OOB size: 128 bytes
- OOB available: 80 bytes
- 0x000000000000-0x000008000000 : "spi-nand0"
- 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
- 0x000000080000-0x000000280000 : "ospi_nand.tispl"
- 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
- 0x000000680000-0x0000006c0000 : "ospi_nand.env"
- 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
- 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
- 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
=> mtdparts
device spi-nand0 <spi-nand0>, # parts = 7
#: name size offset mask_flags
0: ospi_nand.tiboot3 0x00080000 0x00000000 0
1: ospi_nand.tispl 0x00200000 0x00080000 0
2: ospi_nand.u-boot 0x00400000 0x00280000 0
3: ospi_nand.env 0x00040000 0x00680000 0
4: ospi_nand.env.backup0x00040000 0x006c0000 0
5: ospi_nand.rootfs 0x05fc0000 0x02000000 0
6: ospi_nand.phypattern0x00040000 0x07fc0000 0
active partition: spi-nand0,0 - (ospi_nand.tiboot3) 0x00080000 @ 0x00000000
defaults:
mtdids :
mtdparts:
=> ls mmc 1
1312287 tispl.bin
346386 tiboot3.bin
1115019 u-boot.img
574 uEnv.txt
System Volume Information/
3795811 RemovableMediaAccessUtility.exe
834088 RemovableMediaAccessUtility.dmg
6 file(s), 1 dir(s)
=> fatload mmc 1 ${loadaddr} tiboot3.bin
346386 bytes read in 34 ms (9.7 MiB/s)
=> sf probe
=> sf erase 0x0 0x80000
ERROR: attempting erase past flash size (0x40)
=> sf write ${loadaddr} 0x0 ${filesize}
Size exceeds partition or device limit
=>