All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] question about environment variable in U-BOOT
Date: Thu, 10 Apr 2008 17:33:48 -0400	[thread overview]
Message-ID: <47FE87BC.3000700@gmail.com> (raw)
In-Reply-To: <200804110024145564218@sina.com>

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

      reply	other threads:[~2008-04-10 21:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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=47FE87BC.3000700@gmail.com \
    --to=gvb.uboot@gmail.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.