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

Timur Tabi timur at freescale.com
Mon Apr 23 21:50:47 CEST 2007


Ben Warren wrote:

> This is a pretty serious drawback.  If you really want to have
> persistent storage for autonomous code, maybe we should look at a way of
> allocating a block of persistent storage (either flash or serial EEPROM)
> outside of ENV that gets saved when modified.

I'm looking for something that's much more generic.  I want to use an existing 
infrastructure, and I want something that's not hardware-specific.

>> One advantage of this feature is that we can develop new commands that store data 
>> permanently without having to add hooks into _do_setenv().
>>
> I guess I don't see why anything needs to be hidden.

Well, it doesn't *have* to be hidden, it just makes things simpler that way.  If the 
variable can't be touched by the user, then I don't have to hook into the _do_setenv() 
command.


-- 
Timur Tabi
Linux Kernel Developer @ Freescale




More information about the U-Boot mailing list