
On Tuesday 14 February 2012 18:30:55 Doug Anderson wrote:
Create a saved enviroment with this env variable set to "1" to merge the saved environment on top of the default environment. The idea is that your saved environment would just contain variables that you'd like to override from the default so that as you update u-boot (w/potential changes to the default) you get all the updates.
This is really most useful when you have a tool like fw_setenv to manage your saved environment. Using 'saveenv' to save your environment will saved the _merged_ environment (AKA it won't unmerge things).
this is kind of a crappy interface. also, doesn't the existing `env import` do this ? * env import [-d] [-t | -b | -c] addr [size] * -d: delete existing environment before importing; * otherwise overwrite / append to existion definitions
so if we "imported" the default, we'd get this ?
i think someone recently was doing work on default env handling. but wasn't following it too closely. -mike