AnsweredAssumed Answered

i.mx6, KSZ9021 fail to ping

Question asked by 周之武田 on Apr 22, 2018
Latest reply on Apr 23, 2018 by 周之武田

Hello
I have a i.MX6 solo custom board and KSZ9021 phy
Succeed to communicate loopback to ethernet switch by phy i/f in mii level which use on u boot.
But, Occur the ping error.

I found the best of skew with the following command.

mii write 1 b 8104
mii write 1 c 1010 -> I tried these 2020 3030 ... f0f0

But, ping fails once every ten times.
What should I do?

Thanks

 

sing FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
error frame: 0x16f7a420 0x00000804
ping failed; host 192.168.11.1 is not alive
=> ping 192.168.11.1
Using FEC device
some error: 0x4c000000
error frame: 0x16f7a420 0x00000884
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
host 192.168.11.1 is alive
=> ping 192.168.11.1
Using FEC device
error frame: 0x16f7a420 0x00000804
ping failed; host 192.168.11.1 is not alive

Outcomes