imx8mn: bootcount does not increment

Fabio Estevam festevam at gmail.com
Thu May 2 14:45:39 CEST 2024


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.

Thanks,

Fabio Estevam


More information about the U-Boot mailing list