[help] PHY driver : Unable to find a PHY (unknown ID?)

Mylene Josserand Mylene.Josserand at navocap.com
Mon Jan 7 08:56:52 EST 2013


Hi Eric Bénard,


Thank you very much for your answer and your help !


Le 04/01/2013 14:28, Eric Bénard a écrit :
> Hi Mylène,
>
> Le Fri, 4 Jan 2013 13:46:15 +0100,
> "Mylene Josserand"<Mylene.Josserand at navocap.com>  a écrit :
>> I will search deeper in the code the possible problem but if you have an
>> idea of it, do not hesitate !
>>
> did you check :
> - the pin mux is properly configured for MII operations (on the right
>    pins connected to the PHY of course),

I will check that !

> - the reset pin is deasserted before probing the PHY,
> - the FEC's clock is enabled,


I checked and the clock is enabled.

>
> Last thing, if you set phy_addr = -1, then IIRC the PHY address will be
> probed automatically.

I tried it and it fixes the problem ! Maybe the phy_adress was not 1 as 
Thomas Petazonni indicated but according to LAN8700 documentation, it 
should. I will search which phy_address is currently the good one.

Anyway, thank you Thomas Petazonni and Eric Bénard for your help !

>
> Best regards,
> Eric

Best regards,

-- 
Mylène JOSSERAND


More information about the barebox mailing list