
On Tuesday 06 March 2012 12:07:10 you wrote:
On Mon, Mar 5, 2012 at 8:27 PM, Mike Frysinger wrote:
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 ?
It's not quite possible to just import the default from the saved for two reasons:
- I don't know of any way to import the default. It's not stored at any
well-known address or with any well-known size. 2. The order of precedence would be a little different (default would override saved).
...but I think you're right that using "env import" is the better way to go. I can always have the default boot command load the "overrides" into memory and the import them. That works just fine for us.
i think this thread is what i was remembering: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/109115
with that in place, it should be easy to implement the functionality you desire on top of that right ? -mike