Skip to content

prepare new nanddump options, defaults

Brian Norris linux-mtd 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 18 repliesIn review
  2. v27 patches 5 repliesSuperseded
  3. v16 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7nanddump: add --bb=METHOD optionnanddump.c+45 -220 replies
2/7nanddump: remove --skipbad, leaving --bb=skipbadnanddump.c+1 -120 replies
3/7nanddump: update help message for BB method changesnanddump.c+25 -70 replies
4/7nanddump: warn about new default BB handlingnanddump.c+5 -00 replies
5/7feature-removal-schedule: describe nanddump changesfeature-removal-schedule.txt+26 -00 replies
6/7nanddump: add --oob optionnanddump.c+5 -00 replies
7/7nanddump: document, warn about future default --omitoobfeature-removal-schedule.txt nanddump.c+39 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] prepare new nanddump options, defaults

Hello,

I think this should be the last version necessary for this particular patch series...

This series adds, changes, and deprecates several nanddump options, helping make nanddump a closer inverse to nandwrite. This is mostly a preparation for the next release, when several defaults might change. A short list of the planned changes:

* unify bad block methods under `--bb=METHOD', deprecating old ones
* kill --omitbad in favor of --bb=skipbad
* skip bad blocks by default (i.e., --bb=skipbad)
* do not dump OOB by default (--omitoob)
* add `--oob' to force dumping OOB

Please let me know when these are accepted and the 1.4.5 release is made, so I can send a proper patchset to clean this all up as planned for the 1.4.6 release.

BTW, is each utility supposed to have its own version? (e.g., nanddump has version 1.30?) Should these versions be kept in any kind of sync with the mtd-utils revision tags? And does Artem take care of this stuff?

Thanks,
Brian

Brian Norris (7):
nanddump: add --bb=METHOD option
nanddump: remove --skipbad, leaving --bb=skipbad
nanddump: update help message for BB method changes
nanddump: warn about new default BB handling
feature-removal-schedule: describe nanddump changes
nanddump: add --oob option
nanddump: document, warn about future default --omitoob

 feature-removal-schedule.txt |   37 ++++++++++++
 nanddump.c                   |  132 +++++++++++++++++++++++++++++++-----------
 2 files changed, 134 insertions(+), 35 deletions(-)