On Wed, 18 Mar 2020 at 02:17, Frédéric Danis <frederic.da...@collabora.com> wrote: > > Hi Simon, > > Sorry I missed to add the change log. > > Since v1: > - Add doc/README.bootcount > - Add version number in bootcount_ext file and change Magic byte
Reviewed-by: Simon Glass <s...@chromium.org> > > Regards, > Fred > > On 18/03/2020 03:17, Simon Glass wrote: > > Hi Frédéric, > > > > On Tue, 17 Mar 2020 at 10:59, Frédéric Danis > > <frederic.da...@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.da...@collabora.com> > > Is there a change log? I see that this is v2. > > > > Regards, > > Simon >