From: =?UTF-8?Q?Fr=c3=a9d=c3=a9ric_Danis?= Date: Wed, 18 Mar 2020 09:17:25 +0100 Subject: [PATCH v2] bootcount_ext: Add flag to enable/disable bootcount In-Reply-To: References: <20200317165909.12009-1-frederic.danis@collabora.com> Message-ID: <325227bb-c07d-549e-fb85-2ad57dcbfad7@collabora.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > Is there a change log? I see that this is v2. > > Regards, > Simon