Doubt in decompressing kernel image.
Hi,
As per my understanding in the boot process,for example specific to arm architecture,
the first piece of code to be executed is arch/arm/boot/compressed/head.S, in which a "start" symbol is present. Bootloader will jump to this address. There might be some architecture specific assembly files also in the same path, which will get executed.
After which the head.S code will invoke arch/arm/boot/compressed/misc.c -decompress_kernel routine to decompress the kernel image.
My doubt is the file arch/arm/boot/compressed/head.S is also a part of linux kernel and will it not need to be decompressed and can it be executed straight away?
please reply!
|