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
}
}
}
--
1.8.1.2
> Date: Sat, 10 Aug 2013 20:38:52 +0200
> From: n...@openwrt.org
> To: lg...@hotmail.com
> CC: openwrt-devel@lists.openwrt.org
> Subject: Re: [PATCH] Let MTD support skipping bad chunks
>
> On 2013-08-09 10:54 PM, Joe XUE wrote:
&g
}
}
}
--
1.8.1.2
> Date: Mon, 12 Aug 2013 07:57:02 +0200
> From: n...@openwrt.org
> To: lg...@hotmail.com
> CC: openwrt-devel@lists.openwrt.org
> Subject: Re: [PATCH] Let MTD support skipping bad chunks
>
>
urate.
modified: package/system/mtd/src/mtd.c
Signed-off-by: Joe Xue
---
package/system/mtd/src/mtd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c
index a660486..916bc63 100644
--- a/package/system/mt