linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Jin <shawnxjin@gmail.com>
To: uboot <u-boot-users@lists.sourceforge.net>,
	ppcembed <linuxppc-embedded@ozlabs.org>
Subject: Ethernet doesn't work in linux for PPC440GP?
Date: Tue, 22 Feb 2005 19:07:44 -0800	[thread overview]
Message-ID: <c3d0340b050222190712ee7dff@mail.gmail.com> (raw)

Hi,

First please forgive me for the cross-list post. I do believe this
topic is related to both lists.

I'm playing with UBoot and Linux 2.6.10 on IBM PPC440GP evaluation
board (Ebony) and have some issue with ethernet. With Rom Monitor
linux 2.6.10 was running successfully using default configuration for
Ebony. Here the scree dump for ethernet dection.

emac: IBM EMAC Ethernet driver, version 2.0
Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>
zmii0: input 0 in RMII mode
eth0: IBM emac, MAC 00:04:ac:e3:1b:bb
eth0: Found Generic MII PHY (0x08)
zmii0: input 1 in RMII mode
eth1: IBM emac, MAC 00:04:ac:e3:1b:bc
eth1: Found Generic MII PHY (0x09)

However with Uboot, the emac driver cannot read MAC addresses from VPD
correctly. The original 2.6.10 code didn't recognize uboot's bd_info.
After some hack eth0 gets its MAC address from uboot's bd_info and
seems initialized correctly. But somehow booting an NFS root fs
failed. So I suspect it's due to the ethernet driver. BTW, the same
image is used in the two

emac: IBM EMAC Ethernet driver, version 2.0
Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>
zmii0: input 0 in SMII mode
eth0: IBM emac, MAC 00:04:ac:e3:1b:bb
eth0: Found Generic MII PHY (0x08)
zmii0: input 1 in RMII mode
eth1: IBM emac, MAC FF:FF:FF:FF:FF:FF
eth1: Found Generic MII PHY (0x09)

I know there was discussion about what a linux ethernet driver should
expect from boot loader. In fact the driver shouldn't expect anything
from a boot loader. Wolfgang has the same opinion in his DULG. What I
don't know is if this EMAC driver expects something configured by boot
loader? It seems to me that Rom Monitor did configure something for
ethernet that the EMAC driver expected.

Anyone has the similar problem before?

Thanks,
-Shawn.

             reply	other threads:[~2005-02-23  3:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23  3:07 Shawn Jin [this message]
2005-02-23  4:22 ` Ethernet doesn't work in linux for PPC440GP? Eugene Surovegin
2005-02-23  8:02   ` Shawn Jin
2005-02-23  9:38     ` Eugene Surovegin
2005-02-23  4:29 ` Eugene Surovegin
2005-02-23  8:02   ` Shawn Jin

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=c3d0340b050222190712ee7dff@mail.gmail.com \
    --to=shawnxjin@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=u-boot-users@lists.sourceforge.net \
    /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).