[U-Boot-Users] Changing ethaddr
raul.moreno at telvent.abengoa.com
raul.moreno at telvent.abengoa.com
Tue Jul 31 13:49:44 CEST 2007
Hello Javier,
as you can read in the "README" file, ethaddr is a special environment
variable and you can set just once. You could change it in your
../include/configs/<board>.h, where you define your default environment
variables using the common format:
#define CONFIG_ETHADDR <your ethernet address>
Another option is to store the MAC in a flash address and to read it from
there, but it is a bit more complicated and you should look at some
examples.
Cheers,
Raúl Moreno
"Javier Gracia" <javier.gracia.castro at gmail.com>
"Javier Gracia"
Enviado por: u-boot-users-bounces at lists.sourceforge.net
31/07/2007 13:40
Para: u-boot-users at lists.sourceforge.net
cc:
Asunto: [U-Boot-Users] Changing ethaddr
Hello, I am working with the Atmel board AT91RM9200-EK and I would
like to change the MAC address from U-boot. If I do: setenv ethaddr
(new_mac), I obtain: Can't overwrite "ethaddr". I am using a version
of U-boot from Atmel (u-boot-1.1.5_atmel_1.2). How can I change this
hw address?
Thanks,
Javier
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
More information about the U-Boot
mailing list