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>
This commit is contained in:
parent
7600ca7960
commit
39a5beb60f
@ -452,6 +452,7 @@ endmenu
|
||||
source "package/cwiid/Config.in"
|
||||
source "package/dahdi-linux/Config.in"
|
||||
source "package/dahdi-tools/Config.in"
|
||||
source "package/davinci-bootcount/Config.in"
|
||||
source "package/dbus/Config.in"
|
||||
source "package/dbus-cpp/Config.in"
|
||||
source "package/dbus-glib/Config.in"
|
||||
|
10
package/davinci-bootcount/Config.in
Normal file
10
package/davinci-bootcount/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_DAVINCI_BOOTCOUNT
|
||||
bool "davinci-bootcount"
|
||||
help
|
||||
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' is stored in the RTC
|
||||
SCRATCH2 register. This tool allows to read and write this
|
||||
register from userspace.
|
||||
|
||||
https://github.com/VoltServer/uboot-davinci-bootcount
|
3
package/davinci-bootcount/davinci-bootcount.hash
Normal file
3
package/davinci-bootcount/davinci-bootcount.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 de7843cf1245a739b6d18d4db478893e50c2de0ee19bbce96dc323065d28c3e4 davinci-bootcount-0973689c7556a953d2b468e4d8d46758c6d467b4.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
15
package/davinci-bootcount/davinci-bootcount.mk
Normal file
15
package/davinci-bootcount/davinci-bootcount.mk
Normal file
@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in New Issue
Block a user