Configure mac Addresses in U-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configure mac Addresses in U-boot

24,508 Views
varunkjayan
Contributor II

how to configure MAC addresses in u-boot environment

for configuring the ethernet ports

0 Kudos
Reply
3 Replies

12,893 Views
r8070z
NXP Employee
NXP Employee

The U-boot also says for environment variable of the first/only ethernet:

  • 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).
  • ...
0 Kudos
Reply

12,893 Views
sinanakman
Senior Contributor III

Hi Varun

e.g. :

=> setenv eth1addr xx:xx:xx:xx

=> saveenv

Change the number in eth1 according to the

interface number you are trying to set the mac

for.

Regards

Sinan Akman

0 Kudos
Reply

12,893 Views
varunkjayan
Contributor II

thanx

0 Kudos
Reply