Hi all,
I'm working on my custom IMX6UL board with YOCTO sumo L4.14.98_2.3.1.
The fec function driver work fine on EVK,but it's not working on custom board with same image.
Here are some logs about fec on custom board:
root@imx6ulevk:~# fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ifconfig
eth0 Link encap:Ethernet HWaddr C4:E7:94:DF:00:00
inet6 addr: fe80::c6e7:94ff:fedf:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:11 dropped:0 overruns:0 frame:11
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4151 (4.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5760 (5.6 KiB) TX bytes:5760 (5.6 KiB)
root@imx6ulevk:~# udhcpc
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
root@imx6ulevk:~# dmesg |grep fec
fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
libphy: fec_enet_mii_bus: probed
fec 20b4000.ethernet eth0: registered PHC device 0
systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
The eth0 rx signal can't get any right packets on custom board.
The ENET2_nINT pin on KSZ8081RNB doesn't connect to Tamper6 pin on CPU, but connect to extension IO chip.
Does my problem caused by wrong connection of ENET2_nINT pin?
If the answer is yes,how to modify fec driver to fix it?