[U-Boot-Users] loading MAC address into hardware

Jerry Van Baren gerald.vanbaren at smiths-aerospace.com
Fri Mar 4 18:38:08 CET 2005

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?




     *  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.


More information about the U-Boot mailing list