mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] mtd-utils: Bump version and add ubiscan
@ 2022-01-10 12:39 Alexander Dahl
  2022-01-10 12:39 ` [ptxdist] [PATCH 1/2] mtd-utils: version bump 2.1.3 -> 2.1.4 Alexander Dahl
  2022-01-10 12:39 ` [ptxdist] [PATCH 2/2] mtd-utils: Add option to install new tool 'ubiscan' Alexander Dahl
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Dahl @ 2022-01-10 12:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Hei hei,

the recently announced new version 2.1.4 of mtd-utils comes with a new
tool 'ubiscan'. This is useful to get a quick picture of PEB erase
counters on a NAND flash.

Greets
Alex

Alexander Dahl (2):
  mtd-utils: version bump 2.1.3 -> 2.1.4
  mtd-utils: Add option to install new tool 'ubiscan'

 .../0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch | 0
 patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/autogen.sh   | 0
 patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/series       | 0
 rules/mtd-utils.in                                        | 8 ++++++++
 rules/mtd-utils.make                                      | 8 ++++++--
 5 files changed, 14 insertions(+), 2 deletions(-)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch (100%)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/autogen.sh (100%)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/series (100%)


base-commit: b90da4e990ee000187617533ebdc1efbdc3ce9ba
-- 
2.20.1


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


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

* [ptxdist] [PATCH 1/2] mtd-utils: version bump 2.1.3 -> 2.1.4
  2022-01-10 12:39 [ptxdist] [PATCH 0/2] mtd-utils: Bump version and add ubiscan Alexander Dahl
@ 2022-01-10 12:39 ` Alexander Dahl
  2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
  2022-01-10 12:39 ` [ptxdist] [PATCH 2/2] mtd-utils: Add option to install new tool 'ubiscan' Alexander Dahl
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Dahl @ 2022-01-10 12:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Link: http://lists.infradead.org/pipermail/linux-mtd/2022-January/090742.html
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 .../0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch     | 0
 patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/autogen.sh       | 0
 patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/series           | 0
 rules/mtd-utils.make                                          | 4 ++--
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch (100%)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/autogen.sh (100%)
 rename patches/{mtd-utils-2.1.3 => mtd-utils-2.1.4}/series (100%)

diff --git a/patches/mtd-utils-2.1.3/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch b/patches/mtd-utils-2.1.4/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
similarity index 100%
rename from patches/mtd-utils-2.1.3/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
rename to patches/mtd-utils-2.1.4/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
diff --git a/patches/mtd-utils-2.1.3/autogen.sh b/patches/mtd-utils-2.1.4/autogen.sh
similarity index 100%
rename from patches/mtd-utils-2.1.3/autogen.sh
rename to patches/mtd-utils-2.1.4/autogen.sh
diff --git a/patches/mtd-utils-2.1.3/series b/patches/mtd-utils-2.1.4/series
similarity index 100%
rename from patches/mtd-utils-2.1.3/series
rename to patches/mtd-utils-2.1.4/series
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index d96ab02b0..7414c6b58 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.3
-MTD_UTILS_MD5		:= 32f3e1dcb21adb1185e994f7b2bf14d8
+MTD_UTILS_VERSION	:= 2.1.4
+MTD_UTILS_MD5		:= f1dc14163903dfecd4fe474e0fdcf606
 MTD_UTILS		:= mtd-utils-$(MTD_UTILS_VERSION)
 MTD_UTILS_SUFFIX	:= tar.bz2
 MTD_UTILS_URL		:= https://infraroot.at/pub/mtd/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)
-- 
2.20.1


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


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

* [ptxdist] [PATCH 2/2] mtd-utils: Add option to install new tool 'ubiscan'
  2022-01-10 12:39 [ptxdist] [PATCH 0/2] mtd-utils: Bump version and add ubiscan Alexander Dahl
  2022-01-10 12:39 ` [ptxdist] [PATCH 1/2] mtd-utils: version bump 2.1.3 -> 2.1.4 Alexander Dahl
@ 2022-01-10 12:39 ` Alexander Dahl
  2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Dahl @ 2022-01-10 12:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

The ubiscan utility was introduced with mtd-utils 2.1.4 and gives an
overview over actual PEB erase counts.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/mtd-utils.in   | 8 ++++++++
 rules/mtd-utils.make | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 0d8fb5f5a..bd7ce9449 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -363,6 +363,14 @@ config MTD_UTILS_UBIRMVOL
 comment "busybox' ubirmvol is selected!"
 	depends on BUSYBOX_UBIRMVOL
 
+config MTD_UTILS_UBISCAN
+	bool
+	prompt "ubiscan"
+	help
+	  ubiscan will scan the PEBs in a specific MTD device and print
+	  a summary of the PEB erase counters and (optionally) details
+	  about each PEB's status.
+
 config MTD_UTILS_UBIUPDATEVOL
 	bool
 	prompt "ubiupdatevol"
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index 7414c6b58..a049e9896 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -228,6 +228,10 @@ ifdef PTXCONF_MTD_UTILS_UBIRMVOL
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/ubirmvol)
 endif
+ifdef PTXCONF_MTD_UTILS_UBISCAN
+	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+		/usr/sbin/ubiscan)
+endif
 ifdef PTXCONF_MTD_UTILS_UBIUPDATEVOL
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/ubiupdatevol)
-- 
2.20.1


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


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

* Re: [ptxdist] [APPLIED] mtd-utils: version bump 2.1.3 -> 2.1.4
  2022-01-10 12:39 ` [ptxdist] [PATCH 1/2] mtd-utils: version bump 2.1.3 -> 2.1.4 Alexander Dahl
@ 2022-01-21  7:19   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-01-21  7:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as df2946c8306b1ba0b1ec692caaa3552cefda47c6.

Michael

[sent from post-receive hook]

On Fri, 21 Jan 2022 08:19:43 +0100, Alexander Dahl <ada@thorsis.com> wrote:
> Link: http://lists.infradead.org/pipermail/linux-mtd/2022-January/090742.html
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20220110123940.67341-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/mtd-utils-2.1.3/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch b/patches/mtd-utils-2.1.4/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
> similarity index 100%
> rename from patches/mtd-utils-2.1.3/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
> rename to patches/mtd-utils-2.1.4/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
> diff --git a/patches/mtd-utils-2.1.3/autogen.sh b/patches/mtd-utils-2.1.4/autogen.sh
> similarity index 100%
> rename from patches/mtd-utils-2.1.3/autogen.sh
> rename to patches/mtd-utils-2.1.4/autogen.sh
> diff --git a/patches/mtd-utils-2.1.3/series b/patches/mtd-utils-2.1.4/series
> similarity index 100%
> rename from patches/mtd-utils-2.1.3/series
> rename to patches/mtd-utils-2.1.4/series
> diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
> index d96ab02b0a7d..7414c6b58dd6 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.3
> -MTD_UTILS_MD5		:= 32f3e1dcb21adb1185e994f7b2bf14d8
> +MTD_UTILS_VERSION	:= 2.1.4
> +MTD_UTILS_MD5		:= f1dc14163903dfecd4fe474e0fdcf606
>  MTD_UTILS		:= mtd-utils-$(MTD_UTILS_VERSION)
>  MTD_UTILS_SUFFIX	:= tar.bz2
>  MTD_UTILS_URL		:= https://infraroot.at/pub/mtd/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)

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


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

* Re: [ptxdist] [APPLIED] mtd-utils: Add option to install new tool 'ubiscan'
  2022-01-10 12:39 ` [ptxdist] [PATCH 2/2] mtd-utils: Add option to install new tool 'ubiscan' Alexander Dahl
@ 2022-01-21  7:19   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-01-21  7:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as e348da7b9d2883e3fba1513db815e1389cd3876e.

Michael

[sent from post-receive hook]

On Fri, 21 Jan 2022 08:19:44 +0100, Alexander Dahl <ada@thorsis.com> wrote:
> The ubiscan utility was introduced with mtd-utils 2.1.4 and gives an
> overview over actual PEB erase counts.
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20220110123940.67341-3-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
> index 0d8fb5f5a0df..bd7ce94493e5 100644
> --- a/rules/mtd-utils.in
> +++ b/rules/mtd-utils.in
> @@ -363,6 +363,14 @@ config MTD_UTILS_UBIRMVOL
>  comment "busybox' ubirmvol is selected!"
>  	depends on BUSYBOX_UBIRMVOL
>  
> +config MTD_UTILS_UBISCAN
> +	bool
> +	prompt "ubiscan"
> +	help
> +	  ubiscan will scan the PEBs in a specific MTD device and print
> +	  a summary of the PEB erase counters and (optionally) details
> +	  about each PEB's status.
> +
>  config MTD_UTILS_UBIUPDATEVOL
>  	bool
>  	prompt "ubiupdatevol"
> diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
> index 7414c6b58dd6..a049e9896678 100644
> --- a/rules/mtd-utils.make
> +++ b/rules/mtd-utils.make
> @@ -228,6 +228,10 @@ ifdef PTXCONF_MTD_UTILS_UBIRMVOL
>  	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
>  		/usr/sbin/ubirmvol)
>  endif
> +ifdef PTXCONF_MTD_UTILS_UBISCAN
> +	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
> +		/usr/sbin/ubiscan)
> +endif
>  ifdef PTXCONF_MTD_UTILS_UBIUPDATEVOL
>  	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
>  		/usr/sbin/ubiupdatevol)

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


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

end of thread, other threads:[~2022-01-21  7:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 12:39 [ptxdist] [PATCH 0/2] mtd-utils: Bump version and add ubiscan Alexander Dahl
2022-01-10 12:39 ` [ptxdist] [PATCH 1/2] mtd-utils: version bump 2.1.3 -> 2.1.4 Alexander Dahl
2022-01-21  7:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-10 12:39 ` [ptxdist] [PATCH 2/2] mtd-utils: Add option to install new tool 'ubiscan' Alexander Dahl
2022-01-21  7:19   ` [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