imx6ull dual lan8720a cannot use fec1

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

imx6ull dual lan8720a cannot use fec1

1,116 Views
cyndent
Contributor I

My board is imx6ull with two lan8720a phy.The dts file i have modified for two weeks but still cannot use the second ethernet phy.But sometime it work well for both two ethernet phy.

I have checked the clk pin.It output 50Mhz pwm.

the reset pins are right.but when i high or lower level on reset pin of the second phy,there is no logs printed..

Can somebody help me about this problem?

Labels (1)
0 Kudos
4 Replies

827 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mingyang

one can check PHY IDs as in case below

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

Also if sometimes it works reason may be poor connections, one can try to resolder

lan8720a phy.

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

0 Kudos

827 Views
cyndent
Contributor I

Hi igor

i have check about PHY id and they are correct in dts file.

and i have both 6ul board and 6ull board, they are both dual ethernet phy, and the eth1 of them can not work via these kernel.  i'm sure 6ul board works well in other kernel that i do not get the source code...

i have read about the link you show above, there is somethings missing in my mach-imx6ul.c, but after fixing it,it's still the same.

should i add new phy_fixup function to replace ksz8081? i'm using lan8720a, and i'm a beginner of dts,  where can i get more infomation about how to modify dts?

and each time i use eth1 it 'll report error show:

[ 280.330311] pc : [<c056c618>] lr : [<c068d3e0>] psr: 60000013
[ 280.336599] sp : d863b8f0 ip : d863b910 fp : d863b90c
[ 280.341845] r10: 00000007 r9 : 00000012 r8 : 00000000
[ 280.347091] r7 : 00000012 r6 : 00000010 r5 : 00000004 r4 : 00000010
[ 280.353640] r3 : c068d3b4 r2 : 00000012 r1 : 00000004 r0 : 00000010

Can you give me some advises about these?Thanks!

0 Kudos

827 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mingyang

one can try with latest nxp kernel

linux-imx - i.MX Linux kernel 

Best regards
igor

0 Kudos

827 Views
cyndent
Contributor I

Hi igor

i think i find the problem,it's about the board power-on squence, the second phy will work well after warm reboot.

but i do not know what to do next...

can you give me some suggestion about it?

Thanks

0 Kudos