[U-Boot] handling of bad blocks in nand

Scott Wood scottwood at freescale.com
Fri Jul 9 20:15:43 CEST 2010


On Fri, Jul 09, 2010 at 08:56:40AM -0400, Ben Gardiner wrote:
> If you are putting an MTD filesystem in that partition then the
> filesystem itself will take care of bad blocks that might occur in the
> partition during runtime. During the flash programming of this
> filesystem using nand write.jffs2 (or .e) will skip bad blocks that
> might occur in the partition.
> 
> If you are putting an image (kernel or initrd) into the partition then
> the 'nand read.e' and 'nand write.e' (as well as mtd-utils nandwrite)
> will handle bad blocks by skipping over them.

On any recent u-boot, the .jffs2/.e/.i suffixes are maintained for
compatibility only -- bad block skipping is now the default behavior.

-Scott


More information about the U-Boot mailing list