On Tue, May 07, 2002 at 12:32:49PM +0200, Guido Guenther wrote:
> in order to get rid of some ip22 specific hacks in setup.c as well as
> addinitrd/elf2ecoff I've written a small tool that links kernel+initrd
> as type "binary" into the data segment of the bootloader. This file can
> then be fetched by the prom via tftp(or from a CD or whatever). The
> bootloader copies the kernel to its loaddress and puts the initrd just
> after the kernel.
> 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
Attached is a patch that implements (1). Arguments used are rd_start &
rd_size. Ralf, please apply if suitable.
Description: Text document