Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
jffs is OK, jffs2 gives me trouble!
- 03-21-2005
- giangiammy
March 21, 2005, 10:38 am

hi all,
I', trying oto set up an embedded board with JFFS/JFFS2.
Up to now, I'm correctly creating and mounting JFFS file system:
I create it with mkfs.jffs, erase my flash, copy it to the flash,
and run the kernel with root=/dev/mtdblock0.
Making the same steps with jffs2 (same steps, but I create
the fs using mkfs.jffs2) I get the following message while
booting the kernel:
VFS: Mounted root (jffs filesystem) readonly
Freeing unused kernel memory: 84k freed
Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.
It seems the file system was not created correctly: does anyone
know it JFFS2 needs some particular setup/initialization/configuration?
I'm using kernel 2.4.21, with JFFS and JFFS2 enabled, running on
a AMD AU1100 (MIPS machine), with 16M flash.
thanks for every suggestion
gianluca
I', trying oto set up an embedded board with JFFS/JFFS2.
Up to now, I'm correctly creating and mounting JFFS file system:
I create it with mkfs.jffs, erase my flash, copy it to the flash,
and run the kernel with root=/dev/mtdblock0.
Making the same steps with jffs2 (same steps, but I create
the fs using mkfs.jffs2) I get the following message while
booting the kernel:
VFS: Mounted root (jffs filesystem) readonly
Freeing unused kernel memory: 84k freed
Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.
It seems the file system was not created correctly: does anyone
know it JFFS2 needs some particular setup/initialization/configuration?
I'm using kernel 2.4.21, with JFFS and JFFS2 enabled, running on
a AMD AU1100 (MIPS machine), with 16M flash.
thanks for every suggestion
gianluca

Re: jffs is OK, jffs2 gives me trouble!
with the option "rootfstype=jffs2": this
recognize the filesystem, but each boot
give some warning:
jffs2_scan_empty(): Empty block at 0x0000fffc ends at 0x00010000 (with
0x200319y
CLEANMARKER node found at 0x00010000, not first node in block
(0x00000000)
jffs2_scan_empty(): Empty block at 0x0002fffc ends at 0x00030000 (with
0x200319y
CLEANMARKER node found at 0x00030000, not first node in block
(0x00020000)
Any idea what it means?
gianluca
Site Timeline
- » vmlinuz-2.4.21-4.EL--What Does the EL Mean?
- — Next thread in » Embedded Linux
-
- » dropbear problems
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Passive Car Battery Trickle Charger
- — The site's Newest Thread. Posted in » Electronics Design
-
- » dalla cina un rebus
- — The site's Last Updated Thread. Posted in » Electronics Hobby (Italian)
-