busybox/miscutils
Richard Genoud f17fbe1d36 nanddump: add options --bb=skipbad and padbad
In mtd-utils, the bad block options changed in favor of
--bb=[skipbad|padbad|dumpbad] and omitbad has been removed.

This patch add the --bb=skipbad and padbad methods to busybox' nanddump.
padbad is the current default behaviour.
The difference between skipbad and omitbad is this one:
On a 16K block NAND, if the 1st block of mtd0 is bad, we'll have:
nanddump  -b -l 16384 /dev/mtd0 | wc -c
0
nanddump  --bb=skipbad -l 16384 /dev/mtd0 | wc -c
16384 <- data from 1st good block

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-06-25 17:37:01 +02:00
..
2013-10-08 14:53:29 +02:00
2013-01-18 13:30:13 +01:00
2013-11-26 12:12:27 +01:00
2013-03-15 00:42:39 +01:00
2013-01-28 12:26:29 +01:00
2013-01-14 01:34:48 +01:00
2014-05-02 07:18:55 +02:00
2011-05-30 23:00:47 +02:00
2014-03-03 15:14:26 +01:00
2011-10-28 14:07:44 +02:00
2013-01-15 13:58:01 +01:00
2013-01-15 13:58:01 +01:00
2013-08-04 21:07:20 +02:00
2013-10-08 14:53:29 +02:00