[U-Boot-Users] RFC: hidden environment variables

Ben Warren bwarren at qstreams.com
Mon Apr 23 21:53:08 CEST 2007


On Mon, 2007-04-23 at 14:45 -0500, Timur Tabi wrote:
> Ben Warren wrote:
> 
> > Sure, but I don't think info overload was Timur's primary concern.  I
> > thought he wanted to make the variables RO from the command prompt.
> > Maybe I misunderstood.
> 
> No, I just wanted a way for U-Boot code to store data in the environment without 
> interference from the user.  The reason I want to use the environment is that it already 
> exists, and it already has a mechanism for saving itself to flash.
> 
> So, the obvious question is, "well, what kind of data?".  I have an idea where the user 
> can tell U-Boot how the board is jumpered, so that when it boots the kernel, it can modify 
> the device tree on-the-fly based on the jumper settings.  I don't want to use the setenv 
> command, however, to specify these jumper settings.  I want to use a new command that does 
> some parameter checking and performs other operations.
> 
Sorry for going OT briefly, but the settings of jumpers on Freescale
eval boards are usually reflected in the BCSR, aren't they?  If so, why
not just probe at boot-up.  If not, send this e-mail directly to TRASH.

cheers,
Ben





More information about the U-Boot mailing list