sonicss wrote:
> 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

1) Your #define for CONFIG_BOOTCMD is not a valid C preprocessor define
2) You probably wanted to #define CONFIG_BOOTCOMMAND, not CONFIG_BOOTCMD

Something closer (but not necessarily correct) would be:
#define CONFIG_BOOTCOMMAND "tftp 20008000 zImage; tftp 21000000 
Ramdisk.gz; go 20008000"

[snip]

> There is not bootcmd command. How can I implement this function? ( just 
> add bootcmd before compile u-boot)
>  
> best regards
>  
> 2008-04-11
> ------------------------------------------------------------------------
> sonicss

Good luck,
gvb

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to