Re: creation of JFFS2 file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux