Hi, On Tue, May 07, 2002 at 12:45:38PM +0200, Florian Lohoff wrote: > 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. I implemented (1) only since the kernel checks for a proper fs/gzip magic anyway. I added this to the kernels at: http://honk.physik.uni-konstanz.de/linux-mips/kernels/ Patch is at: http://honk.physik.uni-konstanz.de/linux-mips/kernel-patches/ramdisk-cmdline-2002-05-09.diff Regards, -- Guido