[U-Boot] [PATCH v6 4/7] jz4740 nand driver

Scott Wood scottwood at freescale.com
Fri Mar 25 17:04:43 CET 2011


On Fri, 25 Mar 2011 17:17:17 +0800
Xiangfu Liu <xiangfu at openmobilefree.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 03/08/2011 07:44 AM, Scott Wood wrote:
> > You don't set nand->options...
> > 
> > Don't you want a bad block table?
> > 
> 
> hmm... some question. a little confuse.
> 
> 1. I using all rest of nand as rootfs partition.
>    do I have keep some space in nand for BBT?

The last block or so is marked reserved for the BBT.

> 2. do I have to tell u-boot where is the BBT?

No, it's marked with a special OOB marker.  If it isn't present, it will
create it at the end of the chip.

> 3. do I need some configure in linux kernel for BBT?

Set the nand->options flag, same as in U-Boot.

-Scott



More information about the U-Boot mailing list