Enabling JFFS as Root FS

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

 



Hi,

Currently I am having a kernel 2.6.14 with INIT_RAMFS and it is using
cpio archive to create the nodes and rootfs.

Now I want to have the rootfs (jffs) on flash. Is there any document
which tells me how to do that ?

I did the following ..

I created the rootfs directory say "embeddedroot" structure except /dev
directory and ran mkfs.jffs2 on "embeddedroot".

The .jffs2 image is loaded onto flash at the correct offset pointed in
the MTD partition structure as mtdblock2.

My basic doubt is , how the kernel will create a node in /dev in the
above case ? or is there any other way to make jffs as rootfs.

I am missing some thing , I will be glad if someone points me that.

Ramgopal Kota



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux