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

2020-04-24 Thread Tom Rini
On Tue, Mar 17, 2020 at 05:59:09PM +0100, Frédéric Danis 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. > Wh

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

2020-04-16 Thread Frédéric Danis
Hi Tom, On 23/03/2020 19:42, Simon Glass wrote: Hi Fred, On Mon, 23 Mar 2020 at 10:20, Frédéric Danis wrote: Hi Simon, On 19/03/2020 17:18, Simon Glass wrote: On Wed, 18 Mar 2020 at 02:17, Frédéric Danis wrote: Hi Simon, Sorry I missed to add the change log. Since v1: - Add doc/README.b

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

2020-03-23 Thread Simon Glass
Hi Fred, On Mon, 23 Mar 2020 at 10:20, Frédéric Danis wrote: > > Hi Simon, > > On 19/03/2020 17:18, Simon Glass wrote: > > On Wed, 18 Mar 2020 at 02:17, Frédéric Danis > > wrote: > >> Hi Simon, > >> > >> Sorry I missed to add the change log. > >> > >> Since v1: > >> - Add doc/README.bootcount >

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

2020-03-23 Thread Frédéric Danis
Hi Simon, On 19/03/2020 17:18, Simon Glass wrote: On Wed, 18 Mar 2020 at 02:17, Frédéric Danis 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 Thanks for

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

2020-03-19 Thread Simon Glass
On Wed, 18 Mar 2020 at 02:17, Frédéric Danis 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 > > Regards, > Fred > > On 18/03/2020 03:17, Simon

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

2020-03-18 Thread Frédéric Danis
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 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 wrote: After a successful up

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

2020-03-17 Thread Simon Glass
Hi Frédéric, On Tue, 17 Mar 2020 at 10:59, Frédéric Danis 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.

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

2020-03-17 Thread Frédéric Danis
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 en