From: Daniel Mack <daniel@caiaq.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Enabling smc911x driver
Date: Wed, 22 Apr 2009 20:08:11 +0200 [thread overview]
Message-ID: <20090422180811.GA18618@buzzloop.caiaq.de> (raw)
In-Reply-To: <5e088bd90904221031x31c423aar2ebf98a2a6aa687d@mail.gmail.com>
On Wed, Apr 22, 2009 at 10:31:52AM -0700, Steve Sakoman wrote:
> >> How did you set this MAC address? Does the hardware read it from a
> >> connected EEPROM or did you manually set it in your environment.
>
> It is manually set in the environment since the prototype hardware
> doesn't have the eeprom.
Assuming you're going to boot Linux on that board, you will face the
next problem that U-Boot will reset the controller before the kernel
boots and thus vanishes the MAC address from the chip. I sent in another
patch for that which contionally disables this reset so that the Linux
driver can actually read the address again and use it (with the
SMSC911X_SAVE_MAC_ADDRESS flag set). But as Mike Frysinger pointed out,
this is not the intended way to go as the MAC is only programmed if
U-Boot ever performed any network transaction. So there is need for some
other approach, just wanted to let you know.
Daniel
next prev parent reply other threads:[~2009-04-22 18:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 15:11 [U-Boot] Enabling smc911x driver Steve Sakoman
2009-04-21 16:32 ` Ben Warren
2009-04-22 14:52 ` Steve Sakoman
2009-04-22 15:51 ` Daniel Mack
2009-04-22 15:54 ` Daniel Mack
2009-04-22 17:31 ` Steve Sakoman
2009-04-22 18:08 ` Daniel Mack [this message]
2009-04-23 4:20 ` Steve Sakoman
2009-04-23 6:43 ` Daniel Mack
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=20090422180811.GA18618@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--cc=u-boot@lists.denx.de \
/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