On 2013-08-12 1:54 AM, Joe XUE wrote: > NAND flash has very high possibility to have bad blocks. > > Some bootloaders such as u-boot support to skip bad blocks when it read > the kernel image from NAND falsh. > > For now, the mtd just exits when it meets the bad block. That means even > there is one bad block in NAND flash, then we can't use mtd to write > image to it. > > Change to let mtd skip bad blocks when it is writing the image to NAND > flash. > > modified: package/system/mtd/src/mtd.c The email does not preserve whitespace, so the patch doesn't apply (probably because it was sent as HTML email). Please fix your email client settings and resend (or use git-send-email).
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel