Skip to content

Support skipping bad blocks when seeking to start address

Mike Crowe linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nandwrite: Add --skip-bad-blocks-to-start optionnand-utils/nandwrite.c+26 -00 replies
2/2nanddump: Add --skip-bad-blocks-to-start optionnand-utils/nanddump.c+23 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Support skipping bad blocks when seeking to start address

I found myself needing to write and verify part of a partition that will be read by the bootloader by skipping blocks from the start of the partition. Initially I added separate --input-skip and --output-skip options but David Oberhollenzer suggested in <[email protected]> that a simple flag to indicate that the start address should skip bad blocks would avoid ambiguity.

David also suggested that I skip the bad blocks in a separate step before the already-cluttered main loop.

Mike Crowe (2):
nandwrite: Add --skip-bad-blocks-to-start option
nanddump: Add --skip-bad-blocks-to-start option

 nand-utils/nanddump.c  | 23 +++++++++++++++++++++++
 nand-utils/nandwrite.c | 26 ++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
Signature · 1 line
2.1.4