hello,
following the p2041 RM, large page devices: 2048byte main area + 64 bytes spare area.
MY NAND FLASH MT29F32G08,
page size:(8192byte+448bytes)
block size: 128pages (1024k+56kbytes)
plane size: 2 planes * 2048blocks per plane
device size: 32Gb:4096blocks
some questions:
1) I donot know how to config my page size, which is bigger than the large page device.
the FCM buffer RAM 4K cannot cover my page size.
2) how to enable the ECC for the nandFlash?
eLBC_BR[DECC] ?
THANKS.
Solved! Go to Solution.
The P2041 NAND Flash control machine (FCM) is compatible with small (512 + 16 bytes) and large (2048 + 64 bytes) page parallel NAND Flash EEPROMs - refer to the P2040 QorIQ Integrated Multicore Communication Processor Family Reference Manual, 13.1.2 Features.
NAND devices with 4kB and 8kB pages are not supported.
thanks for your reply.
the p2041 cannot support the 8Kb page NAND flash.
If I want to use the 32Gbit NAND Flash, what should I do?
1. change nandFLash ?
2. change ppc?
In addition it is possible to use a MMC device connected to eSDHC controller.
follow the RDB2041 ,we has choose the MT29F32G08 as the nandFlash.
I must use the 32Gbit NAND Flash, please give me some suggestion?
thanks.
According to the Micron datasheet the MT29F32G08 has 4kB page.
Please note that there is additional limitation - the FCM controller is capable to correct only one bit error in 512-bit block, while modern NAND chips require 4-bit or 8-bit correction capability.
There are NAND Flash devices having internal ECC, but this option is not supported by NAND driver provided in the Linux SDK.
thanks, the datasheet show pagesize: 8K., the nandFlash need Minimum required ECC 8-bit ECC per 540 bytes of data .
1) in your opinion, the p2041 has the hardware ECC, which is not supported in the linux sdk?
I must write the code by myself?
2) you have said "NAND devices with 4kB and 8kB pages are not supported" by p2041, can I use the 8K page nandFlash?
I am very confused.
In my case the datasheet says:
1) The Linux SDK fully supports the P2041 FCM capabilities - it does not support internal NAND (built in NAND chip) ECC capability.
2) 4096 bytes = 4kB = 4K
8192 bytes = 8kB = 8K
> can I use the 8K page nandFlash?
This NAND flash is not supported by the FCM.
thanks .
may be another question, does the fsl qorid ppc suport the 32Gbit nand flash?
which ppc FCM support the 32Gbit nand flash?
Please select a processor with IFC controller instead of eLBC.
hello ufedor:
I want to find the nandflash driver in the linux sdk .
1) download Virtual Host Enviroment: QorIQ DPAA SDK v1.9 PPCE500MC with Virtual Host Enviroment
2) cd /SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2041rdb/tmp/work-shared/p2041rdb/kernel-source/drivers/mtd/nand
which c source will fit the nandFlash MT29F2G08AAD?
thanks for your help.
It is not convenient to combine logically unconnected questions.
Please create new discussion.
got it, i has created the new discussion, please help me,
thanks.