imx8mn: bootcount does not increment

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Thu May 2 14:49:20 CEST 2024


Hi Fabio

On Thu, May 2, 2024 at 2:45 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Heiko,
>
> On Fri, Apr 26, 2024 at 12:40 AM Heiko Schocher <hs at denx.de> wrote:
>
> > No chance for a bootcounter in a register?
>
> Yes, this is a better approach. I changed it to:
>
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_SYS_BOOTCOUNT_MAGIC=0xB0C40000
> CONFIG_SYS_BOOTCOUNT_ADDR=0x30370090
> CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
>
> and now bootcount increments.
>

Maybe you have anyway a bug on the evk when was not incrementing on environment

Michael

> Thanks,
>
> Fabio Estevam



-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list