[Top] [All Lists]

Re: Boot flags in the kernel.

To: Alex deVries <>
Subject: Re: Boot flags in the kernel.
Date: Mon, 26 Jan 1998 23:47:14 +0100
Cc: SGI Linux <>
In-reply-to: <>; from Alex deVries on Mon, Jan 26, 1998 at 01:05:14AM -0500
References: <>
On Mon, Jan 26, 1998 at 01:05:14AM -0500, Alex deVries wrote:

> I'm not sure if what I'm trying to do is possible. I'm trying to implement
> the same rootflags that are passwd within the kernel image in i386 into
> the MIPS kernel. 
> In i386 there's a portion of the boot image reserved for these flags;
> they're things like console type, initial filesystem, initial ramdisk
> location, etc.  
> It's traditionally been more important to have this feature in i386
> because there wasn't anything nice like the PROMs on MIPS or Sparcs.
> But, there _is a good reason to have it; for install or rescue images it's
> nice to be able to boot with compressed initial ramdisk within the same
> boot image without having to pass the ramdisk offset on command line
> manually.
> Where in the kernel would we put this data?

If you _really_ need that you can copy the data into the .data segment
during the initialization.  See arch/mips/kernel/setup.c.


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