Re: [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

From: Vivek Goyal
Date: Tue Feb 06 2007 - 01:33:44 EST


On Mon, Feb 05, 2007 at 10:16:59PM -0800, H. Peter Anvin wrote:
> Vivek Goyal wrote:
> >
> >I don't know much about Gujin, but advantage here seems to be that it has
> >capability to load elf files and that's why the attempt to turn kernel
> >binary
> >into a compressed elf image. Why don't we then simply add an ELF header to
> >bzImage and Gujin and any ELF loader including Gujin, should be able to
> >load
> >it? (As Eric had done in one of the implementations in the past?) Why to
> >create the new infrastructure?
> >
>
> Well, Gujin wants additional code too.
>
> Putting an ELF header on bzImage broke some bootloaders (GRUB, I
> believe), so that's not going to happen again. See the relocatable
> bzImage thread...
>

That time, grub was working fine but lilo had broken on one of Andrew's
machine. I could not reproduce the problem on my setup and had no clue what
was the issue. Hence got rid of ELF header from bzImage which was non-essential
stuff for relocatable kernel. But that issue should be fixable.

Thanks
Vivek
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/