linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ethernet phy attached to wrong driver
@ 2009-08-05 12:08 Stefan Strobl
  2009-08-07 14:57 ` Detlev Zundel
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Strobl @ 2009-08-05 12:08 UTC (permalink / raw)
  To: linuxppc-dev

Hi

I'm having trouble with my Ethernet device on a TQM5200 based board with
LXT971 Phy. I'm running U-Boot 2009.03 and a Kernel 2.6.30.

When doing a ping under U-Boot before booting into Linux, Ethernet works
fine in Linux also. Dmesg reads:
[  262.369444] net eth0: Using PHY at MDIO address 0
[  263.265903] net eth0: attached phy 0 to driver LXT971

But if I start Linux without prior use of the fec under U-Boot, Ethernet
is not working in Linux. The wrong drivers seems to be attached to the
phy. Dmesg reads:
[    2.068285] net eth0: Using PHY at MDIO address 0
[    2.964774] net eth0: attached phy 0 to driver Generic PHY
                                                  ^^^^^^^^^^^
Is there a bootarg to tell linux which driver to use? Any ideas what I'm
doing wrong?

Regards
Stefan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ethernet phy attached to wrong driver
  2009-08-05 12:08 ethernet phy attached to wrong driver Stefan Strobl
@ 2009-08-07 14:57 ` Detlev Zundel
  0 siblings, 0 replies; 2+ messages in thread
From: Detlev Zundel @ 2009-08-07 14:57 UTC (permalink / raw)
  To: linuxppc-dev

Hi Stefan,

> I'm having trouble with my Ethernet device on a TQM5200 based board with
> LXT971 Phy. I'm running U-Boot 2009.03 and a Kernel 2.6.30.
>
> When doing a ping under U-Boot before booting into Linux, Ethernet works
> fine in Linux also. Dmesg reads:
> [  262.369444] net eth0: Using PHY at MDIO address 0
> [  263.265903] net eth0: attached phy 0 to driver LXT971
>
> But if I start Linux without prior use of the fec under U-Boot, Ethernet
> is not working in Linux. The wrong drivers seems to be attached to the
> phy. Dmesg reads:
> [    2.068285] net eth0: Using PHY at MDIO address 0
> [    2.964774] net eth0: attached phy 0 to driver Generic PHY
>                                                   ^^^^^^^^^^^
> Is there a bootarg to tell linux which driver to use? Any ideas what I'm
> doing wrong?

I cannot reproduce this problem with a tqm5200/stk52xx combination.
Linux always happily uses a genric PHY, irrelevant if I use networking
in U-Boot.

Cheers
  Detlev

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-07 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05 12:08 ethernet phy attached to wrong driver Stefan Strobl
2009-08-07 14:57 ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).