[U-Boot] Environment storage format stability

Kristian Amlie kristian.amlie at mender.io
Thu Dec 15 17:41:36 CET 2016


On 15/12/16 17:21, Wolfgang Denk wrote:
> Dear Kristian,
> 
> In message <7f7560f1-5b05-1f0c-8bf0-fd0458f9d3fe at mender.io> you wrote:
>> I have a question about the format of the environment when stored on
>> persistent storage: Is this format considered stable?
> 
> Yes, it is.  It has never been changed since it has been invented in
> the first days of this project, when it was still sailing under the
> name PPCboot, and there are no plans or discussions to change it,
> either.
> 
>> The reason I'm asking is whether it is a reasonable assumption that
>> upgraded user space tools (fw_setenv and fw_printenv) will agree on the
>> format with an older boot loader. The user space tools may be upgraded
>> as part of a rootfs update, but the boot loader typically will not.
> 
> As of now, you can still read the environment of a 16 year old PPCBoot
> :-)

Perfect, thanks! :-)

-- 
Kristian


More information about the U-Boot mailing list