linux-mips
[Top] [All Lists]

Re: YAMON.

To: Nicu Popovici <octavp@isratech.ro>
Subject: Re: YAMON.
From: Brady Brown <bbrown@ti.com>
Date: Thu, 14 Dec 2000 10:10:42 -0700
Cc: linux-mips@oss.sgi.com
Organization: Texas Instruments
References: <3A37B34B.69C1BF2@isratech.ro> <3A37ACC9.82476B96@ti.com> <3A38E314.A22393DD@isratech.ro>
Sender: owner-linux-mips@oss.sgi.com
Nicu Popovici wrote:

> Hello ,
>
> Thanks . Now I have a much bigger problem. I have to try to start this ATLAS
> board without a HDD and without ethernet. At reset it should give me a login
> prompt which I have to see throught the console. Can anyone help me ?

One possibility: you basically need to write a kernel loader that lives in
Flash and is called at the very end of the boot-up code that replaces YAMON.
Additionally in flash is then a compressed kernel image and a compressed
file-system image. Your kernel loader inflates the kernel into RAM, then jumps
to the start of the kernel. The kernel then takes over. It is built to support
a ram-disk (size depending upon the size of your uncompressed file-system). So
the kernel inflates the file-system into the ram-disk and then mounts it as
root and continues with normal boot up. You can borrow much of the inflater
code within the kernel to generate the stand alone kernel loader. You will also
need to modify the ram-disk code so that it knows how to find the file-system
image in your flash. A fair bit of work, but certainly possible.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brady Brown (bbrown@ti.com)       Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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