imx6q fec driver ar8031 phy bcm50610

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q fec driver ar8031 phy bcm50610

2,229 Views
lengyu
Contributor I

Our imx6q customer board, we used the broadcom bcm50610 instead the AR8031 phy chip (RGMII interface). After we boot, we find in our shell command we can not execute the ping command and we find the RFMII_TX_CTL not have signals.

The log as follows:

root@freescale ~$ ifconfig

root@freescale ~$ ifconfig eth0 192.168.0.127 up

eth0: Freescale FEC PHY driver [Broadcom BCM50610] (mii_bus:phy_addr=1:18, irq=-1)

root@freescale ~$ PHY: 1:18 - Link is Up - 100/Full

root@freescale ~$

root@freescale ~$ ping 192.168.0.102

PING 192.168.0.102 (192.168.0.102): 56 data bytes

--- 192.168.0.102 ping statistics ---

7 packets transmitted, 0 packets received, 100% packet loss

root@freescale ~$ ifconfig

eth0      Link encap:Ethernet  HWaddr 00:01:02:03:04:05 

          inet addr:192.168.0.127  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:21295 errors:0 dropped:4 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1897748 (1.8 MiB)  TX bytes:5516 (5.3 KiB)

root@freescale ~$ ifconfig eth0 down

fec_stop : Graceful transmit stop did not complete !

root@freescale ~$

Who can help us, TKS.

0 Kudos
2 Replies

791 Views
jamesbone
NXP TechSupport
NXP TechSupport

I agree,  you need to add the driver for the new PHY you can find some like :

http://patchwork.ozlabs.org/patch/7010/


Have a great day,
Jaime

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

791 Views
niklasmolin
Senior Contributor I

Hi Li.

Did you manage to figure this thing out?

Did you have to change any of the code (except for some MDIO command) to handle the Broadcom PHY?

Best regards,

Niklas

0 Kudos