[U-Boot-Users] Re: Redundant environment
Tolunay Orkun
listmember at orkun.us
Tue May 2 00:55:43 CEST 2006
Stefan Roese wrote:
> Hi Wolfgang,
>
> On Friday, 28. April 2006 21:31, Wolfgang Denk wrote:
>
>>> Of course, I will also document both behavior in README properly,
>>> introduce the same functionality in env_flash.c, env_nand.c etc. (i.e.
>>> all mediums that redundant environment is implemented) and fixup
>>> fw_setenv/fw_getenv utility.
>>>
>> You mean, you want to change more than the saveenc command to run
>> twice? Is this really needed?
>>
>
> As I mentioned before, I also tend to forget to use special commands like 2
> times "saveenv". So I still vote to include Tolunay's patch.
>
> Or do you mean that you would like to see this new behavior implemented in a
> patched saveenv command, that calls the original _saveenv twice? This would
> have the advantage of less code changes, but the disadvantage of doing
> everything twice (like unprotect, protect).
>
> Best regards,
> Stefan
>
Yes, I can do it in saveenv code to cycle twice but I would rather avoid
doing unlock/re-lock/over flag byte stuff twice.
Whichever way Wolfgang favors I am ready to work on a patch.
Best regards,
Tolunay
More information about the U-Boot
mailing list