[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 00:21:14 CEST 2014


On Fri, 2014-04-18 at 20:30 +0900, Masahiro Yamada wrote:
> [2] Make denali_read_oob()  10x faster.
> 
> One of the fatal issues of v7 is "nand bad" command is extremely slow.
> 
> This is the benchmark of v7
> 
>   => time nand bad
> 
>   Device 0 bad blocks:
> 
>   time: 11.300 seconds, 11300 ticks
> 
> 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?

-Scott




More information about the U-Boot mailing list