Hi TI members,
Our custom board has TDA4 connected to an external ethernet switch through SGMII.
We are using Linux + RTOS, and SGMII works fine in SDK 6.2.
I have tried some modification from this post and this post.
However, the SGMII link is never up in SDK 7.0.
Could pinmux be the problem?
Here is the value of SGMII status for port 1.
root@j7-evm:~# devmem2 0x0c000214 /dev/mem opened. Memory mapped at address 0xffffa2390000. Read at address 0x0C000214 (0xffffa2390214): 0x00000030
In SDK 6.2, the value is 0x00000031.
Here is the log of ethfw.
Enabling clocks for CPSW_9G! CPSW_9G Test on MAIN NAVSS CpswMacPort_configSgmii: MAC 1: Configuring SGMII in SGMII_FORCEDLINK mode Remote demo device (core : mcu2_0) ..... Host MAC address: 70:ff:76:1d:91:cd Host MAC address: 70:ff:76:1d:91:cd [NIMU_NDK] CPSW has been started successfully CPSW NIMU application, IP address I/F 1: 192.168.1.203 Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:1 Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a212c53c,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:91:cc, FlowIdx:172, FlowIdxOffset:0 Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:11, Policer Entry:0Function:CpswProxyServer_registerIpv4MacHandlerCb,HostId:0,Handle:a212c53c,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:91:cc IPv4Addr:192.168.1.3 ================LLI Table entries=========== Number of Static ARP Entries: 1 SNo. IP Address MAC Address ------ ------------- --------------- 1 192.168.1.3 70:FF:76:1D:91:CC
Best regards,
Eric Chen