jffs2 on NOR flash

Josh Boyer jwboyer at gmail.com
Thu Feb 19 06:56:53 EST 2009


On Wed, Feb 18, 2009 at 07:13:00PM -0800, mike zheng wrote:
>Hi All,
>
>I allocated 3 partitions on my NOR flash. After Linux bootup, all
>paritions are found in the /proc/mtd. I verified the flash driver with
>"od -x /dev/mtdxxx".
>
>Do I have to use mkfs.jffs2 to format the partition before use it? Or
>I can just mount it as "mount -t jffs2 /dev/mtdblock0 /mnt"?

You can mount it like that as long as the flash is freshly erased.
Otherwise, you need to write a jffs2 image to it first.

josh



More information about the linux-mtd mailing list