Jerry Johns wrote:

> Hello all,
>
>               Recently we manufactured our own custom boards with NAND
> chips, and we'r noticing that during ftl_format of the chip, it
> doesn't skip over bad blocks in NAND - can someone verify is skipping
> bad blocks is already supported in the montavista kernel for davinci?
>
Can you please describe the whole setup? Why are you using ftl_format?

> I've looked at the nand driver, and there seems to be a file called
> nand_bbt.c, located in drivers/mtd/nand, and it seems to support this
> assumption; however, in nand_davinci.c, the this->options for the
> driver is set to 0 (I think you need to set it to NAND_USE_FLASH_BBT
> to enable the bad block table feature...
>
Can you please elaborate on what you mean by 'skipping bad blocks'?
BTW, please keep in mind that the MTD/NAND layer is capable of
determining whether a block is bad or not without NAND_USE_FLASH_BBT.

Thanks,
   Vitaly

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to