bbick at ix.netcom.com
Thu May 6 21:49:49 EDT 2004
I've just started working with JFFS2 and I have a couple of questions.
First some details:
Kernel 2.4.25 running on AMD Au1000 based system with AMD Flash chip.
Using latest zlib from the zlib site. Currently building mkfs.jffs2 on
SuSE 8.2 (Intel) platform. Other tools (e.g. fcp) built cross-compiled
for mips32 (little endian).
MTD tools that I've tried:
Snapshot from 'snapgear' mkfs.jffs2 version 1.2 according to the source
This one seems to build a JFFS2 file system that I can boot and access
with no problems. I fixed problems getting it to build / link with
the latest zlib version.
The one issue I see with this build is that even though I have specified
a devices file and I can see the device nodes when running jffs2dump on
the created image file, when I mount the file system from Flash the /dev
directory is empty!
The only thing that spit out during the creation of the file system was
a message about /dev not having a parent directory so it was being
skipped. But the /dev directory (and the node files from the devices.txt
file WERE in the resulting image file as mentioned above).
It's probably something that I'm missing on the command line or in the
file (but I just copied and tweaked the example from the util
The other snapshot that I'm working with is the one from 04/30/2004.
The mkfs.jffs2 version from source code is 1.40.
So far I haven't been able to create a JFFS2 file system that I can boot
or mount with mkfs.jffs2 built from this snapshot.
Also, mkfs.jffs2 from this snapshot also whines about the /dev directory
not having a parent when building the image. And the final difference
is that the created image is nearly twice the size of that built with
the mkfs.jffs2 from the older snapshot.
I'm using the same current zlib library in both cases, and tweaked the
source so that it will build/link with zlib.
I suspect that part of the issue with the latest snapshot build may be
that I'm still running with the older JFFS2 support that is part of the
1) Is there a note somewhere that I've missed saying what snapshots are
reasonably stable so that I know which one to work with for a
2) Has anyone else had a similar issue with the 04/30/2004 snapshot as
far as the created image not mounting and being much larger than that
created with older snapshots?
I've looked back through the archives and so far have not been able to
locate anything related to the latest snapshot as applies to what I'm
More information about the linux-mtd