[U-Boot] QorIQ P1020 NAND Flash 2k-Page-Size Problem
Allan Fislor
allan.fislor at gmail.com
Tue Aug 5 21:48:21 CEST 2014
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.
The ID is read correctly (Micron MT29F2G08ABAEAWP):
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V
8-bit), page size: 2048, OOB size: 64
NAND info also seems OK:
=> nand info
Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
I tried to enable "#define CONFIG_SYS_NAND_ONFI_DETECTION", but the command
READ_ID at address 0x20 does not return "ONFI".
I tried U-Boot versions 2014.04 and 2014.07, same problem in both.
Any suggestions/ideas?
Best regards,
--
Allan
More information about the U-Boot
mailing list