meta-digi/meta-digi-dey/recipes-digi/bootcount/bootcount/bootcount-bin
Hector Bujanda ff12547408 bootcount: skip resetting bootcount if bootlimit is not set
bootcount utility started by bootcount-init script was inconditionally setting
bootcount to 0 even if the functionality is disabled.

According to documentation, bootcount functionality is only enabled if bootlimit
variable is defined to a value greater than 0 in U-Boot environment.

In platforms like cc6ul, that use MCA NVRAM to store bootcount, this was corrupting
user NVRAM.

Version increased to 1.1.

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2025-02-05 17:42:52 +01:00
..
include bootcount: skip resetting bootcount if bootlimit is not set 2025-02-05 17:42:52 +01:00
.gitignore meta-digi-dey: bootcount: add new binary application to manage the bootcount 2023-08-29 14:55:44 +02:00
Makefile meta-digi-dey: bootcount: add new binary application to manage the bootcount 2023-08-29 14:55:44 +02:00
bootcount.c bootcount: skip resetting bootcount if bootlimit is not set 2025-02-05 17:42:52 +01:00
bootcount_env.c bootcount: skip resetting bootcount if bootlimit is not set 2025-02-05 17:42:52 +01:00
bootcount_nvmem.c bootcount: add support to ccmp25 platform on external RTC on I2C1 2024-08-21 17:37:32 +02:00
file_utils.c meta-digi-dey: bootcount: add new binary application to manage the bootcount 2023-08-29 14:55:44 +02:00
platform_utils.c bootcount: add support to ccmp25 platform on external RTC on I2C1 2024-08-21 17:37:32 +02:00