Re: Help with using JFFS2 as root filesystem
- From: smayadewi@xxxxxxxxx
- Date: 9 May 2007 09:47:52 -0700
On May 9, 9:14 am, Michael Schnell
<mschnell_at_lumino_dot...@xxxxxxxxxxx> wrote:
You need to create a mount point in the rout file system to access the
jff2 (supposedly in 2.6 the driver can do this in the proc file system
automatically if configured to do so).
Now you need to mount jff2 into a directory of the root file system, of
course.
-Michael
Hi Michael,
Thanks for your replies. I really appreciate it.
I have enabled the support for both MTD and JFFS2 when I compiled the
kernel. Now I suppose I don't need to load the drivers separately. I
have tried creating the mount point (/tmp) and mounting the /dev/
mtdblock to it, it didn't work. Before I mounted the /dev/mtdblock*, I
actually have to copy the JFFS2 image to the /dev/mtd* node. But when
I tried to copy my JFFS2 image to the /dev/mtd node, it gave me error
message :"block device required". The same error message appeared when
I tried to copy to /dev/mtdblock.
Then, I manually created the following nodes:
# mknod /dev/mtd0 c 90 0
# mknod /dev/mtdblock0 b 31 0
I tried to copy the JFFS2 image to the /dev/mtd0 again, and it gave me
message: "no such device".
FYI: when I enabled CFI Flash device on physical memory map, I
expected an extended menu would show up containing the option for
specifying the start, length, and the bus width as in the uClinux. But
nothing else appeared. I am using Montavista linux. I wonder if this
is the reason why the mtd and mtdblock do not get mounted properly. If
not, I wonder how can I partition the flash manually? Do I have to
modify the driver for the flash?
Shirley
.
- Follow-Ups:
- Re: Help with using JFFS2 as root filesystem
- From: Michael Schnell
- Re: Help with using JFFS2 as root filesystem
- References:
- Help with using JFFS2 as root filesystem
- From: smayadewi
- Re: Help with using JFFS2 as root filesystem
- From: Michael Schnell
- Re: Help with using JFFS2 as root filesystem
- From: smayadewi
- Re: Help with using JFFS2 as root filesystem
- From: Michael Schnell
- Help with using JFFS2 as root filesystem
- Prev by Date: Re: Ncurses and HD44780 LCD
- Next by Date: Interrupts - Loss of Edge triggered interrupts
- Previous by thread: Re: Help with using JFFS2 as root filesystem
- Next by thread: Re: Help with using JFFS2 as root filesystem
- Index(es):
Relevant Pages
|