Jffs2 i386 binary for powerpc

Gary Thomas gary at mlbassoc.com
Fri Jan 2 23:31:28 EST 2004

On Thu, 2004-01-01 at 22:59, Jacky Lam wrote:
> Hi,
>     I have subscribed Montavista. But I find that it doesn't contain
> mkfs.jffs2 for me to create a JFFS2 filesystem image on i386 host. (It
> contains a ppc binary version and it works.) I have tried to download it
> from JFFS2 official homepage. But the image created cannot be mounted. Could
> anyone help? Thanks.

Be sure that the image you create on your i386 (PC) machine is built
in Big Endian mode which the PowerPC uses.  Also, the erase block size
must match for things to work well.

A typical command to create the JFFS2 image might be:
  # mkfs.jffs2 -b -e 0x40000 -o JFFS2.img -r JFFS2.root
where "JFFS2.root" is the directory which contains the file system to
be copied into the JFFS2 image "JFFS2.img".

Gary Thomas <gary at mlbassoc.com>
MLB Associates

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-embedded mailing list