All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] loading MAC address into hardware
Date: Fri, 4 Mar 2005 12:38:08 -0500	[thread overview]
Message-ID: <42289D00.4030203@smiths-aerospace.com> (raw)
In-Reply-To: <3rr11u$5li5t0@mxip25a.cluster1.charter.net>

David Peters wrote:
> I am trying to boot Linux from flash, but the problem is that the MAC
> address never gets initialized before starting Linux.  Is there a way to
> instruct u-boot to load the MAC address into the hardware before starting
> Linux?

Yes.

http://www.denx.de/twiki/bin/view/DULG/UBootCmdGroupEnvironment

http://www.denx.de/twiki/bin/view/DULG/UBootEnvVariables

     *  ethaddr: Ethernet MAC address for first/only ethernet interface 
(= eth0 in Linux).
       This variable can be set only once (usually during manufacturing 
of the board). U-Boot refuses to delete or overwrite this variable once 
it has been set.

     * eth1addr: Ethernet MAC address for second ethernet interface (= 
eth1 in Linux).

     * eth2addr: Ethernet MAC address for third ethernet interface (= 
eth2 in Linux).

Some assembly may be required: we don't know _your_ board, _you_ may 
have to implement the routine that actually stores the MAC in your hardware.

gvb

  reply	other threads:[~2005-03-04 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 17:28 [U-Boot-Users] loading MAC address into hardware David Peters
2005-03-04 17:38 ` Jerry Van Baren [this message]
2005-03-04 18:15   ` David Peters
2005-03-04 23:38     ` Wolfgang Denk
2005-03-19  2:15       ` [U-Boot-Users] " Sergei Sharonov
2005-03-20 16:17         ` Wolfgang Denk

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=42289D00.4030203@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.