From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe De Muyter Date: Sat, 20 Feb 2010 11:38:08 +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: <20100220103808.GA15249@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 Sorry, I replied too fast, It seems that I misunderstood your answer. How do you access the U-boot environment from the linux driver ? Is there a linux kernel library function to retrieve one element of a U-boot environment ? Does U-boot tell linux where the U-boot environment resides in memory ? Philippe