Setup ip mac addressing

From Ambedded
Jump to: navigation, search

Here is the procedure for changing your board Ethernet MAC address.


U-boot

u-boot has a parameter containing the Ethernet address. This parameter is independent from the hardware address. The parameter is ethaddr and eth1addr.

Cyone> printenv ethaddr
04:A7:00:XX:XX:XX

XX:XX:XX being the board specific address.

Change MAC address

It can happen that the MAC address is wrong (e.g.: 04:A7:00:XX:XX:XX in my case), empty or that you want to change it.

Empty MAC address

If the board MAC address is empty, the procedure is simplified.

In U-boot, simply set the correct value in the parameter ethaddr, eth1addr, save the environment.

Cyone> setenv ethaddr 04:A7:00:XX:XX:XX
Cyone> setenv eth1addr 04:A7:00:XX:XX:XX
Cyone> saveenv
Personal tools
Namespaces

Variants
Actions
Navigation
Tools