On Tue, 2014-04-22 at 14:12 -0500, Scott Wood wrote: > 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.
Yup, I agreed with this statement :) I believe this bad block table can be used by kernel in later stage. Probably someone can comment if I am wrong. Thanks Chin Liang > > -Scott > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot