mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/3] mtd-utils: spring cleanup
@ 2021-01-19 14:46 Uwe Kleine-König
  2021-01-19 14:46 ` [ptxdist] [PATCH 2/3] mtd-utils: version bump 2.1.1 -> 2.1.2 Uwe Kleine-König
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2021-01-19 14:46 UTC (permalink / raw)
  To: ptxdist

Drop unused config item MTD_UTILS_JITTERTEST which is unused since more
than 15 years.

Reactivate MTD_UTILS_JFFS2READER to install jffs2reader. This tool was
claimed to be removed upstream in commit ba0a8f624d02 (" * mtd-utils:
removed tools which are not in upstream any more"), which I failed to
find in the upstream git history.

mtdpart is a tool that was introduced in mtd-utils 1.5.2, add an
installation option for it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 rules/mtd-utils.in   | 25 ++++++++++---------------
 rules/mtd-utils.make | 11 +++++++++++
 2 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 8988ba116bdc..1a56d12dccef 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -134,23 +134,12 @@ config MTD_UTILS_JFFS2_DUMP
 	help
 	  This utility dumps the contents of a binary JFFS2 image.
 
-#config MTD_UTILS_JFFS2READER
-#	bool
-#	prompt "jffs2reader"
-#	select MTD_UTILS_JFFS
-#	help
-#	  A jffs2 image reader
-
-config MTD_UTILS_JITTERTEST
+config MTD_UTILS_JFFS2READER
 	bool
-	prompt "jittertest"
+	prompt "jffs2reader"
+	select MTD_UTILS_JFFS
 	help
-	  This program is used to measure what the jitter of a
-	  real time task would be under "standard" Linux.
-
-	  More particularly, what is the effect of running
-	  a real time task under Linux with background
-	  JFFS file system activity.
+	  A jffs2 image reader
 
 config MTD_UTILS_MTDDEBUG
 	bool
@@ -158,6 +147,12 @@ config MTD_UTILS_MTDDEBUG
 	help
 	  Does info, read, write and erase on mtd devices
 
+config MTD_UTILS_MTDPART
+	bool
+	prompt "mtdpart"
+	help
+	  Add or remove a partition from an MTD device
+
 config MTD_UTILS_NANDDUMP
 	bool
 	prompt "nanddump"
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index 52dddae8e567..df7db047624f 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -118,10 +118,21 @@ ifdef PTXCONF_MTD_UTILS_JFFS2_DUMP
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/jffs2dump)
 endif
+ifdef PTXCONF_MTD_UTILS_JFFS2READER
+	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+		/usr/sbin/jffs2reader)
+endif
+
 ifdef PTXCONF_MTD_UTILS_MTDDEBUG
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/mtd_debug)
 endif
+
+ifdef PTXCONF_MTD_UTILS_MTDPART
+	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+		/usr/sbin/mtdpart)
+endif
+
 ifdef PTXCONF_MTD_UTILS_NANDDUMP
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/nanddump)
-- 
2.30.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-03  7:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 14:46 [ptxdist] [PATCH 1/3] mtd-utils: spring cleanup Uwe Kleine-König
2021-01-19 14:46 ` [ptxdist] [PATCH 2/3] mtd-utils: version bump 2.1.1 -> 2.1.2 Uwe Kleine-König
2021-01-25  7:20   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-01-19 14:46 ` [ptxdist] [PATCH 3/3] mtd-utils: Add support for ubifs mount helper Uwe Kleine-König
2021-01-25  7:20   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-02-01 16:10 ` [ptxdist] [PATCH 1/3] mtd-utils: spring cleanup Uwe Kleine-König
2021-02-02 13:52   ` Michael Olbrich
2021-02-03  7:11 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox