This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

JFFS2 file system cannot work on a 512MB nand (DM355 board)

Hi,

In my old dm355 board, I use a 32MB nand (k9f5608u0m), and a jffs2 file system is used in a nand partition. It works fine. Then, I change to a 512MB nand (k9f4g08u0m) without changing the circuit or the driver because the kernel said it supports the 2K page nand. The jffs2 file system cannot work. It makes mistakes now and then when mounting, writing or reading. Have no idea where's the root cause. Is it the problem of the nand driver? or the jffs2 system which is not campatible with the nand? Looking forward to any clues, thanks!

Lily 

 

Following are the mistakes: 

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00900000: 0x0ea9 in
stead

ECC_STATE_TOO_MANY_ERRS
mtd->read(0x44 bytes from 0x1fc0080) returned ECC error
Data CRC failed on REF_PRISTINE data node at 0x01fc0500: Read 0x74a9d9d6, calcul
ated 0x32a3205a

 

mtd->read(0x44 bytes from 0x1ce0480) returned ECC error
jffs2_get_inode_nodes(): Data CRC failed on node at 0x01ce0480: Read 0x9b9c4fd6,
calculated 0x339c985d
 

///////////////////////////////////////////////////////////////////////