All of lore.kernel.org
 help / color / mirror / Atom feed
* i.MX6UL: Adding bootcount support
@ 2025-07-07  1:18 Fabio Estevam
  2025-07-07  4:31 ` Heiko Schocher
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2025-07-07  1:18 UTC (permalink / raw)
  To: U-Boot-Denx
  Cc: Francesco Dolcini, Schrempf Frieder, Michael Trimarchi,
	Marek Vašut, Heiko Schocher

Hi,

I'm trying to enable bootcount support on the imx6ul-evk board like this:

--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -110,3 +110,8 @@ CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
 CONFIG_BMP_16BPP=y
 CONFIG_IMX_WATCHDOG=y
+CONFIG_SYS_BOOTCOUNT_ADDR=0x020B0068
+CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
+CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_SYS_BOOTCOUNT_MAGIC=0xB0C4000
+CONFIG_SYS_BOOTCOUNT_BE=y

However, the 'bootcount' variable does not increment after a 'reset' command:

=> print bootcount
bootcount=1

Has anyone managed to get bootcount working on it?MX6UL?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-11  2:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07  1:18 i.MX6UL: Adding bootcount support Fabio Estevam
2025-07-07  4:31 ` Heiko Schocher
2025-07-08  1:36   ` Fabio Estevam
2025-07-08  3:50     ` Heiko Schocher
2025-07-08 11:37       ` Fabio Estevam
2025-07-11  4:00         ` Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.