jffs2 problem

Hinko Kocevar
2005-07-19T10:11:56Z

Hi,

I'm trying to use latest MTD CVS snapshot to create jffs2 image and boot my ARM
target using that image as rootfs. Booting halts at:
...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xfe48
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xa2f9
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x8db7
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x9549
instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000073a0
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
SR.4 or SR.5 bits set in buffer write (status b0). Clearing.

This is on 2.6.12.2. On 2.6.9 image is correctly mounted and booted. I belive
that mkfs.jffs2 is one of the latest -
$ mkfs.jffs2 --version
mkfs.jffs2: revision 1.45

- and image is created with:
mkfs.jffs2 -e 131072 -r -o rootfs.jffs2

Am I missing something here?

regards,
hk
--
..because under Linux "if something is possible in principle,
then it is already implemented or somebody is working on it".

--LKI