|
JFFS2 [VFS mount root /dev/mtdblock2 ok] - kernel panic on running init process
Hi All,
We are working in embedded LINUX (set top box). We run LINUX (2.6.14) over MIPS.
We are in process of replacing existing CRAMFS with JFFS2 (due to shortage of RAM).
Our kernel command line is as follows:
++++++++++++++++++++++++++++++++++++++
Kernel command line: root=1f02 rootfstype=jffs2 rw dhash_entries=1024 ihash_entries=1024 nokgdb console=ttyUSB0,115200 pmemaddr=0x9F000000 pmemlen=0x00010000 rd_start=0x90C39000 rd_size=0x018ED6F0 mtdparts=ImageStore:0x04000000(BootSet)ro,0x02000000(UpdateSet),0x02000000(AppData)
++++++++++++++++++++++++++++++++++++++
We managed to build a JFFS2 file system image using mkfs.jffs2.
After this change from CRAMFS to JFFS2, on boot up we get the following error.
++++++++++++++++++++++++++++++++++++++++++++
5:42 |[4294672.288000] VFS: Mounted root (jffs2 filesystem).
5:42 |[4294672.289000] Warning: unable to open an initial console.
5:42 |[4294672.289000] Kernel panic - not syncing: No init found. Try passing init= option to kernel.
++++++++++++++++++++++++++++++++++++++++++++
Do we need boot loader changes for replacing CRAMFS with JFFS2.
Also do we need to make special changes in kernel source as well.
I could see fs/jffs2 folder in kernel source [2.6.14], will that suffice.
Please help.
Thanks,
Sudharsan.
|