public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Sheela Kashyap <sheela_kashyap@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: (no subject)
Date: Fri, 28 Dec 2001 15:48:24 -0800 (PST)	[thread overview]
Message-ID: <20011228234824.29500.qmail@web11101.mail.yahoo.com> (raw)

Hi,

I am relatively new to Linux and definitely new to MTD/JFFS. We have
a motorola 8xx board, the boot loader used is ppcboot. We are
currently using NFS as the root file system.  The kernel has been
compiled with the right JFFS and MTD options. I am able to erase the
MTD device, copy the file system on to it and mount and umount
multiple times without any problems. The kernel is in the flash.  We
are using Dhcp to figure out its IP address. 

When I set the bootargs in ppcboot to "root=/dev/mtdblock1 rw" or
"root=/dev/mtdblock1 rw ip=10.100.4.44" and try booting the kernel,
everything is fine till it comes time to mount the root FS.It still
seems to try and go out on the net. This is the trace I see. I have
cut out some parts to reduce the clutter. 

----------------------------------------------------------------------


Initializing...
  CPU:   XPC860xxZPnnD4 at 80 MHz: 16 kB I-Cache 8 kB D-Cache FEC
present
  Board:   DRAM:  About to program UPMB... finished programming UPMB
Setting value for MPTPR to 400
Run precharge command for each chip-select used
<snip...>

cas latensies supported          3  2    
<snip...>

ppcboot->printenv
bootdelay=10
baudrate=19200
ipaddr=10.0.0.77
serverip=10.0.0.128
bootcmd=bootm 28080000
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/mtdblock1 rw ip=10.100.4.44 

SWSE(bootrom)->bootm 28080000
## Booting Linux kernel at 28080000 ...
   Image Name:   HHL 2.0 for SWSE version 0.005
   Created:      2001-12-06   5:07:40
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    550042 Bytes = 537 kB = 0 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Transferring control to Linux (at address 00000000) ...
Linux version 2.4.2_hhl20 (rick@localhost.localdomain) (gcc version
2.95.3 20010
315 (release/MontaVista)) #6 Wed Dec 5 21:03:08 PST 2001  
On node 0 totalpages: 65536
zone(0): 65536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock1 rw ip=10.100.4.44 
Decrementer Frequency = 300000000/60 

<snip....>

JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
loop: loaded (max 8 devices)
physmap flash device: 1780000 at 28880000
Physically mapped flash: Found 2 x16 CFI devices at location 0 in 16
bit mode
JEDEC ID: 89 18
cstm_cfi_jedec flash device: 1780000 at 28880000
MTD flash: Found 2 x16 CFI devices at location 0 in 16 bit mode
JEDEC ID: 89 18
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Sending BOOTP requests............. timed out!
IP-Config: Auto-configuration of network failed.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
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 "mtdblock1" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
Rebooting in 180 seconds..                         

----------------------------------------------------------------------

The "Sending BOOTP requests" line is what I don't understand. The
kernel obviously does not figure out that the root filesystem to be
used is 'jffs'. How can I get it to do that? Do I need to make
changes to some kernel files? Or is it that I need to change the
kernel so that it detects the MTD block device first and figures out
the filesystem?

Any help is greatly appreciated. 

Thanks,
Sheela.

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

             reply	other threads:[~2001-12-28 23:37 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-28 23:48 Sheela Kashyap [this message]
2001-12-28 23:52 ` (no subject) David Woodhouse
2002-01-02 23:57   ` Sheela Kashyap
2002-01-03  0:06     ` David Woodhouse
2002-01-03  0:27       ` Sheela Kashyap
2002-01-03  9:26         ` David Woodhouse
2002-01-03 18:57           ` Sheela Kashyap
  -- strict thread matches above, loose matches on Subject: below --
2009-06-01 11:20 Mnl
2009-05-18 15:18 Mnl
2009-05-18 12:20 Mnl
2006-03-10 13:57 Selmeci, Tamas
2005-10-20 16:05 Korolev, Alexey
2005-09-15 13:22 Konstantin Kletschke
2005-07-23  4:50 Mr.Derrick Tanner.
2005-07-18 12:06 murasfdg sjhfsd
2005-07-03  2:47 Amit Sharma
2005-07-03 12:04 ` Artem B. Bityuckiy
2005-06-21 14:48 David L
2004-11-16 13:48 Artem B. Bityuckiy
2004-11-16 13:55 ` David Woodhouse
2004-11-16 11:42 Artem B. Bityuckiy
2002-11-19 21:13 BBRAM Jörn Engel
2002-11-20  2:01 ` (no subject) Taeil Um
2002-11-20  7:20   ` David Woodhouse
2002-11-21  8:40     ` Taeil Um
2002-11-15 20:58 Wauviel
2002-07-15 10:25 Valls Pellicer,Joan
2002-07-02 17:00 Roy Lauer
2002-06-19  2:24 Áº²¨
2002-05-03 11:46 victor.martin
2002-04-29 14:19 Jim Zeus
2002-04-19  3:23 swimming_fisher
2002-04-11  6:13 Jim Zeus
2002-03-27  8:01 Jim Zeus
2002-03-27  8:06 ` David Woodhouse
2002-03-19  7:59 Jim Zeus
2002-03-18  7:42 Jim Zeus
2002-03-18  8:38 ` David Woodhouse
2002-03-17 10:21 Jim Zeus
2002-03-17 10:32 ` David Woodhouse
2002-03-15  9:55 Jim Zeus
2002-03-15 10:15 ` David Woodhouse
2002-03-15  4:15 Jim Zeus
2002-03-15  9:27 ` David Woodhouse
2002-01-03 15:46 Allen Curtis
2001-12-19 19:01 ilatypov
2001-09-14 20:11 Siders, Keith
2001-09-14 16:25 Siders, Keith
2001-09-14 16:32 ` David Woodhouse
2001-05-02 15:59 zud sdf
2001-05-02 15:29 zud sdf
2001-05-02 15:24 zud sdf
2001-05-02 15:32 ` David Woodhouse
2001-05-02 15:17 Zydla Tsui
2001-04-24 11:29 (No Subject) simon.munton
2001-04-24 14:46 ` David Woodhouse
2001-04-25  9:51   ` Masami Komiya
2001-04-25 10:26     ` David Woodhouse
2001-04-25 12:19       ` Masami Komiya
2001-04-25 12:26         ` David Woodhouse
2001-04-25 12:55           ` Masami Komiya
2001-04-25 13:30             ` David Woodhouse

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=20011228234824.29500.qmail@web11101.mail.yahoo.com \
    --to=sheela_kashyap@yahoo.com \
    --cc=linux-mtd@lists.infradead.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