public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Mounting big endian jffs2 images on mtdram on a x86
@ 2007-05-14  9:05 Hans-Christian Egtvedt
  2007-05-14 10:34 ` Artem Bityutskiy
  0 siblings, 1 reply; 12+ messages in thread
From: Hans-Christian Egtvedt @ 2007-05-14  9:05 UTC (permalink / raw)
  To: linux-mtd

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 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

And I get:
mount: /dev/mtdblock0: can't read superblock

AFAIK this is related to the image being big endian, while my computer
is little endian. The JFFS2 image is valid when I program it into flash
and mount it on my embedded system.

Any hints, tips, how-to's or similar? I have tried google without much
luck.

-- 
Best regards
Hans-Christian Egtvedt

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-05-16  8:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14  9:05 Mounting big endian jffs2 images on mtdram on a x86 Hans-Christian Egtvedt
2007-05-14 10:34 ` Artem Bityutskiy
2007-05-14 10:49   ` Haavard Skinnemoen
2007-05-14 14:37   ` Hans-Christian Egtvedt
2007-05-14 14:53     ` Josh Boyer
2007-05-15  0:42   ` David Woodhouse
2007-05-15  7:45     ` Hans-Christian Egtvedt
2007-05-15  7:50       ` Artem Bityutskiy
2007-05-15 10:07         ` Hans-Christian Egtvedt
2007-05-15  7:51       ` David Woodhouse
2007-05-16  7:45       ` MikeW
2007-05-16  8:02         ` Hans-Christian Egtvedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox