* workstation mount of jffs2 and endianess
@ 2004-02-02 22:20 Robin Gilks
2004-02-20 20:42 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Robin Gilks @ 2004-02-02 22:20 UTC (permalink / raw)
To: mtd list
Greetings
Is it possible to mount a bigendian jffs2 filesystem image (via blkmtd
or whatever) on a little endian host system (i.e. a PC workstation)?
If so, where do I tell the system what the endianess is? At present I
get errors during mount (which if the endianess is not known I'd expect)
of the form:
losetup /dev/loop3 /home/gilksr/jffs2.fs
insmod blkmtd erasesz=64 device=/dev/loop3
mount -t jffs2 /dev/mtdblock/0 /mnt/root_fs
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
or too many mounted file systems
I've checked that I can create and loop mount a l-e filesystem but the
target I'm working with is a powerpc that I want to keep as natively b-e.
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks@tait.co.nz
New Zealand
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: workstation mount of jffs2 and endianess
2004-02-02 22:20 workstation mount of jffs2 and endianess Robin Gilks
@ 2004-02-20 20:42 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2004-02-20 20:42 UTC (permalink / raw)
To: Robin Gilks; +Cc: mtd list
On Tue, 2004-02-03 at 11:20 +1300, Robin Gilks wrote:
> Is it possible to mount a bigendian jffs2 filesystem image (via blkmtd
> or whatever) on a little endian host system (i.e. a PC workstation)?
Yes. #define JFFS2_BIG_ENDIAN in include/linux/jffs2.h
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-20 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 22:20 workstation mount of jffs2 and endianess Robin Gilks
2004-02-20 20:42 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox