linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Strobl <nst@gersys.de>
To: linuxppc-dev@lists.ozlabs.org
Subject: Problem Ethernet Initialization MPC5200 +  LXT971A
Date: Fri, 05 Nov 2010 17:32:52 +0100	[thread overview]
Message-ID: <4CD431B4.7060405@gersys.de> (raw)

Hi

I'm having a Problem with the Initialization of my Ethernet PHY 
(FEC_MPC5200 + LXT971A Phy). I'm using latest U-Boot and Linux 2.6.37 
from Denx.

Once in Linux I can ping my own IP-Address but not any other device in 
my network. The Link LED is on when connected to the network but when 
pinging some other device nothing is being transmitted (Traffic LED is off).

If - before booting - I'm using any network command under U-Boot (which 
is calling eth_init()), the interface works fine after that under Linux 
also!
In that case the kernel prints the line:
      PHY: f003000:00 - Link is Up - 100/Full

So I'm not sure whether the Linux driver does not initialize the PHY 
correctly or whether I should be running a command under Linux that 
makes the interface work. I've played around with ifconfig but that 
didn't get me any further.

Under sysfs I can see that the MAC address is assigned correctly but:
carrier = 0	(should be 1)
duplex = half	(should be full)
operstate = down
speed = 10	(should be 100)

To workaround I could make u-boot run eth_init() always but that doesn't 
seem the right approach to this.

Any ideas?

Many Thanks,
Stefan.

             reply	other threads:[~2010-11-05 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 16:32 Stefan Strobl [this message]
2010-11-08  9:50 ` Problem Ethernet Initialization MPC5200 + LXT971A tiejun.chen
2010-11-08 13:25   ` Stefan Strobl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD431B4.7060405@gersys.de \
    --to=nst@gersys.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).