Ethernet PHY KSZ9031 is not working

Antony Pavlov antonynpavlov at gmail.com
Thu Mar 3 07:21:35 PST 2016


On Thu, 3 Mar 2016 14:47:26 +0100
gianluca <gianlucarenzi at eurek.it> wrote:

> On 03/03/2016 02:52 PM, Antony Pavlov wrote:
> 
> Before digging on the Datasheet for the explanation of all MII PHY 
> registers, here is the output of the command you wrote above:
> 
> > barebox at EK360 Eurek i.MX6 Quad:/ miitool -v -v
> > phy0: 2188000.ethernet-1: no link
> > registers for MII PHY:
> > 1140 7949 0022 1622 01e1 0000 0006 2001
> > 0000 0300 0000 0000 0000 0000 0000 3000
> > 0000 00f4 0000 0000 0000 0000 0000 0200
> > 0000 0000 0000 0028 0000 0000 0000 0301
> > product info: Micrel KSZ9031 Gigabit PHY (vendor 00:08:85, model 34 rev 2)
> > basic mode: autonegotiation enabled
> > basic status: no link


'no link' here, so please check your magnetics and RJ-45 connector.

> > capabilities: 1000baseT-FD 1000baseT-HD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> > advertising: 1000baseT-FD 1000baseT-HD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
> >
> 
> So, the link between the FEC and the PHY it is seems to working good.

KSZ9031 connects to ethernet MAC with two busses: RGMII and MDIO.

You can read PHY registers, so it seems your MDIO bus works fine,
but there is no warranty that your RGMII link actually works.

> If everything seems to be ok (speaking about registers) maybe there is 
> some issue on the RJ-45 MagJack connector.
> 
> What kind of RJ45 are you using??

Sorry, I have not noted this hardware detail for my board.
Mostly I work as a software developer.

> I am using a 1000/100/10 from Wuerth 
> Elektronic named:
> Artikelnummer / part number :
> Bezeichnung :
> description :
> 7499111121A
> LAN-Übertrager WE-RJ45LAN 10/100/1000 BaseT
> LAN-Transformer WE-RJ45LAN 10/100/1000 BaseT
> 


-- 
-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list