Hi TI
There's request that Customer wants to resolve an issue regarding CPSW5G working.
Customer found an issue even though they followed the steps what was introduced from original thread.
- set dorprocboot = 1
- set do_main_cpsw0_qsgmii_phyinit = 1
- save env
- boot
The following symptoms are observed.
Symptom 1. Only Bottom – P0 does not operate after booting by connecting to Bottom – P0 or connecting to another port before connecting to Borrom - P0.
Symptom 2. If you connect the cable connected to the other port to Bottom – P0, the system becomes stuck or ping does not work.
Symptom 3. After connecting to Bottom – P0, system hang when ifconfig eth1 down or reboot -f.
4. According to log message, EnetPhy_bindDriver: PHY 16: OUI:3fffff Model:3f Ver:0f <-> 'generic': Okay, Their though is that the chip information can not be read.
6) root@j7200-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc*/trace0
7) Starting Sciserver..... PASSED
8) IPC_echo_test (core : mcu1_0) .....
9) IPC Driver Revision: 01.00.00.01
10) mcu1_0 <--> mcu2_1, Ping- 10000, pong - 10000 completed
11) =======================================================
12) CPSW Ethernet Firmware
13) =======================================================
14) CPSW_5G Test on MAIN NAVSS
15) EnetPhy_bindDriver: PHY 16: OUI:3fffff Model:3f Ver:0f <-> 'generic' : OK
16) EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
17) EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
18) EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
19) PHY 0 is alive
20) PHY 3 is alive
21) PHY 16 is alive
22) PHY 17 is alive
23) PHY 18 is alive
24) PHY 19 is alive
25) PHY 23 is alive
26)
27) ETHFW Version : 0.01.01
28) ETHFW Build Date: Jul 13, 2021
29) ETHFW Build Time: 15:43:32
30) ETHFW Commit SHA: 4cb38131
31)
32) Starting lwIP, local interface IP is dhcp-enabled
33) Host MAC address: 70:ff:76:1d:92:c2
34) [LWIPIF_LWIP] NETIF INIT SUCCESS
35) Added interface 'ti1', IP is 0.0.0.0
36) IPC_echo_test (core : mcu2_0) .....
37) Remote demo device (core : mcu2_0) .....
38) CpswMacPort_checkSgmiiStatus: MAC 2: SGMII link parter config port: link up: 1-Gbps Full-Duplex
39) Cpsw_handleLinkUp: Port 2: Link up: 1-Gbps Full-Duplex
40) Added interface 'ti1', IP is 192.168.0.4
41) EthFw: TimeSync PTP enabled
42) Rx Flow for Software Inter-VLAN Routing is up
43) REMOTE_SERVICE: Init ... !!!
44) REMOTE_SERVICE: Init ... Done !!!
45) Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:5
46) Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a287c00c,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1, FlowIdx:84, FlowIdxOffset:0
47) Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:10, Policer Entry:3IPC_echo_test (core : mcu2_1) .....
48) IPC Driver Revision: 01.00.00.01
49) mcu2_1 <--> mcu1_0, Ping- 10000, pong - 10000 completed
50) root@j7200-evm:~# [ 33.867405] vdd_mmc1: disabling
- root@j7200-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc*/trace0
- Starting Sciserver..... PASSED
- IPC_echo_test (core : mcu1_0) .....
- IPC Driver Revision: 01.00.00.01
- mcu1_0 <--> mcu2_1, Ping- 10000, pong - 10000 completed
- =======================================================
- CPSW Ethernet Firmware
- =======================================================
- CPSW_5G Test on MAIN NAVSS
- EnetPhy_bindDriver: PHY 16: OUI:3fffff Model:3f Ver:0f <-> 'generic' : OK
- EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
- EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
- EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
- PHY 0 is alive
- PHY 3 is alive
- PHY 16 is alive
- PHY 17 is alive
- PHY 18 is alive
- PHY 19 is alive
- PHY 23 is alive
- ETHFW Version : 0.01.01
- ETHFW Build Date: Jul 13, 2021
- ETHFW Build Time: 15:43:32
- ETHFW Commit SHA: 4cb38131
- Starting lwIP, local interface IP is dhcp-enabled
- Host MAC address: 70:ff:76:1d:92:c2
- [LWIPIF_LWIP] NETIF INIT SUCCESS
- Added interface 'ti1', IP is 0.0.0.0
- IPC_echo_test (core : mcu2_0) .....
- Remote demo device (core : mcu2_0) .....
- CpswMacPort_checkSgmiiStatus: MAC 2: SGMII link parter config port: link up: 1-Gbps Full-Duplex
- Cpsw_handleLinkUp: Port 2: Link up: 1-Gbps Full-Duplex
- Added interface 'ti1', IP is 192.168.0.4
- EthFw: TimeSync PTP enabled
- Rx Flow for Software Inter-VLAN Routing is up
- REMOTE_SERVICE: Init ... !!!
- REMOTE_SERVICE: Init ... Done !!!
- Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:5
- Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a287c00c,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1, FlowIdx:84, FlowIdxOffset:0
- Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:10, Policer Entry:3IPC_echo_test (core : mcu2_1) .....
- IPC Driver Revision: 01.00.00.01
- mcu2_1 <--> mcu1_0, Ping- 10000, pong - 10000 completed
root@j7200-evm:~# [ 33.867405] vdd_mmc1: disabling
Symptom 5. Sometimes The size of rootfs becomes 0 when set dorprocboot = 1
Kernel boot fails after set dorprocboot = 1 on uboot prompt,
And the size of rootfs is identified as 0 when checking with 'ls mmc 0:2' command on uboot
Please check these issues regarding CPSW5G' Bottom-P0 Port.
Thanks.
Regards,
Jack