All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl Lin <carl@fiberlogic.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Problem about running kernel with root fs
Date: Mon, 19 Mar 2001 22:11:32 +0800	[thread overview]
Message-ID: <3AB61394.D9CD1DB3@fiberlogic.com> (raw)


Please help :

I try to run Linux kernel 2.4.0-test13-pre2 (ramdisk size
=4096KB and initrd supported) with a root fs (hello.rfs
from BlueCat) on a board equivalent to TQM855L with the
following configuration :

  memstart    = 0x00000000
  memsize     = 0x01000000
  flashstart  = 0x02800000
  flashsize   = 0x00200000
  flashoffset = 0x00044000
  sramstart   = 0x00000000
  sramsize    = 0x00000000
  immr_base   = 0xff000000
  bootflags   = 0x00000001
  ........................
  bootcmd=bootm 2800100
  baudrate=9600
  ethaddr=00:03:54:00:00:94
  bootfile=/opt/tftpboot/vmlinux
  bootargs=root=/dev/ram

When I "mkimage" with a single kernel image by

mkimage -A ppc -O linux -T kernel -C gzip -a 0 -e 0 \
-n 'test' -d arch/ppc/coffboot/vmlinux.gz \
/opt/tftpboot/vmlinux

and download it to the board, it runs as following :

Linux version 2.4.0-test13-pre2
Boot arguments: root=/dev/ram
..................................
Kernel command line: root=/dev/ram
..................................
Memory: 14752k available (956k kernel code,........
..................................
RAMDISK driver initialized: 16 RAM disks of 4096K size
1024 blocksize
...................................................
VFS: Cannot open root device "ram" or 01:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 01:00

When I "mkimage" with the kernel and the root fs by

mkimage -A ppc -O linux -T multi -C gzip -a 0 -e 0 \
-n 'test' -d arch/ppc/coffboot/vmlinux.gz:hello.rfs \
/opt/tftpboot/vmlinux

and download it to the board, the "imi" shows

## Checking Image at 00100000 ...
   Image Name:   test
   Image Type:   PowerPC Linux Multi-File Image (gzip...
   Data Size:    629184 Bytes = 614 kB = 0 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
   Image 0:   516095 Bytes = 503 kB = 0 MB
   Image 1:   113076 Bytes = 110 kB = 0 MB
   Verifying Checksum ... OK

And, it runs as

## Booting Linux kernel at 00100000 ...
   Image Name:   test
   Image Type:   PowerPC Linux Multi-File Image (gzip...
   Data Size:    629184 Bytes = 614 kB = 0 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
   Image 0:   516095 Bytes = 503 kB = 0 MB
   Image 1:   113076 Bytes = 110 kB = 0 MB
   Verifying Checksum ... OK
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to db0fc000 ...

and then HALT forever!

What's wrong ?

---------------------------------------------------
Carl Lin                        carl@fiberlogic.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-03-19 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-19 14:11 Carl Lin [this message]
2001-03-19 14:27 ` Problem about running kernel with root fs Wolfgang Denk
2001-03-19 15:24 ` Wolfgang Grandegger

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=3AB61394.D9CD1DB3@fiberlogic.com \
    --to=carl@fiberlogic.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.