public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] question about environment variable in U-BOOT
@ 2008-04-10 16:24 sonicss
  2008-04-10 21:33 ` Jerry Van Baren
  0 siblings, 1 reply; 2+ messages in thread
From: sonicss @ 2008-04-10 16:24 UTC (permalink / raw)
  To: u-boot

U-BOOT:
I want to modify the default environment variable in U-BOOT. The following info are about the hardware:

ARM: at91rm9200
platform: at91rm9200dk
U-BOOT: CFG_ENV_IS_IN_DATAFLASH

I modifed /include/configs/at91rm9200dk.h and add the following lines after "#define CONFIG_BAUDRATE 115200":

#define CONFIG_ETHADDR 12.24.96.78.91.11
#define CONFIG_IPADDR 172.19.71.10
#define CONFIG_SERVERIP 172.19.71.40
#define CONFIG_BOOTCMD = tftp 20008000 zImage; tftp 21000000 Ramdisk.gz; go 20008000

the first three commands work well, but the last command is not in the environment. I use printenv command to show the current

environment:
U-Boot> printenv
bootdelay=3
baudrate=115200
ethaddr=12.24.96.78.91.11
ipaddr=172.19.71.10
serverip=172.19.71.40
stdin=serial
stdout=serial
stderr=serial

There is not bootcmd command. How can I implement this function? ( just add bootcmd before compile u-boot)

best regards

2008-04-11 



sonicss 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080411/6ef7b1f8/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-10 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 16:24 [U-Boot-Users] question about environment variable in U-BOOT sonicss
2008-04-10 21:33 ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox