workstation mount of jffs2 and endianess
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.
Signature · 5 lines
Robin Gilks Senior Design Engineer Phone: (+64)(3) 357 1569 Tait Electronics Fax : (+64)(3) 359 4632 PO Box 1645 Christchurch Email : [email protected] New Zealand
Quoted 2 lines · Robin Gilks
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
Signature · 1 line
dwmw2