MTD nand driver help

Ricard Wanderlof ricard.wanderlof at axis.com
Thu Aug 23 02:44:12 EDT 2007


On Thu, 23 Aug 2007, Tushar Kapse wrote:

> Thanx for the reply,
> But, my problem is as follows,
>
> I have the board with PXA255 and want to port the Linux with MTD driver support.
> I got the steps for creating the JFFS2 file system are :
> 1. using mkfs.jffs2 create the file system.
> 2. using eraseall erase the /dev/mtdn device
> 3. using nandwrite copy the jffs2 image to /dev/mtdn.
> But, my qustion is for erasing and copping jffs2 image in  /dev/mtdn
> device do i need to have the file system exist in the nand already.

No, that should not be necessary. Copying the image using nandwrite to an 
erased nand partition /dev/mtdn should be ok.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list