[coreboot] LAR TODO
Myles Watson
mylesgw at gmail.com
Tue Mar 11 21:52:33 CET 2008
> >> Myles? Could you prepare a patch which #ifdefs the code instead of
> >> removing it?
This patch is a hopefully less controversial version of a previous patch which
removed the ELF loader from coreboot v3. This adds a Kconfig option
PAYLOAD_ELF_LOADER which builds the loader into v3. In order to make it a
little safer, I changed PAYLOAD_PREPARSE_ELF to PAYLOAD_NO_PREPARSE_ELF and
made that option depend on PAYLOAD_ELF_LOADER so that no one adds an unparsed
ELF without the loader.
One part that was strange to me was that I first tried adding elfboot.o and
archelfboot.o to the beginning of the list of object files. This broke
coreboot. It still finished building, but would not boot on QEMU. I was
surprised that it broke it, but didn't investigate further.
Myles
Signed-off-by: Myles Watson <mylesgw at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opt_no_elf.diff
Type: text/x-patch
Size: 4113 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080311/7b20d31e/attachment.diff>
More information about the coreboot
mailing list