From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] mtd-utils: Add option to install new tool 'ubiscan'
Date: Fri, 21 Jan 2022 08:19:45 +0100 [thread overview]
Message-ID: <20220121071945.1969119-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220110123940.67341-3-ada@thorsis.com>
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
prev parent reply other threads:[~2022-01-21 7:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Michael Olbrich [this message]
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=20220121071945.1969119-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/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