This brings a new tool ubihealthd.
Signed-off-by: Uwe Kleine-König <[email protected]>
---
.../0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch | 0
patches/{mtd-utils-2.1.1 => mtd-utils-2.1.2}/autogen.sh | 0
patches/{mtd-utils-2.1.1 => mtd-utils-2.1.2}/series | 0
rules/mtd-utils.in | 7 +++++++
rules/mtd-utils.make | 8 ++++++--
5 files changed, 13 insertions(+), 2 deletions(-)
rename patches/{mtd-utils-2.1.1 =>
mtd-utils-2.1.2}/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch (100%)
rename patches/{mtd-utils-2.1.1 => mtd-utils-2.1.2}/autogen.sh (100%)
rename patches/{mtd-utils-2.1.1 => mtd-utils-2.1.2}/series (100%)
diff --git
a/patches/mtd-utils-2.1.1/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
b/patches/mtd-utils-2.1.2/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
similarity index 100%
rename from
patches/mtd-utils-2.1.1/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
rename to
patches/mtd-utils-2.1.2/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
diff --git a/patches/mtd-utils-2.1.1/autogen.sh
b/patches/mtd-utils-2.1.2/autogen.sh
similarity index 100%
rename from patches/mtd-utils-2.1.1/autogen.sh
rename to patches/mtd-utils-2.1.2/autogen.sh
diff --git a/patches/mtd-utils-2.1.1/series b/patches/mtd-utils-2.1.2/series
similarity index 100%
rename from patches/mtd-utils-2.1.1/series
rename to patches/mtd-utils-2.1.2/series
diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 1a56d12dccef..cdf8b15adfac 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -288,6 +288,13 @@ config MTD_UTILS_UBIFORMAT
help
Format an MTD device
+config MTD_UTILS_UBIHEALTHD
+ bool
+ prompt "ubihealthd"
+ help
+ Daemon that randomly scans each PEB of a UBI device to ensure that
+ filesystems with little reading do enough wear leveling.
+
config MTD_UTILS_UBIMKVOL
bool
prompt "ubimkvol"
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index df7db047624f..a5a12b3d14a9 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_MTD_UTILS) += mtd-utils
#
# Paths and names
#
-MTD_UTILS_VERSION := 2.1.1
-MTD_UTILS_MD5 := 94bbd31b217a5169ae26ab8c0442f691
+MTD_UTILS_VERSION := 2.1.2
+MTD_UTILS_MD5 := 19191bc0195a779c0bd1284c886084ab
MTD_UTILS := mtd-utils-$(MTD_UTILS_VERSION)
MTD_UTILS_SUFFIX := tar.bz2
MTD_UTILS_URL :=
ftp://ftp.infradead.org/pub/mtd-utils/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)
@@ -197,6 +197,10 @@ ifdef PTXCONF_MTD_UTILS_UBICRC32
@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
/usr/sbin/ubicrc32)
endif
+ifdef PTXCONF_MTD_UTILS_UBIHEALTHD
+ @$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+ /usr/sbin/ubihealthd)
+endif
ifdef PTXCONF_MTD_UTILS_UBIMKVOL
@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
/usr/sbin/ubimkvol)
--
2.30.0
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]