[Bug 4856] New: [PATCH] correct nanddump behaviour

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 6 09:56:38 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=4856

           Summary: [PATCH] correct nanddump behaviour
           Product: Busybox
           Version: 1.18.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: richard.genoud at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created attachment 4076
  --> https://bugs.busybox.net/attachment.cgi?id=4076
patch correcting nanddump behaviour with bad blocks

There's an infinite loop in nanddump when dumping a bad block.
Moreover, bad blocks are dumped even if the -b option is given.

The attached patch corrects those points:
- dump the specified length when -b is given
- do not dump the bad blocks when -b is given
- when dumping a bad block, len should be aligned on next page aligned only if
it's not already page aligned in order to dump the right size.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list