We are building our custom board based on EVM board. In our board we are using PEF 7071 for Ethernet PHY.
To test the Ethernet, I am using ping test from a windows machine.
The board booted with Linux and nothing other than Linux is on board (no user application).
On some systems I can ping the board for 10-20 minutes and then it stops and the ping from windows report device timeout.
I can see in windows that the network cable is connected.
On board I can see that link is up and Linux is not complaining anything.
when the problem starts, I can not ping any device from Linux (for example I can not ping Windows system)
One some boards this is happening after 1 or 2 minutes and on some other boards it happens after 10-20 minutes and on boards a very long time ( we recorded several hours too).
On one board the time that it fails is not constant, sometime very quick and some time a bit longer.
When the Ethernet connection went down, There is no way to restore connection other than turnoff/on the system or unplug and re-plug the Ethernet cable.
I can see that it s not a software problem, since if after failure, I reboot (without power recycle) the Linux on board, the problem still persist.
My questions:
Is there any way that I can test PHY via UBoot or Linux? I want to put the PHY into different ways of loopback and test the board after it fails and see what is the source of problem.
when I am trying to test the Ethernet using ethtools, I am getting error that test is not supported.
I noted that EVM board changed its PHY in revision B, but there is no information on why they did this changes and what was the changes.