linux-mips
[Top] [All Lists]

Enabling JFFS as Root FS

To: linux-mips@linux-mips.org
Subject: Enabling JFFS as Root FS
From: "Ramgopal Kota" <rkota@broadcom.com>
Date: Wed, 14 May 2008 08:58:47 -0700
In-reply-to: <20080514150859.GA9898@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.64.0805131444360.15369@wrl-59.cs.helsinki.fi> <20080513232507.GA24102@linux-mips.org> <20080513180225.194f400b.akpm@linux-foundation.org> <20080514150859.GA9898@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: Aci11KF4yfiNBuzTQD66oHe+w/sTnAABd0Pw
Thread-topic: Enabling JFFS as Root FS
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


<Prev in Thread] Current Thread [Next in Thread>