[U-Boot] [PATCH 1/2] mtd: denali: improve nand_read_oob and fix nand_write_oob
Scott Wood
scottwood at freescale.com
Tue Apr 22 21:12:00 CEST 2014
On Tue, 2014-04-22 at 10:04 +0900, Masahiro Yamada wrote:
> Hi Scott,
>
>
> > > It is really really painful to wait more than 10 seconds just for bad block
> > > scanning to boot Linux.
> >
> > Making bad block scans faster is a good thing, but why do you need to
> > scan them just to boot Linux? Aren't you using an on-flash BBT?
>
> I did not know that.
> I thought all blocks must be scanned.
>
> Could you teach me the better way?
If you use NAND_BBT_USE_FLASH, and NAND_BBT_CREATE is present in the bbt
descriptor (this is true of the default descriptors), then the scanning
should only need to happen on first use. On subsequent boots only the
bad block table should need to be read.
-Scott
More information about the U-Boot
mailing list