openwrtv3/package/system/mtd/src
Felix Fietkau 608f4fe3b0 mtd: add support for bad blocks in NAND flash
NAND flash is very likely to contain bad blocks.

Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.

This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.

Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40021
2014-03-26 10:50:09 +00:00
..
crc32.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
crc32.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
imagetag.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
jffs2.c mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
jffs2.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
Makefile mtd: add a "mtd verify" call 2013-11-19 20:56:23 +00:00
md5.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
md5.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
mtd.c mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
mtd.h mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
seama.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
seama.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
trx.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00