ELF boot and Multiboot

SONE Takeshi ts1 at cma.co.jp
Thu Jun 12 01:00:01 CEST 2003

In the source of mkelfImage, linux-i386/convert_params.c,
there is some code to retrieve information like memory map
from Multiboot information structure.
However, ELF images created by mkelfImage does not have
Multiboot header, according to 'mbchk' of GRUB boot loader.
In what situation is this code supposed to run (and tested)?
If one added a (trivial) Multiboot header in the head.S,
the resulting kernel could be loaded from GRUB, while it could also
be loaded by ELF boot of LinuxBIOS and Etherboot?

More information about the coreboot mailing list