Tool/software: Linux
Hello,
My customers make their custom board with a combination of AM3352 and DP83822.
They have been trying the Ethernet PHY loopback test and using ping command in u-boot as a test; however, the test failed (ping command is TIMEOUT).
Could you tell me whether u-boot has a feature to achieve loopback test?
Or, could you tell me another way to complete the loopback test in u-boot?
The followings are condition:
-Processor SDK of Linux v04.00.00.04 is used as their system OS.
-In case the ping command is sent from AM3352 to a competitor, the command succeed.
-Only the case of the loopback test in Ethernet PHY fails.
-They are referring snla266 to set the PHY into the loopback mode.
-The u-boot commands are following.
=> mii write 1 1f 8000
=> mii read 1 1f
0000
=> mii write 1 0 6100
=> mii read 1 0
6100
=> mii write 1 1f 4000
=> mii read 1 1f
0000
=> mii read 1 0
6100
=> setenv ipaddr 192.168.101.1
=> setenv netmask 255.255.255.0
=> ping 192.168.101.1
cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
Using cpsw device
ARP Retry count exceeded; starting again ping failed; host 192.168.101.1 is not alive
Best Regards,
Nomo