From: Pantelis Antoniou Date: Wed, 16 Nov 2005 14:19:04 +0200 Subject: [U-Boot-Users] [PATCH] update-ethaddr-handling-on-cmc-pu2-board.patch In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1C05E9C@tq-mailsrv.tq-net.de> References: <47F3F98010FF784EBEE6526EAAB078D1C05E9C@tq-mailsrv.tq-net.de> Message-ID: <437B23B8.90908@intracom.gr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Martin Krause wrote: > 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 > > CHANGELOG: > > * Update ethaddr handling on CMC-PU2 board > Patch by Martin Krause, 16 Nov 2005 > > Regards, > Martin > --- I disagree. If you need this, pass the u-boot environment to the linux kernel, or add a serial# member in bd_t. Regards Pantelis