public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* how to mount a root filesystem stored on MTD device?
@ 2002-08-13  3:49 Xiaogeng (Shawn) Jin
  0 siblings, 0 replies; only message in thread
From: Xiaogeng (Shawn) Jin @ 2002-08-13  3:49 UTC (permalink / raw)
  To: linux-mtd, linuxppc-embedded

I've read the MTD/JFFS howto but still cannot get it. Right now I've 
been able to enable MTD devices and mount jffs2. I set bootargs to 
'root=/dev/mtdblock0' on PPCBoot and use tftpboot to boot the kernel via 
network. But the boot process doesn't succeed due to unability to mount 
root filesystem.

Here is the message showing that mtd devices have been found.
--------------------clip--------------------------------------
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis 
Communications AB.
loop: loaded (max 8 devices)
Search for id:(89 88f3) interleave(1) type(2)
Found: Intel 28F160F3T
IB8SW Bank 0: Found 1 x16 devices at 0x0 in 16-bit mode
Using word write method
init_ib8sw_mtd: part_num=3
IB8SW flash bank 0: Using static image partition definition
Creating 3 MTD partitions on "IB8SW Bank 0":
0x00000000-0x000f0000 : "jffs2"
mtd: Giving out device 0 to jffs2
0x000f0000-0x00100000 : "spare"
mtd: Giving out device 1 to spare
0x00100000-0x00200000 : "ppcboot"
mtd: Giving out device 2 to ppcboot
--------------------clip--------------------------------------

But here it complains that root fs hasn't been mounted.
--------------------clip-----------------------------------
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
request_module[block-major-2]: Root fs not mounted
VFS: Cannot open root device "mtdblock0" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
--------------------clip-----------------------------------

Any instructions or hints? Thanks a lot.

- Shawn.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-13  3:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-13  3:49 how to mount a root filesystem stored on MTD device? Xiaogeng (Shawn) Jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox