[U-Boot] [RFD] store env size in env area (+ cookie + len)
Alexander Stein
alexander.stein at systec-electronic.com
Thu Aug 12 10:07:20 CEST 2010
On Thursday 12 August 2010, 09:27:31 you wrote:
> Why not store the size of the environment sector as env variable? The
> size should be only needed for storing the environment and not for
> loading (as it is terminated by a '\0'). So we could load the
> environment, check for "env_size" and if its not there take the value
> from fw_env.config
Another possibility is to use an own mtd partition for env storage. This way
you shouldn't need to know any size or offset at all.
Best regards,
Alexander
More information about the U-Boot
mailing list