Fw: Upgrade u-boot to use a redundant environment

Simon Glass sjg at chromium.org
Tue Dec 26 10:50:09 CET 2023


Hi Adrien,

On Thu, Dec 7, 2023 at 12:53 PM Hernot, Adrien <adrien.hernot at zoetis.com> wrote:
>
>
> Hi,
>
> We are using u-boot and until now we are using a single env storage on the eMMC.
>
> We want to change to using a redundant environment, and the way to do that is well documented (thanks for that).
>
> The problem we are facing is transitioning from one single to redundant, as the format of the env storage is different (redund has one byte flags right ater the 4 bytes CRC, at offset 4).
> After the updating the u-boot binary and restarting the machine, u-boot CRC check will fail and all environment will be lost, due to the format change.
>
> What is the ussual way to deal with this?
> Is there a tool to upgrade the environment blob format?

I am not sure about that. If you can suggest a solution you could send
a patch to code or docs?

Regards,
Simon


More information about the U-Boot mailing list