Ronald G Minnich <[EMAIL PROTECTED]> writes:

> I don't see a way to get a compressed kernel in using mkelfImage.
> 
> If I do the simple thing, run mkelfImage on a .bin.gz kernel, it gets very
> upset with me.
> 
> I'm wondering: shouldn't we compress the elfImage file with gzip, and have
> elfboot.c read rom via a gunzip(), instead of via get_byte(). Right now it
> reads the rom directly. I guess I'm a little confused on why this is done
> this way.

Because gunzip is a fat pig, and it isn't necessary.  We can put the
decompressor in the image file.  We should actually be able to switch
decompressors and get better compression than what gunzip gives.

Also I want stupid/focused firmware that I don't have to update.
 
> Has anyone used mkelfImage with gzip'ed kernels under linuxbios?

There are currently two solutions.

1) Run mkeflImage on arch/i386/boot/compressed/bvmlinux

2) Run mkelfImage and then compress it as we did with the Alpha port.

Eric

Reply via email to