public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Xiaogeng (Shawn) Jin" <xjin@redswitch.com>
To: linux-mtd@lists.infradead.org,  linuxppc-embedded@lists.linuxppc.org
Subject: how to mount a root filesystem stored on MTD device?
Date: Mon, 12 Aug 2002 20:49:02 -0700	[thread overview]
Message-ID: <3D5881AE.3020809@redswitch.com> (raw)

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.

                 reply	other threads:[~2002-08-13  3:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D5881AE.3020809@redswitch.com \
    --to=xjin@redswitch.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox