Problem with ST Micro NAND Flash (256MB x 8) on AT91SAM9261

CK Sim cksim at singnet.com.sg
Wed Sep 26 15:56:24 EDT 2007


Hi,

I have encountered a problem with writing a jffs2 root filesystem image into
the NAND part (2Gbits) from ST Micro.

The NAND flash uses large page size (2048).


I have done the following tests:
1) "flash_eraseall  /dev/mtd1" --- erase NAND Flash (with and without -j
option) => erase is OK
2) "nandwrite" jffs2 image ---- writing did not produce any errors
3) Mounting with "mount -t jffs2 /dev/mtdblock1 /mnt" give long list of ECC
& MAGIC BITMASK error messages
4) "mtd_debug info" indicates that "mtd.ecctype=unknown"
5) Did a "nanddump"  with "-p" option to a text file. Analyse the generated
file and noted that the first 3 bytes were "85 85 19" instead of starting as
"85 19"
6) Confirmed on the jffs2 image file that the starting bytes are "85 19"

Is there a known issue in supporting this ST Micro's NAND Flash in the
mtd-utils ?

Has anyone encountered similar problems and got it resolved ?

Any help would be appreciated.

Thanks in advance.




More information about the linux-mtd mailing list