
22 Apr
2014
22 Apr
'14
9:12 p.m.
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