From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aras Vaichas Date: Tue, 17 Aug 2004 17:13:24 +1000 Subject: [U-Boot-Users] problem with 'ethaddr' env. variable in, DataFlash, at91rm9200dk In-Reply-To: <20040816074524.AAC5FC109F@atlas.denx.de> References: <20040816074524.AAC5FC109F@atlas.denx.de> Message-ID: <4121B014.4010402@magellan-technology.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Aras, > in message <41203DC8.1000108@magellan-technology.com> you wrote: >>My problem is that the network functions do not seem to pick up the environment >>variables "ethaddr" and "ipaddr". > > Does this problem persist even after a reset of the board? yes > Check if the at91rm9200dk port initializes bd->bi_enetaddr It looks like gd and bd are being set up wrongly or are being "lost" somewhere. e.g. Set PLLA to 180Mhz and Master clock to 60Mhz and start U-BOOT? U-Boot 1.1.1 (Aug 17 2004 - 16:39:28) U-Boot code: 21F00000 -> 21F14A88 BSS: -> 21F18F2C RAM Configuration: Bank #0: 00000000 0 kB ... snip ... ### main_loop entered: bootdelay=3 ### main_loop: bootcmd="" Uboot> setenv ethaddr c2:65:66:f4:14:3e gd = 00000000, bd = ffffffdc Uboot> dhcp at91rm9200_ether.c bd->bi_enetaddr = 0:0:0:0:0:0 *** ERROR: `ethaddr' not set Uboot> regards, Aras