Tool/software:
Hi AM62x Champ !
As you can see from the original thread, the customer has been unable to resolve the issue for a long time and is considering replacing the Eth PHY IC with a third-party product.
So I'm hoping that the issue will be resolved on boards with the original PHY, but I don't see any progress.
If you do “ifconfig eth0 down” in the shell, the network phy of the kernel will be set to power-done mode in the last information part of each process.
This means that the linux kernel phy driver will set bit-11 of the BMCR, which will cause the issue mentioned below.
Also, this phenomenon occurs even if PHY-0 is put into RESET state using GPIO pin.
When the register of PHY-1 is read in this state, an abnormal value is read.
Since the PHY STATUS REGISTER returns an abnormal value, ETH1 is net down and also fails to operate normally.
It is difficult for me to know whether the actual PHY READ/WRITE operation is the problem or the status inside the PHY is the problem, but it seems that the status inside the PHY has changed rather than the READ/WRITE operation because it is the same even when the MDIO-BUS of PHY-1 is separated as GPIO.
To release this phenomenon, set BIT-11 to 0 to release it, or in case of RESET using GPIO, release RESET and reinitialize NETWORK, and it will work normally.
In other words, it seems to occur in POWER-DOWN MODE using REGISTER or in RESET state by RESET SIGINAL of PHY.
Please review their attached their dts file,
If this issue is caused by setting BMCR bit11 on ‘ifconfig eth0 down’ command, please let us know how we can improve it.
Thanks.
Regards,
Jack