[U-Boot-Users] [PATCH] update-ethaddr-handling-on-cmc-pu2-board.patch
Martin Krause
Martin.Krause at tqs.de
Wed Nov 16 13:16:51 CET 2005
Update ethaddr handling on CMC-PU2 board
Patch by Martin Krause, 16 Nov 2005
If the environment variable 'ethaddr' is not set in flash it is read from
EEPROM (if valid), set in RAM and now also saved to flash. The same applies
for the variable 'serial#'.
This is done to optimise series production. Now, no 'saveenv' command
has to be applied over the serial line. And thus no serial connection
is necessery at all. Setting ethaddr only in RAM is not sufficient,
because 'ethaddr' and 'serial#' must be readable from linux with the
fw_printenv tool.
Signed-off-by: Martin Krause <martin.krause at tqs.de>
CHANGELOG:
* Update ethaddr handling on CMC-PU2 board
Patch by Martin Krause, 16 Nov 2005
Regards,
Martin
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-update-ethaddr-handling-on-cmc-pu2-board.patch
Type: application/octet-stream
Size: 2621 bytes
Desc: 02-update-ethaddr-handling-on-cmc-pu2-board.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20051116/9cb0c490/attachment.obj
More information about the U-Boot
mailing list