On Tue, Jun 24, 2014 at 12:12 PM, Richard Genoud <[email protected]> wrote: > The 1st patch corrects a bug where nanddump was stuck in an infinite loop > when dumping a bad block. > > The 3 others synchronise nanddump with the mtd-utils behaviour. > > nanddump in mtd-utils are using now the options: > bb=[skipbad|padbad|dumpbad] > instead of omitbad. > And the new default behaviour is the skipbad method, which is generaly > what we are expecting: > > nandwrite /dev/mtd0 padded_file > nanddump -f read_file -l $(wc -c < padded_file) /dev/mtd0 > With mtd-utils, padded_file and read_file will be the same. > (and with the omitbad method, they won't) > > Change since v1: > * two ifs are combined into one in patch 4/4 to add more lisibility. > > Richard Genoud (4): > nanddump: correct rounding to next page (lead to infinite loop) > nanddump: add options --bb=skipbad and padbad > nanddump: nanddump: change default to --bb=skipbad > nanddump: kill -b Omit bad block
Applied, thanks! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
