[U-Boot] NAND bad block table

Scott Wood scottwood at freescale.com
Tue Feb 4 21:46:56 CET 2014


On Tue, 2014-02-04 at 13:43 +0100, Michal Simek wrote:
> Hi Scott and others,
> 
> I have a question regarding BBT position and number of blocks allocated
> for BBT.
> 
> Did you face the issue with last 4 blocks broken in any NAND flash
> device since the default option in Linux/u-boot BBM is last 4 blocks?
> 
> It doesn't mean that if the last 4 blocks are broken than the NAND flash
> device is broken too.
> Also I haven't seen any common binding for Linux kernel to change it.
> 
> Has someone tried to improve this algorithm or process of storing BBT in a better way.
> For example just look for BBT from the end till any limit?

I don't recall if I've ever tested it personally, but that sort of
scanning is already there.  Have you seen a problem with it?

-Scott




More information about the U-Boot mailing list