[U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem

Scott Wood scottwood at freescale.com
Wed Aug 6 20:58:34 CEST 2014


On Tue, 2014-08-05 at 16:48 -0300, Allan Fislor wrote:
> Hi all,
> 
> I have a custom Freescale QorIQ P1020 board, with a serial NOR Flash (eSPI
> bus) and a NAND Flash (eLBC/FCM bus). Im booting from the NOR flash.
> 
> The old NAND (512 bytes page size) was working perfectly, so I swapped for
> another with 2k bytes page size.
> 
> I changed in the config file:
> 
>    CONFIG_SYS_NAND_OR_PRELIM: added OR_FCM_PGS option
> 
>    CONFIG_SYS_NAND_BLOCK_SIZE: set to (128 * 1024)
> 
> 
> But this new NAND flash does not work. If I enter the command "nand
> erase.chip", all sectors appears with bad block.

Are the timings correct for your new NAND chip?

What do you see if you dump the raw NAND contents?

Have you seen this behavior with more than one instance of the new flash
chip type?

-Scott




More information about the U-Boot mailing list