jffs2 on NOR flash
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
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