AnsweredAssumed Answered

IMX6UL ethernet does work in u-boot but it doesn't with Kernel 3.14.38

Question asked by Alberto Lubeiro on Mar 15, 2016
Latest reply on May 10, 2016 by Harvey Dueck

Hi everybody,

My partner Goiatz Leibar and me are facing this issue.

First of all, say we have a customized board with the IMX6UL processor. and with the kernel 3.14.38-6UL

The fact is that we got ethernet working in u-boot but not in kernel.

We use ENET1 and as we also use the GPIO1_IO06 and GPIO1_IO07 for other purposses, the MDIO and MDC are in "ENET2_RX_DATA0 and ENET2_RX_DATA1"

 

In U-BOOT (working fine)

This are the chages so ethernet works in u-boot.

We select FEC 0, (mx6ul_14x14_evk.h)

We change the MDIO and MDC pins (mx6ul_14x14_evk.c)

In Kernel

But when we try to make it works in kernel, we do the following with no succsses

In kernel's device tree (imx6ul14x14-evk.dts):

We disable FEC2 and we also add our board pins

 

 

 

 

Once the system has booted, we make an "ifconfig -a" and here you can see how MAC address is the one we asigned before in u-boot.

 

 

Please find attached the .log file when the board boots

Original Attachment has been moved to: Custom_boot.txt.zip

Outcomes