Re: zImage compressed with what?

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Sir Light
Fecha:  
A: Main PLUG discussion list
Asunto: Re: zImage compressed with what?
Hello Deepan.

---- Deepan Chakravarthy <> wrote:
> On Feb 16, 2008 5:15 AM, Sir Light <> wrote:
>
> > Alan,
> >
> > It's either bzip or gzip.
> >
> >
> So does the boot loader uncompress the kernel ? if not when and how does the
> kernel get uncompressed ?


From what I can remember, there is a "stub" that uncompress the kernel, setups the environment and jumps to main.c in the kernel. Look in the boot.s or .c in the arch directory of the kernel source if you want to know the guts of it.

I have once traced the whole process of loading and starting the kernel by reading the source. Fascinating in what one can learn to see what it takes to load and boot the kernel.

Jon
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss