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: Mon, 16 Aug 2004 14:53:28 +1000 [thread overview]
Message-ID: <41203DC8.1000108@magellan-technology.com> (raw)
My problem is that the network functions do not seem to pick up the environment
variables "ethaddr" and "ipaddr".
e.g.
Uboot> setenv ethaddr 12:34:56:78:99:aa
Uboot> dhcp
*** ERROR: `ethaddr' not set
Uboot> echo $(ethaddr)
12:34:56:78:99:aa
Uboot> printenv
stdin=serial
stdout=serial
stderr=serial
ethaddr=12:34:56:78:99:aa
Environment size: 67/8188 bytes
Uboot> dhcp
*** ERROR: `ethaddr' not set
Uboot>
I've been going through the u-boot source code looking for where this problem
could be occurring, but I can't find anything.
I recently setup my at91rm9200dk to boot from DataFlash as per the Atmel
application note: "Booting u-boot from Atmel SPI Serial DataFlash on the
AT91RM9200-DK Board"
I used u-boot-1.1.1 instead of patching u-boot-1.0.0.
I've set the environment configuration values in at91rm9200dk.h
#define CFG_ENV_IS_IN_DATAFLASH
#define CONFIG_ENV_OVERWRITE
The system boots from the DataFlash OK, and then starts up u-boot-1.1.1
e.g.
-I- AT91F_LowLevelInit(): Debug channel initialized
ESC[2J
ATMEL LOADER VER 1.01 May 03 2004 14:54:39
*--------------------------------------*
DataFlash:AT45DB642
Nb pages: 8192
Page Size: 1056
Size= 8650752 bytes
Logical address: 0xC0000000
*--------------------------------------*
1: Download Dataflash [addr]
2: Read Dataflash [addr]
3: Start U-BOOT [C0008000 => 21F00000]
*--------------------------------------*
Enter: Load U-BOOT from dataflash[c0008000] to SDRAM[21f00000]
Set PLLA to 180Mhz and Master clock to 60Mhz and start U-BOOT?
U-Boot 1.1.1 (Aug 16 2004 - 12:34:47)
U-Boot code: 21F00000 -> 21F14A4C BSS: -> 21F18EF0
RAM Configuration:
Bank #0: 00000000 0 kB
Atmel: AT49BV1614A (16Mbit)
...
Flash: 2 MB
DataFlash:AT45DB642
Nb pages: 8192
Page Size: 1056
Size= 8650752 bytes
Logical address: 0xC0000000
Area 0: C0000000 to C0007FFF (RO)
Area 1: C0008000 to C001FFFF (RO)
Area 2: C0020000 to C0027FFF
Area 3: C0028000 to C083FFFF
In: serial
Out: serial
Err: serial
Any help would be good, thank you!
regards,
Aras
next reply other threads:[~2004-08-16 4:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-16 4:53 Aras Vaichas [this message]
2004-08-16 7:45 ` [U-Boot-Users] problem with 'ethaddr' env. variable in, DataFlash, at91rm9200dk Wolfgang Denk
2004-08-17 7:13 ` Aras Vaichas
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=41203DC8.1000108@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.