kumquat-buildroot/package/davinci-bootcount/davinci-bootcount.mk
Dario Binacchi 39a5beb60f package/davinci-bootcount: new package
U-Boot implements a boot count scheme that can be used to detect
multiple failed attempts to boot Linux. On Davinci platform (TI AM 335x)
the `bootcount' value is stored in the RTC SCRATCH2 register. This tool
allows to read and write this register from userspace.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
[Arnout: use github helper, add license hash, remove unnecessary
defaults, add autoreconf comment]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-11 10:55:37 +01:00

16 lines
555 B
Makefile

################################################################################
#
# davinci-bootcount
#
################################################################################
DAVINCI_BOOTCOUNT_VERSION = 0973689c7556a953d2b468e4d8d46758c6d467b4
DAVINCI_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-davinci-bootcount,$(DAVINCI_BOOTCOUNT_VERSION))
DAVINCI_BOOTCOUNT_LICENSE = GPL-3.0
DAVINCI_BOOTCOUNT_LICENSE_FILES = COPYING
# sources fetched from github, no configure script
DAVINCI_BOOTCOUNT_AUTORECONF = YES
$(eval $(autotools-package))