AnsweredAssumed Answered

uboot not able to read phy id during boot time

Question asked by sameerarvikar on Jun 16, 2017
Latest reply on Jun 18, 2017 by igorpadykov

I am working on a custom board having imx6 processor

using vsc8502 phy

I am getting the error phy 25 not found in uboot,

After adding some print statements in phy.c ,i found that its happening because ,uboot is not able to read phy_id(70630) i.e register 0x2 and 0x3 of phy ,

so its (get_phy_id function ) returns ffffffff and hence this error (phy not found comes)

however as uboot booting completes I can read and write phy registers ,i can use mii command to read 0x2 and 0x3 register of phy

mii read 0x19 0x2

0007

mii read 0x19 0x3

0631

why is this happening and how can i ensure that phy registers are read at boot time

Outcomes