iMX6Q FEC: transmit queue 0 timed out
fugang.duan at freescale.com
fugang.duan at freescale.com
Mon Jun 2 20:22:45 PDT 2014
From: Holger Schurig <holgerschurig at gmail.com> Data: Monday, June 02, 2014 10:11 PM
> To: Russell King - ARM Linux
> Cc: linux-arm-kernel at lists.infradead.org
> Subject: Re: iMX6Q FEC: transmit queue 0 timed out
>
> > On the Microsom, I need:
> >
> > MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0xc0000000
> >
> > Does that work for you?
>
> Still works in Barebox, but in Linux:
>
> / # ifconfig eth0 192.168.233.198
> fec 2188000.ethernet eth0: MDIO write timeout fec 2188000.ethernet eth0:
> MDIO read timeout fec 2188000.ethernet eth0: MDIO write timeout fec
> 2188000.ethernet eth0: could not attach to PHY
> ifconfig: SIOCSIFFLAGS: Connection timed out / #
>
> I see that some in-Linux-tree DTS have this value, others have
> 0x4001b0a8 (one in-barebox-tree DTS has a simple 0x1b0b0). Both SION
> settings create the same error at ifup time for me. And Barebox doesn't
> care for any of them, continue to do TFTP all the time.
You can use the setting "0x4001b0a8" that SION bit set. And please make sure GPR1[21] is set ?
For imx6q/dl silicon, enet RMII mode, ANATOP/CCM supply 50Mhz clock for enet reference clock and phy like:
ANATOP enet PLL --> GPIO_16 PAD --> output 50Mhz to phy
|
|
Loopback to enet RMII reference clock
1. GPIO_16 SION bit must be set.
2. GPR1[21] must be set.
Thanks,
Andy
More information about the linux-arm-kernel
mailing list