Steve deRosier
2012-12-12 01:52:07 UTC
Is there anyway to upgrade an old jffs filesystem to jffs2?
After getting jffs2 and mtd working properly on my new kernel image, I
tried to mount the existing flash. Bad fail. Long story short, I
eventually noticed the existing flash is formatted with old v1 jffs,
not jffs2. Trying to mount it as jffs2 and it spews lots of messages
including:
Old JFFS2 bitmask found at 0x0009a1dc
You cannot use older JFFS2 filesystems with newer kernels
and eventually gives up with the message:
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
OK, fair enough. Research leads me to believe that modern Linux
doesn't retain the old v1 jffs system, nor is the jffs2 file system
willing to read or write it. I'm upgrading the kernel on this product
for very good reasons, and ideally we need to keep compatibility with
the existing data in the field.
Is there any way to upgrade an old jffs filesystem to jffs2 with
current versions of Linux? Alternately, is there a jffs implementation
that works with a 3.x Linux as per the modern uClinux distro? Or does
anyone have any other ideas?
Thanks,
- Steve
After getting jffs2 and mtd working properly on my new kernel image, I
tried to mount the existing flash. Bad fail. Long story short, I
eventually noticed the existing flash is formatted with old v1 jffs,
not jffs2. Trying to mount it as jffs2 and it spews lots of messages
including:
Old JFFS2 bitmask found at 0x0009a1dc
You cannot use older JFFS2 filesystems with newer kernels
and eventually gives up with the message:
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
OK, fair enough. Research leads me to believe that modern Linux
doesn't retain the old v1 jffs system, nor is the jffs2 file system
willing to read or write it. I'm upgrading the kernel on this product
for very good reasons, and ideally we need to keep compatibility with
the existing data in the field.
Is there any way to upgrade an old jffs filesystem to jffs2 with
current versions of Linux? Alternately, is there a jffs implementation
that works with a 3.x Linux as per the modern uClinux distro? Or does
anyone have any other ideas?
Thanks,
- Steve