We designed a new mx6q board based on i.MX6Q-SDP. We replaced the PHY chip AR8031 with RTL8211F.
Our IOMUX is the same as the reference board :
In u-boot, after I set mac addr and ipaddr, I use ping command to test the ethernet:
MX6Q U-Boot > ping 192.168.2.1
FEC: Link is Up 79ad
Using FEC0 device
ping failed; host 192.168.2.1 is not alive
I can get a standard 125M Hz clock on CLK_OUT pin as ETH_REF_CLK. And the green led on RJ45 flashed very fast.
I can't get any packets using wireshark.
Below is the return of mii info command--->
MX6Q U-Boot > mii info
PHY 0x00: OUI = 0x0732, Model = 0x11, Rev = 0x06, 100baseT, FDX
PHY 0x01: OUI = 0x0732, Model = 0x11, Rev = 0x06, 100baseT, FDX
I can access RTL8211 with either adress 0 or 1, Why there are two devices?
In linux it have the same result, it indicated "PHY: 1:00 - Link is Up - 100/Full" and "PHY: 1:00 - Link is Down"
when I connect or disconnect it to network.(Our network switch is 100baseT)
The network environment is OK and the reference board's ethernet is OK with the same setting.
Who can help me?
Any advice will be appreciated.