We designed a custom board based on IMX6UL. Everything works well except the ENET (phy chip: KSZ8081RNB).
We got a very high error / frame rates (around 30-50%)in "ifconfig". Error number is always the same as frame's and it is rx_crc_error. The board takes about 5 mins to get an IP from our router. We checked the cable and router and they both are good. We also checked "ethtool eth0". Please see the logs below.
Do you have any ideas that why the error rate is so high ?
eth0 Link encap:Ethernet HWaddr CE:AC:A1:03:EA:CB
inet addr:192.168.66.80 Bcast:192.168.66.255 Mask:255.255.255.0
inet6 addr: fe80::ccac:a1ff:fe03:eacb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:130 errors:15 dropped:0 overruns:0 frame:15
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:18661 (18.2 KiB) TX bytes:23404 (22.8 KiB)
root@BlueHub-1FAC:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Supports Wake-on: g
Link detected: yes