[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Raq3 kernel source



Dennis wrote:

> Ah, if I 'make vmlinux" its ok, but it cant make bzImage. I guess that
> makes sense.

correct - a bzImage is built like this:

make a vmlinux
copy out all the binary code (not ELF)
compress it (gzip)
build an ELF object with that compressed data in the .data section
tack on a bit of startup code to the front
link as ELF
copy out binary code
prepend a bootblock/setup code
(some details may be a bit wrong, but that is basically it :)

We only need the vmlinux, which we then compress.

See my next email specifically on bzImage

Tim
-- 
Tim Hockin
Software Engineer / OS Engineer
Cobalt Networks
thockin@xxxxxxxxxx