linux-mips
[Top] [All Lists]

Re: [Q] How to reboot automatically?

To: "William J. Earl" <wje@fir.engr.sgi.com>, "Francis M. J. Hsieh" <mjhsieh@helix.life.nthu.edu.tw>
Subject: Re: [Q] How to reboot automatically?
From: ralf@uni-koblenz.de
Date: Mon, 20 Jul 1998 20:32:00 +0200
Cc: Linux <linux%cthulhu.engr.sgi.com@ms21.hinet.net>
In-reply-to: <199807201610.JAA28042@fir.engr.sgi.com>; from William J. Earl on Mon, Jul 20, 1998 at 09:10:34AM -0700
References: <19980718164741.A868@life.nthu.edu.tw> <19980719041810.G489@uni-koblenz.de> <19980720041815.A298@helix.life.nthu.edu.tw> <19980719232054.A956@uni-koblenz.de> <19980720202548.A526@helix.life.nthu.edu.tw> <199807201610.JAA28042@fir.engr.sgi.com>
Sender: owner-linux@cthulhu.engr.sgi.com
On Mon, Jul 20, 1998 at 09:10:34AM -0700, William J. Earl wrote:

> IRIX looks at the environment when booting.  That is, it finds
> argc, argv, and envp in $a0, $a1, and $a2.  It copies them to
> private storage before starting up, since they are in memory
> which will be overlaid by dynamic memory allocation.  All of the
> NVRAM and temporary environment variables are passed via envp.
> IRIX looks for root= on the command line (in argv) first, and then
> in the environment, before falling back on a default.  linux could
> do the same.

That looks like a good idea; it can be implemented easily and nicely
within Linux.  And for transparency we should.  What will stay different
is the naming convention of Linux partitions.

The environment is allocated in ``Firmware Temporary'' memory, isn't it?
We don't free that yet but we should, for low memory configurations that
should be a significant amount of memory.

  Ralf

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