Regression: v4.0-rc1: iMX6: Hummingboard fails due to drivers/clk changes
Fabio Estevam
festevam at gmail.com
Mon Feb 23 16:25:00 PST 2015
On Mon, Feb 23, 2015 at 8:53 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> The reason appears to be a lack of packets coming out of the ethernet.
> Why that is, I'm not sure (maybe a gated GPIO16 clock to the phy?)
> Given that the phy state seems frozen - it doesn't detect the cable
> being disconnected - this seems highly likely.
>
> Looking at imx6q_1588_init(), this could be a problem:
>
> ptp_clk = of_clk_get(np, 2);
> enet_ref = clk_get_sys(NULL, "enet_ref");
> clksel = ptp_clk == enet_ref ? IMX6Q_GPR1_ENET_CLK_SEL_ANATOP :
> IMX6Q_GPR1_ENET_CLK_SEL_PAD;
>
> since ptp_clk and enet_ref will _never_ be the same pointer. Forcing
> that test to be always true fixes the problem.
You are right. With such change imx6q-hummingboard can NFS mount (and
so does imx6q-sabresd).
More information about the linux-arm-kernel
mailing list