All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Support skipping bad blocks when seeking to start address
@ 2017-01-04 14:18 Mike Crowe
  2017-01-04 14:18 ` [PATCH 1/2] nandwrite: Add --skip-bad-blocks-to-start option Mike Crowe
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mike Crowe @ 2017-01-04 14:18 UTC (permalink / raw)
  To: linux-mtd; +Cc: Mike Crowe

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
<cdfdbe5d-1aa8-e424-7691-338d0d63f7b1@sigma-star.at> 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(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/2] Support skipping bad blocks when seeking to start address
@ 2017-01-17 11:54 Mike Crowe
  2017-01-23  6:47 ` David Oberhollenzer
  0 siblings, 1 reply; 12+ messages in thread
From: Mike Crowe @ 2017-01-17 11:54 UTC (permalink / raw)
  To: linux-mtd; +Cc: Mike Crowe, David Oberhollenzer, richard

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
<cdfdbe5d-1aa8-e424-7691-338d0d63f7b1 at sigma-star.at>
http://lists.infradead.org/pipermail/linux-mtd/2016-December/070855.html
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.

This version uses is_virt_block_bad in nandwrite, so the series now depends
on David Oberhollenzer's virtual block handling fixes from
<20170112102828.13124-1-david.oberhollenzer@sigma-star.at>
http://lists.infradead.org/pipermail/linux-mtd/2017-January/071544.html

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(+)

-- 
2.1.4

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

end of thread, other threads:[~2017-01-23  6:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 14:18 [PATCH 0/2] Support skipping bad blocks when seeking to start address Mike Crowe
2017-01-04 14:18 ` [PATCH 1/2] nandwrite: Add --skip-bad-blocks-to-start option Mike Crowe
2017-01-04 14:18 ` [PATCH 2/2] nanddump: " Mike Crowe
2017-01-05 13:38 ` [PATCH 0/2] Support skipping bad blocks when seeking to start address goliath
2017-01-05 14:18   ` Mike Crowe
2017-01-05 14:48     ` Boris Brezillon
2017-01-05 15:04       ` Mike Crowe
2017-01-09 12:18         ` David Oberhollenzer
2017-01-09 14:51           ` Mike Crowe
2017-01-11 16:22             ` Mike Crowe
2017-01-17 11:54 Mike Crowe
2017-01-23  6:47 ` David Oberhollenzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.