In your board-specific configs header file (include/configs/your-header.h) you will have a section something like this:
/* * Environment Configuration */ #define CONFIG_ENV_OVERWRITE #define CONFIG_BAUDRATE 115200 #define CONFIG_LOADADDR 800000 /* default location for tftp and bootm */ #define CONFIG_BOOTDELAY 3 /* -1 disables auto-boot */ #undef CONFIG_BOOTARGS /* the boot command will set bootargs */ #define CONFIG_EXTRA_ENV_SETTINGS \ "autoload=n\0" \ "consoledev=ttyS0\0" \ "" #define CONFIG_BOOTCOMMAND "run ramboot" Some of the commands are set with CONFIG_XXX macros (e.g. CONFIG_BOOTCOMMAND), the rest go in CONFIG_EXTRA_ENV_SETTINGS. Douglas Peterson -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Goins Sent: Wednesday, August 22, 2012 6:34 AM To: ltib Cc: Todd Sampson Subject: Re: [Ltib] u-boot Default Environment Variables Location On Wed, Aug 22, 2012 at 9:16 AM, Todd Sampson <[email protected]> wrote: > Each time I configure a target, I have to go into u-boot and use 'setenv' to > change some environment variables. > > Where are the default environment variables for u-boot stored in the LTIB > world? I want to edit these so each time I flash a target, the u-boot > environment variables are correct. The uboot parameters are stored in flash on your target. You want printenv and savenv: http://www.denx.de/wiki/DULG/UBootCmdGroupEnvironment > Thanks! > _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
