[Top] [All Lists]

Re: howto pass ramdisk loaddress to kernel

To: Guido Guenther <>
Subject: Re: howto pass ramdisk loaddress to kernel
From: Florian Lohoff <>
Date: Tue, 7 May 2002 12:45:38 +0200
In-reply-to: <>
Organization: rfc822 - pure communication
References: <>
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.

Florian Lohoff                     +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgpxTIFwy1FyX.pgp
Description: PGP signature

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