Re: zImage compressed with what?

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: Sir Light
Data:  
To: Main PLUG discussion list
Oggetto: 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