linux-mips
[Top] [All Lists]

Re: howto pass ramdisk loaddress to kernel

To: Guido Guenther <agx@sigxcpu.org>
Subject: Re: howto pass ramdisk loaddress to kernel
From: Florian Lohoff <flo@rfc822.org>
Date: Tue, 7 May 2002 12:45:38 +0200
Cc: linux-mips@oss.sgi.com, ralf@gnu.org
In-reply-to: <20020507123249.A9827@gandalf.physik.uni-konstanz.de>
Organization: rfc822 - pure communication
References: <20020507123249.A9827@gandalf.physik.uni-konstanz.de>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.28i
On Tue, May 07, 2002 at 12:32:49PM +0200, Guido Guenther wrote:
> My question is now: how do i properly pass the initrd's memory address
> to the kernel? Choices are:
> 1) on the commandline: rd_start=0x...
> 2) a bootparameter block like on i386 or sparc in head.S
> 3) rely on the kernel to identify if a radisk has
>   been loaded by a magic number
> 
> I'd prefer (1) but it seems none of the other arches does this. Is there
> a reason for that? If not could we just introduce a new kernel
> commandline parameter rd_start which has a memory address as a
> parameter. Ralf, would you let this into the kernel?

I would do 1+3 - Give the address on the command line and let the ramdisk
have a magic + length in the first 2 __u32.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgp0PVmu0ni0W.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>