[PATCH v2] bootcount_ext: Add flag to enable/disable bootcount

Simon Glass sjg at chromium.org
Wed Mar 18 03:17:43 CET 2020


Hi Frédéric,

On Tue, 17 Mar 2020 at 10:59, Frédéric Danis
<frederic.danis at collabora.com> wrote:
>
> After a successful upgrade, multiple problem during boot sequence may
> trigger the altbootcmd process.
> This patch adds a version and an upgrade_available entries to the
> bootcount file to enable/disable the bootcount check.
> When failing to read the bootcount file it will consider that bootcount is
> enabled, acting as previously, and update the file accordingly.
>
> The bootcount file is only saved when `upgrade_available` is true, this
> allows to save writes to the filesystem.
>
> Signed-off-by: Frédéric Danis <frederic.danis at collabora.com>

Is there a change log? I see that this is v2.

Regards,
Simon


More information about the U-Boot mailing list