From: Sébastien Côté <scote1@matrox.com>
To: Matt Porter <mporter@mvista.com>
Cc: LinuxPPC-embedded list <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: initrd problems
Date: Mon, 22 Jan 2001 13:56:08 -0500 [thread overview]
Message-ID: <3A6C8248.88642C68@matrox.com> (raw)
In-Reply-To: 20010120073535.A15536@beef.az.mvista.com
Matt Porter wrote:
> I've done this many times for custom board ports. Have your JTAG
> probe configure the memory controller. You then simply drop
> your vmlinux at physical 0. Take your separate initrd image and
> drop it at a safe place like 0x800000. Use the JTAG probe to set
> r4 to 0x800000 and r5 to 0x800000 + (<initrd_size> - 1). Go at
> 0 and you'll boot then root from your initrd.
Ok, now this is exactly what I do. The initrd doesn't get overwritten
anymore. The function mount_root is called, the root device is opened
but I get a panic at:
sb = get_super(ROOT_DEV);
if (sb) { goto mount_it}
...
read_unlock(&file_systems_lock);
panic("VFS: Unable to mount root fs on %s", kdevname(ROOT_DEV));
ROOT_DEV = 0x100 (RAM)
However, when I get to this point initrd_start is equal to 0. I'm not
sure if this is ok, it could have been set to 0 by initrd_release but
I'm not sure. I'm still fighting with the debugger to step into that
part of the code.
Still, this is better than what I had last week. Thanks for your help!
Sébastien Côté
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-01-22 18:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-18 15:53 initrd problems Sébastien Côté
2001-01-18 22:27 ` Sébastien Côté
2001-01-18 20:01 ` Matt Porter
2001-01-19 17:22 ` Sébastien Côté
2001-01-20 14:35 ` Matt Porter
2001-01-22 18:56 ` Sébastien Côté [this message]
2001-01-22 19:24 ` Kyle Harris
2001-01-22 20:45 ` Sébastien Côté
2001-01-19 1:13 ` Mark A. Greer
2001-01-19 14:53 ` Sébastien Côté
2001-01-23 21:03 ` Michael Pruznick
-- strict thread matches above, loose matches on Subject: below --
2001-11-05 18:13 Initrd Problems SoloCDM
2002-10-30 16:28 initrd problems Anders Blomdell
2002-10-30 16:47 ` Wolfgang Denk
2003-04-24 5:32 Sriram Narasimhan
2003-04-24 7:35 ` Wolfgang Denk
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=3A6C8248.88642C68@matrox.com \
--to=scote1@matrox.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mporter@mvista.com \
/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.