Skip to contentSkip to conversation

Jffs2 i386 binary for powerpc

DISCUSSION Jacky Lam 2 participants 2 messages Jan 2, 2004

lore
Share & tools
lore

Jacky Lam

author
#0 lore raw

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.

Yours,
Jacky

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

#1 lore raw
Quoted 7 lines · Jacky Lam

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 <[email protected]>
MLB Associates

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