Hi,
we are using the TDA4X-TI board.
Not able to boot the board from the OSPI. it is loading in the EMMC
1. flashed the specified images into the OSPI
2. powered of the board and changed the switch
sw3 0XXXXXXXXX
S8 00000000
S9 01000000
3. rebooted the board
Logs:
=> sf probe => tftp ${loadaddr} tiboot3.bin => sf update $loadaddr 0x0 $filesize => tftp ${loadaddr} tispl.bin => sf update $loadaddr 0x80000 $filesize => tftp ${loadaddr} u-boot.img => sf update $loadaddr 0x280000 $filesize => tftp ${loadaddr} sysfw.itb => sf update $loadaddr 0x6C0000 $filesize
> setenv ipaddr 192.168.1.3
=> setenv serverip 192.168.1.2
=> setenv netmask 255.255.255.0
=> saveenv
Saving Environment to FAT... OK
=> tftp ${loadaddr} tiboot3.bin
am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.3
Filename 'tiboot3.bin'.
Load address: 0x82000000
Loading: ####################
2.7 MiB/s
done
Bytes transferred = 287460 (462e4 hex)
=> sf update $loadaddr 0x0 $filesize
device 0 offset 0x0, size 0x462e4
0 bytes written, 287460 bytes skipped in 0.15s, speed 16353280 B/s
=> tftp ${loadaddr} tispl.bin
am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.3
Filename 'tispl.bin'.
Load address: 0x82000000
Loading: #############################################################
3.6 MiB/s
done
Bytes transferred = 891796 (d9b94 hex)
=> sf update $loadaddr 0x80000 $filesize
device 0 offset 0x80000, size 0xd9b94
891796 bytes written, 0 bytes skipped in 1.948s, speed 468067 B/s
=> tftp ${loadaddr} u-boot.img
am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.3
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#####################
3 MiB/s
done
Bytes transferred = 1249280 (131000 hex)
=> sf update $loadaddr 0x280000 $filesize
device 0 offset 0x280000, size 0x131000
1249280 bytes written, 0 bytes skipped in 2.795s, speed 457042 B/s
=> tftp ${loadaddr} sysfw.itb
am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.3
Filename 'sysfw.itb'.
Load address: 0x82000000
Loading: ###################
3.7 MiB/s
done
Bytes transferred = 268990 (41abe hex)
=> sf update $loadaddr 0x6C0000 $filesize
device 0 offset 0x6c0000, size 0x41abe
268990 bytes written, 0 bytes skipped in 0.803s, speed 341744 B/s
=> sf probe
SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
=>
boot loogs.
=============
U-Boot SPL 2021.01-00004-gc57d986ee4 (Oct 01 2021 - 09:40:50 +0530)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from SPI
Starting ATF on ARM64 core...
NOTICE: BL31: v2.5(release):08.00.00.004-dirty
NOTICE: BL31: Built : 22:30:09, Aug 4 2021
U-Boot SPL 2021.01-00004-gc57d986ee4 (Oct 01 2021 - 09:39:42 +0530)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from SPI
cadence_spi spi@47040000: Can't get reset: -2
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
U-Boot 2021.01-00004-gc57d986ee4 (Oct 01 2021 - 09:39:42 +0530)
SoC: J721E SR2.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
DRAM: 4 GiB
Flash: 0 Bytes
MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net: am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
eth0: ethernet@46000000
Hit any key to stop autoboot: 0
MMC: no card present
mmc_init: -123, time 2002
SD/MMC found on device 1
MMC: no card present
mmc_init: -123, time 2002
MMC: no card present
mmc_init: -123, time 2002
MMC: no card present
mmc_init: -123, time 2002
MMC: no card present
mmc_init: -123, time 2002
MMC: no card present
mmc_init: -123, time 2002
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
=>
Regards,
Viswa