2k Page support for the mtd driver
Artem B. Bityuckiy
dedekind at infradead.org
Fri Jan 14 06:00:11 EST 2005
Ah, you use dd to put image. That's may cause problems.
Use nandwrite utility instead.
On Fri, 14 Jan 2005, matrix lau wrote:
> 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
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
More information about the linux-mtd
mailing list