Hi TI members,
We plan to connect TDA4 to a switch through SGMII in main domain.
In order to test the SGMII function, I tried to run cpsw_loopback_test on EVM first.
Here is what I did:
1. build cpsw_loopback_testapp in psdkra_0602
2. copy cpsw_loopback_testapp_mcu2_0_release.xer5f to rootfs/lib/firmware/
3. create soft link j7-main-r5f0_0-fw pointing to cpsw_loopback_testapp_mcu2_0_release.xer5f
ln -bs /lib/firmware/cpsw_loopback_testapp_mcu2_0_release.xer5f j7-main-r5f0_0-fw
Then, I reboot the EVM, but it seems that nothing changed or happened.
Below is part of the boot log.
U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:46:23 +0000)
SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment
Remoteproc 2 started successfully
Starting ATF on ARM64 core...
NOTICE: BL31: v2.2(release):ti2019.05-rc1
NOTICE: BL31: Built : 09:32:00, Feb 17 2020
I/TC:
I/TC: OP-TEE version: ti2019.05-rc1-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Feb 17 09:40:16 UTC 2020 aarch64
I/TC: Initialized
U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2
U-Boot 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)
SoC: J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E7
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: eth0: ethernet@046000000
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
** Unable to read file boot.scr **
81 bytes read in 1 ms (79.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
86984 bytes read in 11 ms (7.5 MiB/s)
Load Remote Processor 3 with data@addr=0x80080000 86984 bytes: Success!
86984 bytes read in 5 ms (16.6 MiB/s)
Load Remote Processor 4 with data@addr=0x80080000 86984 bytes: Success!
147084 bytes read in 5 ms (28.1 MiB/s)
Load Remote Processor 6 with data@addr=0x80080000 147084 bytes: Success!
147084 bytes read in 4 ms (35.1 MiB/s)
Load Remote Processor 7 with data@addr=0x80080000 147084 bytes: Success!
8393788 bytes read in 180 ms (44.5 MiB/s)
Load Remote Processor 8 with data@addr=0x80080000 8393788 bytes: Success!
13338632 bytes read in 486 ms (26.2 MiB/s)
99354 bytes read in 11 ms (8.6 MiB/s)
72 bytes read in 2 ms (35.2 KiB/s)
3973 bytes read in 2 ms (1.9 MiB/s)
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Loading Device Tree to 00000000fdda3000, end 00000000fdebefff ... OK
Starting kernel ...
...
Did I misunderstand anything here?
Best regards,
Eric Chen