TI中文支持网
TI专业的中文技术问题搜集分享网站

PROCESSOR-SDK-J721E: tda4 cpsw9g ethernet does not work

Part Number:PROCESSOR-SDK-J721E

Hi TI support team,

I use the PROCESSOR SDK 7.3  linux+rtos. I need to use the RGMII1 and RGMII2.

When I manually config the IP for eth0 on A72 side,it will show the errors as below.

Could you show me how to debug it?

root@j7-evm:~# ifconfigeth0      Link encap:Ethernet  HWaddr 70:FF:76:1D:92:C1   
         inet6 addr: fe80::72ff:76ff:fe1d:92c1/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000  
         RX bytes:0 (0.0 B)  TX bytes:4460 (4.3 KiB)lo        Link encap:Local Loopback   
         inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:82 errors:0 dropped:0 overruns:0 frame:0          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000  
         RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)root@j7-evm:~# [  126.359475] Initializing XFRM netlink socket[  129.985335] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to l
oad br_netfilter if you need this.[  129.999281] Bridge firewalling registeredroot@j7-evm:~# ifconfig eth0 192.168.3.111 netmask 255.255.254.0[ 1196.047014] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: register_ipv4 rpmsg – fail -5[ 1196.056088] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: unregister_ipv4 rpmsg – fail -5[ 1196.065457] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: register_ipv4 rpmsg – fail -5
 logs on MCU2_0:

root@j7-evm:/opt/vision_apps# [MCU2_0]      3.959023 s: CIO: Init … Done !!![MCU2_0]      3.959089 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>[MCU2_0]      3.959130 s: APP: Init … !!![MCU2_0]      3.959149 s: SCICLIENT: Init … !!![MCU2_0]      3.959339 s: SCICLIENT: DMSC FW version [21.1.1–v2021.01a (Terrific Lla][MCU2_0]      3.959374 s: SCICLIENT: DMSC FW revision 0x15   
[MCU2_0]      3.959397 s: SCICLIENT: DMSC FW ABI revision 3.1[MCU2_0]      3.959421 s: SCICLIENT: Init … Done !!![MCU2_0]      3.959441 s: UDMA: Init … !!![MCU2_0]      3.960495 s: UDMA: Init … Done !!![MCU2_0]      3.960539 s: MEM: Init … !!![MCU2_0]      3.960571 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e1000000 of size 16777216bytes !!![MCU2_0]      3.960625 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 131072 bytes !!![MCU2_0]      3.960670 s: MEM: Created heap (DDR_NON_CACHE_ME, id=5, flags=0x00000000) @ d8000000 of size 1677721
6 bytes !!![MCU2_0]      3.960714 s: MEM: Init … Done !!![MCU2_0]      3.960733 s: IPC: Init … !!![MCU2_0]      3.960762 s: IPC: 6 CPUs participating in IPC !!![MCU2_0]      3.960796 s: IPC: Waiting for HLOS to be ready … !!![MCU2_0]     16.020322 s: IPC: HLOS is ready !!![MCU2_0]     16.025970 s: IPC: appIpcCreateRpmsgRxTask ok!!![MCU2_0]     16.026518 s: ####### IPC: appIpcCreateRpmsgTxTask ok!!![MCU2_0]     16.026568 s: IPC: Init … Done !!![MCU2_0]     16.026590 s: APP: Syncing with 5 CPUs … !!![MCU2_0]     16.026626 s: APP: Syncing with 5 CPUs … Done !!![MCU2_0]     16.026653 s: REMOTE_SERVICE: Init … !!![MCU2_0]     16.028288 s: REMOTE_SERVICE: Init … Done !!![MCU2_0]     16.028353 s: ETHFW: Init … !!![MCU2_0]     16.047733 s: CPSW_9G Test on MAIN NAVSS[MCU2_0]     16.059814 s: PHY 1 is alive[MCU2_0]     16.059878 s: PHY 3 is alive[MCU2_0]     16.064416 s: ETHFW: Version   : 0.01.01 VT102 | 脱机 | ttyUSB0                                      
                                                         [MCU2_0]     16.064471 s: ETHFW: Build Date: Feb 17, 20
22[MCU2_0]     16.064499 s: ETHFW: Build Time: 16:04:22[MCU2_0]     16.064522 s: ETHFW: Commit SHA: e0cd30cd[MCU2_0]     16.064547 s: ETHFW: Init … DONE !!![MCU2_0]     16.064571 s: ETHFW: Remove server Init … !!![MCU2_0]     16.065798 s: Remote demo device (core : mcu2_0) …..[MCU2_0]     16.065855 s: ETHFW: Remove server Init … DONE !!![MCU2_0]     16.071509 s: Host MAC address: 70:ff:76:1d:92:c2[MCU2_0]     16.115070 s: FVID2: Init … !!![MCU2_0]     16.115180 s: FVID2: Init … Done !!![MCU2_0]     16.115251 s: ###appI2cInit: i2c 0 Address 0x40b00000[MCU2_0]     16.115303 s: ###appI2cInit: i2c 1 Address 0x40b10000[MCU2_0]     16.115347 s: ###appI2cInit: i2c 2 Address 0x0[MCU2_0]     16.115387 s: ###appI2cInit: i2c 3 Address 0x0[MCU2_0]     16.115426 s: ###appI2cInit: i2c 4 Address 0x0[MCU2_0]     16.115465 s: ###appI2cInit: i2c 5 Address 0x0[MCU2_0]     16.115503 s: ###appI2cInit: i2c 6 Address 0x0[MCU2_0]     16.115533 s: ##### APP: appI2cInit !!![MCU2_0]     16.115555 s: ############ APP: Init  ENABLE_DSS_EDP … !!![MCU2_0]     16.115580 s: ~~~~~~~~ DISPLAY resolution 1440X900 ~~~~~~~~~~[MCU2_0]     16.115605 s: DSS: Init … !!![MCU2_0]     16.115621 s: DSS: Display type is eDP !!![MCU2_0]     16.115640 s: DSS: SoC init … !!![MCU2_0]     16.115657 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2[MCU2_0]     16.115821 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.115854 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2[MCU2_0]     16.115988 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.116013 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2[MCU2_0]     16.116112 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.116142 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11[MCU2_0]     16.116224 s: SCICLIENT: Sciclient_pmSetModuleClkParent success[MCU2_0]     16.116251 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18[MCU2_0]     16.116316 s: SCICLIENT: Sciclient_pmSetModuleClkParent success[MCU2_0]     16.116342 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2[MCU2_0]     16.116405 s: SCICLIENT: Sciclient_pmSetModuleClkParent success[MCU2_0]     16.116430 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=106500000[MCU2_0]     16.117407 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success[MCU2_0]     16.117438 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0[MCU2_0]     16.117543 s: SCICLIENT: Sciclient_pmModuleClkRequest success[MCU2_0]     16.117570 s: DSS: SoC init … Done !!![MCU2_0]     16.117589 s: DSS: Board init … !!![MCU2_0]     16.117606 s: DSS: Board init … Done !!![MCU2_0]     16.122257 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6[MCU2_0]     16.135733 s: DSS: Init … Done !!![MCU2_0]     16.135793 s: appInit APP: Init line 690 … !!![MCU2_0]     16.135835 s: appInit APP: Init line 719 … !!![MCU2_0]     16.135863 s: VHWA: VPAC Init … !!![MCU2_0]     16.135881 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2[MCU2_0]     16.136100 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.136134 s: VHWA: LDC Init … !!![MCU2_0]     16.138951 s: VHWA: LDC Init … Done !!![MCU2_0]     16.138998 s: VHWA: MSC Init … !!![MCU2_0]     16.147183 s: VHWA: MSC Init … Done !!![MCU2_0]     16.147230 s: VHWA: NF Init … !!![MCU2_0]     16.148649 s: VHWA: NF Init … Done !!![MCU2_0]     16.148693 s: VHWA: VISS Init … !!![MCU2_0]     16.154428 s: VHWA: VISS Init … Done !!![MCU2_0]     16.154477 s: VHWA: VPAC Init … Done !!![MCU2_0]     16.154513 s:  VX_ZONE_INIT:Enabled[MCU2_0]     16.154537 s:  VX_ZONE_ERROR:Enabled[MCU2_0]     16.154558 s:  VX_ZONE_WARNING:Enabled[MCU2_0]     16.155613 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target IPU1-0  
[MCU2_0]     16.155881 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_NF  
[MCU2_0]     16.156198 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_LDC1  
[MCU2_0]     16.156471 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_MSC1  
[MCU2_0]     16.156723 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_MSC2  
[MCU2_0]     16.157001 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_VISS1  
[MCU2_0]     16.157352 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE1  
[MCU2_0]     16.157643 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE2  
[MCU2_0]     16.157944 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DISPLAY1  
[MCU2_0]     16.158311 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DISPLAY2  
[MCU2_0]     16.158587 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CSITX  
[MCU2_0]     16.158865 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE3  
[MCU2_0]     16.159207 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE4  
[MCU2_0]     16.159505 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE5  
[MCU2_0]     16.159801 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE6  
[MCU2_0]     16.160105 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE7  
[MCU2_0]     16.160396 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE8  
[MCU2_0]     16.160443 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!![MCU2_0]     16.160471 s: APP: OpenVX Target kernel init … !!![MCU2_0]     16.172438 s: APP: OpenVX Target kernel init … Done !!![MCU2_0]     16.172488 s: CSI2RX: Init … !!![MCU2_0]     16.172507 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2[MCU2_0]     16.172591 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.172620 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2[MCU2_0]     16.172712 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.172737 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2[MCU2_0]     16.172812 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.172834 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2[MCU2_0]     16.172893 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.172917 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2[MCU2_0]     16.172975 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.173650 s: CSI2RX: Init … Done !!![MCU2_0]     16.173697 s: CSI2TX: Init … !!![MCU2_0]     16.173719 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2[MCU2_0]     16.173789 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.173816 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2[MCU2_0]     16.173903 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.173927 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2[MCU2_0]     16.174002 s: SCICLIENT: Sciclient_pmSetModuleState success[MCU2_0]     16.174514 s: CSI2TX: Init … Done !!![MCU2_0]     16.174554 s: ISS: Init … !!![MCU2_0]     16.174603 s: IssSensor_Init: ret 0[MCU2_0]     16.174633 s: IssSensor_Init … Done !!![MCU2_0]     16.174708 s: vissRemoteServer_Init … Done !!![MCU2_0]     16.174761 s: IttRemoteServer_Init … Done !!![MCU2_0]     16.174788 s: UDMA Copy: Init … !!![MCU2_0]     16.176253 s: UDMA Copy: Init … Done !!![MCU2_0]     16.176304 s: APP: Init … Done !!![MCU2_0]     16.176327 s: APP: Run … !!![MCU2_0]     16.176346 s: APP: Run … Done !!![MCU2_0]     16.176391 s: ##### mcspi_slave_init: Starting SPI Slave test.  
[MCU2_0]     16.180153 s: SPI instance 4 channel 0[MCU2_0]     17.338732 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a30849fc,CoreKey:38acb7e6
, MacAddress:70:ff:76:1d:92:c1, FlowIdx:172, FlowIdxOffse0[MCU2_0]     17.341773 s: Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:13, Policer Entry:0[MCU2_0]    184.181176 s: DHCP client timed out. Retrying…..  
[MCU2_0]    352.181174 s: DHCP client timed out. Retrying…..  
[MCU2_0]    520.181193 s: DHCP client timed out. Retrying…..  
[MCU2_0]    688.181177 s: DHCP client timed out. Retrying…..  
[MCU2_0]    856.181174 s: DHCP client timed out. Retrying…..  
[MCU2_0]   1024.181177 s: DHCP client timed out. Retrying…..  
[MCU2_0]   1192.181179 s: DHCP client timed out. Retrying…..  
[MCU2_0]   1202.764369 s: Function:CpswProxyServer_registerIpv4MacHandlerCb,HostId:0,Handle:a30849fc,CoreKey:38ac
b7e6, MacAddress:70:ff:76:1d:92:c1 IPv4Addr:192.168.3.111[MCU2_0]   1202.764546 s: Failed to add Static ARP Entry  
[MCU2_0]   1202.764587 s:  
[MCU2_0] ================LLI Table entries===========  
[MCU2_0]   1202.764613 s:  
[MCU2_0] Number of Static ARP Entries: 0  
[MCU2_0]   1202.764634 s:  
[MCU2_0] SNo.      IP Address         MAC Address   
[MCU2_0]   1202.764658 s: ——    ————-      —————  
[MCU2_0]   1202.773549 s: Function:CpswProxyServer_unregisterIpv4MacHandlerCb,HostId:0,Handle:a30849fc,CoreKey:38
acb7e6,IPv4Addr:c0:a8:3:6f[MCU2_0]   1202.773655 s: Failed to add Static ARP Entry  
[MCU2_0]   1202.773693 s:  
[MCU2_0] ================LLI Table entries===========  
[MCU2_0]   1202.773720 s:  
[MCU2_0] Number of Static ARP Entries: 0  
[MCU2_0]   1202.773743 s:  
[MCU2_0] SNo.      IP Address         MAC Address   
[MCU2_0]   1202.773768 s: ——    ————-      —————  
[MCU2_0]   1202.782633 s: Function:CpswProxyServer_registerIpv4MacHandlerCb,HostId:0,Handle:a30849fc,CoreKey:38ac
b7e6, MacAddress:70:ff:76:1d:92:c1 IPv4Addr:192.168.3.111[MCU2_0]   1202.782785 s: Failed to add Static ARP Entry  
[MCU2_0]   1202.782823 s:  
[MCU2_0] ================LLI Table entries===========  
[MCU2_0]   1202.782853 s:  
[MCU2_0] Number of Static ARP Entries: 0  
[MCU2_0]   1202.782876 s:  
[MCU2_0] SNo.      IP Address         MAC Address   
[MCU2_0]   1202.782899 s: ——    ————-      —————  
[MCU2_0]   1360.181192 s: DHCP client timed out. Retrying….

Cherry Zhou:

Hi,

We've got the issue and escalated to e2e,please expect response.

Thanks!

赞(0)
未经允许不得转载:TI中文支持网 » PROCESSOR-SDK-J721E: tda4 cpsw9g ethernet does not work
分享到: 更多 (0)