Results 1 to 2 of 2
What is the reason for the vmlinux being compressed. Why take the trouble of compressing and then in boot code decompressing it and loading it...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-13-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
Need for vmlinux being compressed???
What is the reason for the vmlinux being compressed. Why take the trouble of compressing and then in boot code decompressing it and loading it
- 02-14-2007 #2Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
vmlinux is the uncompressed kernel binary image.
Originally Posted by utteerna
I think you mean vmlinuz (desktop kernel) or may be uImage (embedded kernel ) is decompressed by the boot code.
3 reasons:
1) In the early days, to allow the kernel to be placed on a 1.44 MB floppy disk. Compression takes up less space. Size is also important for embedded kernels on Flash based devices.
2) Kernel integrity checking. The decompression routine checks that decompressed kernel has the correct "checksum/CRC" value.
3) To allow a header to be added to the kernel image to indicate kernel name, size, and load address etc. for the boot code to use in extracting the kernel.


Reply With Quote
