2k Page support for the mtd driver

matrix lau matrix_lau at yahoo.com
Fri Jan 14 05:48:32 EST 2005


Hi.

I am using the 2K page nand flash [NAND device:
Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND
128MiB 3,3V 8-bit)] in the ARM system, and the nand
driver was modified according to the NAND controller.

Now, I face a problem in mounting the JFFS2 system.
After program the JFFS2 to the mtdblock/2 by the
following cmd: dd if=JFFS2_FILE of=/dev/mtdblock/2
bs=128, then I mount it, the first time, it's ok.

However after umount then I mount it again, it can't
be mount again and with the following message: 

mount: wrong fs type, bad option, bad superblock on
/dev/mtdblock/2, or too many mounted file systems

I try with the 512 page device and it's ok, but
problems exists in 2Kpage nand.


Can any one help in the above issue?

Thanks
Matrix

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the linux-mtd mailing list