Mounting big endian jffs2 images on mtdram on a x86
Artem Bityutskiy
dedekind at infradead.org
Mon May 14 06:34:52 EDT 2007
On Mon, 2007-05-14 at 11:05 +0200, Hans-Christian Egtvedt wrote:
> Hello,
>
> I am trying to mount an JFFS2 image made with mkfs.jffs2 on my x86
> laptop. The image is made with --big-endian set.
I think you cannot do this without re-compiling JFFS2. I am not sure,
just glance to the code (to je32_to_cpu and the like macros).
> I do the following:
> modprobe mtdram total_size=8192 erase_size=64
> modprobe mtdchar
> modprobe mtdblock
> modprobe jffs2
> dd if=jffs2.image of=/dev/mtd0
> mount -t jffs2 /dev/mtdblock0 /some/mount/point
FYI, mtdblock is not needed and is ancient and confusing way to mount
jffs2.
http://www.linux-mtd.infradead.org/faq/jffs2.html#L_mtdblock
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list