From: Thomas Weber <thomas.x.weber@gmail.com>
To: buildroot@buildroot.org
Cc: Thomas Weber <thomas.weber@corscience.com>
Subject: [Buildroot] [PATCH 1/1] sdmon: new package
Date: Wed, 6 May 2026 17:27:55 +0200 [thread overview]
Message-ID: <20260506152755.399373-1-thomas.weber@corscience.com> (raw)
sdmon reads out the health data of some industrial grade SD cards.
Signed-off-by: Thomas Weber <thomas.weber@corscience.com>
---
package/Config.in | 1 +
package/sdmon/Config.in | 10 ++++++++++
package/sdmon/sdmon.hash | 2 ++
package/sdmon/sdmon.mk | 22 ++++++++++++++++++++++
4 files changed, 35 insertions(+)
create mode 100644 package/sdmon/Config.in
create mode 100644 package/sdmon/sdmon.hash
create mode 100644 package/sdmon/sdmon.mk
diff --git a/package/Config.in b/package/Config.in
index 9cae377fb5..9f27f62680 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -240,6 +240,7 @@ menu "Filesystem and flash utilities"
source "package/nfs-utils/Config.in"
source "package/nilfs-utils/Config.in"
source "package/ntfs-3g/Config.in"
+ source "package/sdmon/Config.in"
source "package/sp-oops-extract/Config.in"
source "package/squashfs/Config.in"
source "package/sshfs/Config.in"
diff --git a/package/sdmon/Config.in b/package/sdmon/Config.in
new file mode 100644
index 0000000000..121063a1d1
--- /dev/null
+++ b/package/sdmon/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_SDMON
+ bool "sdmon"
+ help
+ sdmon reads out the health data of some industrial grade SD Cards.
+ sdmon uses CMD56 of the SD card specification.
+ The output of the program is JSON so that it can be parsed easier in
+ applications using sdmon
+
+ https://www.ogi-it.com/portfolio/sdmon/
+
diff --git a/package/sdmon/sdmon.hash b/package/sdmon/sdmon.hash
new file mode 100644
index 0000000000..7f551e3449
--- /dev/null
+++ b/package/sdmon/sdmon.hash
@@ -0,0 +1,2 @@
+sha256 641c3d0cfa3efa23bb7deecaaef1271916065cd0a20d6f63594c7ad6b37fa3ca v0.9.0.tar.gz
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
diff --git a/package/sdmon/sdmon.mk b/package/sdmon/sdmon.mk
new file mode 100644
index 0000000000..2baf70f4b0
--- /dev/null
+++ b/package/sdmon/sdmon.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# sdmon
+#
+################################################################################
+
+SDMON_VERSION = 0.9.0
+SDMON_SOURCE = v$(SDMON_VERSION).tar.gz
+SDMON_SITE = https://github.com/Ognian/sdmon/archive/refs/tags
+SDMON_LICENSE = GPL-2.0
+SDMON_LICENSE_FILES = LICENSE
+
+define SDMON_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS='$(TARGET_CFLAGS) -DVERSION=\"$(SDMON_VERSION)\"' -C $(@D)/src
+endef
+
+define SDMON_INSTALL_TARGET_CMDS
+ $(info Installing sdmon $(SDMON_VERSION))
+ $(INSTALL) -D -m 0755 $(@D)/src/sdmon $(TARGET_DIR)/usr/bin/sdmon
+endef
+
+$(eval $(generic-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2026-05-06 15:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260506152755.399373-1-thomas.weber@corscience.com \
--to=thomas.x.weber@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.weber@corscience.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox