From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe De Muyter Date: Sat, 20 Feb 2010 10:37:17 +0100 Subject: [U-Boot] what's the uboot way to pass eth*addr to linux ? In-Reply-To: References: <20100219175016.GA25288@frolo.macqel> Message-ID: <20100220093717.GA9602@frolo.macqel> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Maxim, On Sat, Feb 20, 2010 at 10:30:32AM +0300, Maxim Podbereznyi wrote: > Hi Philippe! > > May be it is a little bit tricky but you can just read the u-boot > environment from you Linux driver and use the "ethaddr" variable. I did the > same for osk5912 Thanks, but I need something more straightforward. The ethernet driver in linux must know the mac address at startup to be able to have root on nfs. Previously, the mac addresses were stored in the bd_info struct, but that has been removed, but alas not replaced by a common mechanism for all architectures. Philippe