Explorar o código

package/crucible: new package

crucible is a useful tool that allows reading and writing
to the i.MX fuses via the Linux NVMEM framework.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
[yann.morin.1998@free.fr: fix check-package]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Fabio Estevam %!s(int64=3) %!d(string=hai) anos
pai
achega
7f55bdc216

+ 1 - 0
DEVELOPERS

@@ -862,6 +862,7 @@ F:	configs/wandboard_defconfig
 F:	configs/warp7_defconfig
 F:	configs/warpboard_defconfig
 F:	package/atest/
+F:	package/crucible/
 F:	package/kmscube/
 
 N:	Fabio Porcedda <fabio.porcedda@gmail.com>

+ 1 - 0
package/Config.in

@@ -456,6 +456,7 @@ endmenu
 	source "package/cc-tool/Config.in"
 	source "package/cdrkit/Config.in"
 	source "package/cpuburn-arm/Config.in"
+	source "package/crucible/Config.in"
 	source "package/cryptsetup/Config.in"
 	source "package/cwiid/Config.in"
 	source "package/dahdi-linux/Config.in"

+ 8 - 0
package/crucible/Config.in

@@ -0,0 +1,8 @@
+config BR2_PACKAGE_CRUCIBLE
+	bool "crucible"
+	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+	help
+	  Crucible is a One-Time-Programmable (OTP) fusing tool for the
+	  i.MX family.
+
+	  https://github.com/usbarmory/crucible

+ 2 - 0
package/crucible/crucible.hash

@@ -0,0 +1,2 @@
+sha256  51e911ce5e2a9f182a737b71f6e2bbf46fb80bb3252220cd99ffaf54d38e6c64  crucible-v2022.05.25.tar.gz
+sha256  d88514630470aec9fa7abdc990a1e0a8751a752321bffa868188c49009d64d59  LICENSE

+ 13 - 0
package/crucible/crucible.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# crucible
+#
+################################################################################
+
+CRUCIBLE_VERSION = v2022.05.25
+CRUCIBLE_SITE = $(call github,usbarmory,crucible,$(CRUCIBLE_VERSION))
+CRUCIBLE_LICENSE = GPL-3.0
+CRUCIBLE_LICENSE_FILES = LICENSE
+CRUCIBLE_GOMOD = ./cmd/crucible
+
+$(eval $(golang-package))