public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magellan-technology.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] problem with 'ethaddr' env. variable in, DataFlash, at91rm9200dk
Date: Tue, 17 Aug 2004 17:13:24 +1000	[thread overview]
Message-ID: <4121B014.4010402@magellan-technology.com> (raw)
In-Reply-To: <20040816074524.AAC5FC109F@atlas.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="<UNDEFINED>"
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

      reply	other threads:[~2004-08-17  7:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16  4:53 [U-Boot-Users] problem with 'ethaddr' env. variable in, DataFlash, at91rm9200dk Aras Vaichas
2004-08-16  7:45 ` Wolfgang Denk
2004-08-17  7:13   ` Aras Vaichas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4121B014.4010402@magellan-technology.com \
    --to=arasv@magellan-technology.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox