[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH v2 0/4] nanddump: synchronise with mdt-utils new options
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2014-06-25 15:39:33
Message-ID: CAK1hOcNrg8Hev3yXqvZEAoeocsdMCbVkHjHOs+cxNRsbucAkrw () mail ! gmail ! com
[Download RAW message or body]

On Tue, Jun 24, 2014 at 12:12 PM, Richard Genoud
<richard.genoud@gmail.com> 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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic