Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 20, 2012, 01:27:57 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read June 09, 2009, 09:40:20 AM #0
A.J.Bellido

Problem changin ethaddr

Hi,
We need to assign an unique MAC address to each SBC. We want to do it by changin this variableĀ“s value using  the u-boot console, but when we try to change the ethaddr enviroment variable, we get this error:
Can't overwrite "ethaddr"
How do we must do that?
 
Read June 09, 2009, 10:15:10 AM #1
admin

Re: Problem changin ethaddr

The U-boot does not allow the MAC address be changed once it is set.  You can erase the NAND FLASH sector that stores the U-boot environment variables at 0x60000.
 
Read September 10, 2010, 03:36:23 PM #2
mimmus

Re: Problem changin ethaddr

setenv ethaddr XX:XX:XX:XX:XX:XX
nand erase 0x00060000 0x0004000
nand erase 0x000A0000 0x0004000
saveenv
« Last Edit: September 10, 2010, 03:43:08 PM by mimmus »
 
Read September 10, 2010, 04:07:28 PM #3
admin

Re: Problem changin ethaddr

Or in U-boot source code,

in  include/configs/at91sam9250ek.h file enable the variable:
#define CONFIG_ENV_OVERWRITE 1

 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re