Jffs2 i386 binary for powerpc

2 messages, 2 authors, 2004-01-02 · open the first message on its own page

Jffs2 i386 binary for powerpc

From: Jacky Lam <hidden>
Date: 2004-01-02 05:59:48

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/

Re: Jffs2 i386 binary for powerpc

From: Gary Thomas <hidden>
Date: 2004-01-02 12:31:28

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 [off-list ref]
MLB Associates


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help