On 2013-08-09 10:54 PM, Joe XUE wrote: > NAND flash has very possibility to has 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 meet 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. Please change the patch to limit this behavior to NAND flash. On NOR flash it should always fail if it cannot erase a block.
Thanks, - Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
