I'm having a lot of issues with Ethernet working reliably on a Nitrogen i.MX8MM device. Sometimes I get a
MDIO write timeout
in the system log, otherwise the interface just goes down. I tried resetting the phy, but once Ethernet drops I have to remove power for several seconds and then reapply power. It will then work for a minute or so.
root@bionic-dev64:~# mii-tool -r eth0
restarting autonegotiation...
root@bionic-dev64:~# ifcon[ 93.852651] fec 30be0000.ethernet eth0: MDIO write timeout
fig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.110.121 netmask 255.255.255.0 broadcast 192.168.110.255
inet6 fe80::219:b8ff:fe06:af3b prefixlen 64 scopeid 0x20<link>
ether 00:19:b8:06:af:3b txqueuelen 1000 (Ethernet)
RX packets 152 bytes 17908 (17.9 KB)
RX errors 33 dropped 0 overruns 0 frame 41
TX packets 127 bytes 16411 (16.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I have Rx errors