* [Buildroot] [PATCH v2 1/2] package/davinci-bootcount: update GitHub URL
@ 2023-09-18 15:39 Dario Binacchi
2023-09-18 15:39 ` [Buildroot] [PATCH v2 2/2] package/davinci-bootcount: rename to uboot-bootcount Dario Binacchi
0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2023-09-18 15:39 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi, linux-amarula, Dario Binacchi, Thomas Petazzoni
The patch updates the GitHub URL, which has recently changed.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
package/davinci-bootcount/Config.in | 2 +-
package/davinci-bootcount/davinci-bootcount.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/davinci-bootcount/Config.in b/package/davinci-bootcount/Config.in
index e34adde570af..0201530f9166 100644
--- a/package/davinci-bootcount/Config.in
+++ b/package/davinci-bootcount/Config.in
@@ -8,4 +8,4 @@ config BR2_PACKAGE_DAVINCI_BOOTCOUNT
SCRATCH2 register. This tool allows to read and write this
register from userspace.
- https://github.com/VoltServer/uboot-davinci-bootcount
+ https://github.com/VoltServer/uboot-bootcount
diff --git a/package/davinci-bootcount/davinci-bootcount.mk b/package/davinci-bootcount/davinci-bootcount.mk
index 695d39688ac6..884bf420f396 100644
--- a/package/davinci-bootcount/davinci-bootcount.mk
+++ b/package/davinci-bootcount/davinci-bootcount.mk
@@ -5,7 +5,7 @@
################################################################################
DAVINCI_BOOTCOUNT_VERSION = 2.0.0
-DAVINCI_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-davinci-bootcount,v$(DAVINCI_BOOTCOUNT_VERSION))
+DAVINCI_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-bootcount,v$(DAVINCI_BOOTCOUNT_VERSION))
DAVINCI_BOOTCOUNT_LICENSE = GPL-3.0
DAVINCI_BOOTCOUNT_LICENSE_FILES = COPYING
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/davinci-bootcount: rename to uboot-bootcount
2023-09-18 15:39 [Buildroot] [PATCH v2 1/2] package/davinci-bootcount: update GitHub URL Dario Binacchi
@ 2023-09-18 15:39 ` Dario Binacchi
0 siblings, 0 replies; 2+ messages in thread
From: Dario Binacchi @ 2023-09-18 15:39 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi, linux-amarula, Dario Binacchi, Thomas Petazzoni
Born as a project to read/write the bootcount on the TI am3xx platform,
over time it has introduced bootcount management on EEPROM and for the
stm32mp1 platform. As a result, the project removed the 'davinci' tag
from its name and GitHub link.
The patch aligns the package name in Buildroot with the current one on
GitHub.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Config.in.legacy | 6 ++++++
DEVELOPERS | 2 +-
package/Config.in | 2 +-
package/davinci-bootcount/Config.in | 11 -----------
package/davinci-bootcount/davinci-bootcount.mk | 15 ---------------
package/uboot-bootcount/Config.in | 10 ++++++++++
.../uboot-bootcount.hash} | 2 +-
package/uboot-bootcount/uboot-bootcount.mk | 15 +++++++++++++++
8 files changed, 34 insertions(+), 29 deletions(-)
delete mode 100644 package/davinci-bootcount/Config.in
delete mode 100644 package/davinci-bootcount/davinci-bootcount.mk
create mode 100644 package/uboot-bootcount/Config.in
rename package/{davinci-bootcount/davinci-bootcount.hash => uboot-bootcount/uboot-bootcount.hash} (80%)
create mode 100644 package/uboot-bootcount/uboot-bootcount.mk
diff --git a/Config.in.legacy b/Config.in.legacy
index daf83dda4a1c..0a2a5a728faf 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2023.11"
+config BR2_PACKAGE_DAVINCI_BOOTCOUNT
+ bool "davinci-bootcount has been renamed"
+ select BR2_LEGACY
+ help
+ The davinci-bootcount package has been renamed.
+
config BR2_PACKAGE_GOOGLE_MATERIAL_DESIGN_ICONS
bool "google-material-design-icons removed"
select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index e8b78a8d4648..d3a041c68e38 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -739,7 +739,7 @@ F: package/sscep/
F: package/uuu/
N: Dario Binacchi <dariobin@libero.it>
-F: package/davinci-bootcount/
+F: package/uboot-bootcount/
F: package/libmnl/
N: David Bachelart <david.bachelart@bbright.com>
diff --git a/package/Config.in b/package/Config.in
index e8dbadadf323..0ac137fc1ca0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -476,7 +476,6 @@ 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-broker/Config.in"
source "package/dbus-cpp/Config.in"
@@ -627,6 +626,7 @@ endmenu
source "package/ti-utils/Config.in"
source "package/tio/Config.in"
source "package/triggerhappy/Config.in"
+ source "package/uboot-bootcount/Config.in"
source "package/uboot-tools/Config.in"
source "package/ubus/Config.in"
source "package/udev/Config.in"
diff --git a/package/davinci-bootcount/Config.in b/package/davinci-bootcount/Config.in
deleted file mode 100644
index 0201530f9166..000000000000
--- a/package/davinci-bootcount/Config.in
+++ /dev/null
@@ -1,11 +0,0 @@
-config BR2_PACKAGE_DAVINCI_BOOTCOUNT
- bool "davinci-bootcount"
- depends on BR2_arm # only relevant for TI am335x
- 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-bootcount
diff --git a/package/davinci-bootcount/davinci-bootcount.mk b/package/davinci-bootcount/davinci-bootcount.mk
deleted file mode 100644
index 884bf420f396..000000000000
--- a/package/davinci-bootcount/davinci-bootcount.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-################################################################################
-#
-# davinci-bootcount
-#
-################################################################################
-
-DAVINCI_BOOTCOUNT_VERSION = 2.0.0
-DAVINCI_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-bootcount,v$(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))
diff --git a/package/uboot-bootcount/Config.in b/package/uboot-bootcount/Config.in
new file mode 100644
index 000000000000..53a0bd9174a4
--- /dev/null
+++ b/package/uboot-bootcount/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_UBOOT_BOOTCOUNT
+ bool "uboot-bootcount"
+ default y if BR2_PACKAGE_DAVINCI_BOOTCOUNT # legacy
+ help
+ U-Boot implements a boot count scheme that can be used to
+ detect multiple failed attempts to boot Linux. This tool
+ allows to read and write bootcount from userspace for some
+ platforms (TI AM335X or STM32MP1) or from I2C EEPROM.
+
+ https://github.com/VoltServer/uboot-bootcount
diff --git a/package/davinci-bootcount/davinci-bootcount.hash b/package/uboot-bootcount/uboot-bootcount.hash
similarity index 80%
rename from package/davinci-bootcount/davinci-bootcount.hash
rename to package/uboot-bootcount/uboot-bootcount.hash
index 53435b1d1d6d..e1ebc442357e 100644
--- a/package/davinci-bootcount/davinci-bootcount.hash
+++ b/package/uboot-bootcount/uboot-bootcount.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 12b5aa83736efb2fefd22cd4d9f305a25c68dfaa10401d5efb17e55a5163934e davinci-bootcount-2.0.0.tar.gz
+sha256 12b5aa83736efb2fefd22cd4d9f305a25c68dfaa10401d5efb17e55a5163934e uboot-bootcount-2.0.0.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
diff --git a/package/uboot-bootcount/uboot-bootcount.mk b/package/uboot-bootcount/uboot-bootcount.mk
new file mode 100644
index 000000000000..07b52ab89eb5
--- /dev/null
+++ b/package/uboot-bootcount/uboot-bootcount.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# uboot-bootcount
+#
+################################################################################
+
+UBOOT_BOOTCOUNT_VERSION = 2.0.0
+UBOOT_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-bootcount,v$(UBOOT_BOOTCOUNT_VERSION))
+UBOOT_BOOTCOUNT_LICENSE = GPL-3.0
+UBOOT_BOOTCOUNT_LICENSE_FILES = COPYING
+
+# sources fetched from github, no configure script
+UBOOT_BOOTCOUNT_AUTORECONF = YES
+
+$(eval $(autotools-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-18 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-18 15:39 [Buildroot] [PATCH v2 1/2] package/davinci-bootcount: update GitHub URL Dario Binacchi
2023-09-18 15:39 ` [Buildroot] [PATCH v2 2/2] package/davinci-bootcount: rename to uboot-bootcount Dario Binacchi
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.