Skip to contentSkip to conversation

jffs2 on NOR flash

DISCUSSION mike zheng 2 participants 2 messages Feb 19, 2009 Memory technology devices (MTD)

lore
Share & tools
lore

mike zheng

author
#0 lore raw

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"?

Thanks,

Mike

#1 lore raw
Quoted 8 lines · mike zheng

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