tomy wrote:
> Hi,
>       We are using the command *mkfs.jffs2 --eraseblock=0x20000 -n -o
> fs.img* to create a flash file system. But during Linux boot up an error
> like *Warning: unable to open an initial console.Kernel panic - not
> syncing: No init found.  Try passing init= option to kernel *is coming.
> So the Kernel cannot recognize the filesystem image properly. So my
> doubt is  how can we create a file system image for NAND flash using
> mkfs.jffs2 (what would be command).

Questions:
1. Did you make jffs support built in?
In .config, CONFIG_JFFS2_FS=y
2. Is the /dev/console present in the target file system?
Something like,
0 crw------- 1 om root 5, 1 2008-08-21 15:36 /dev/console
Note the major and minor number. Else create using mknod
3. Is /sbin/init present in target system?

Thanks,
Om.



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to