
16 Nov
2005
16 Nov
'05
1:16 p.m.
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@tqs.de
CHANGELOG:
* Update ethaddr handling on CMC-PU2 board Patch by Martin Krause, 16 Nov 2005
Regards, Martin ---