[coreboot] SeaBIOS and CBFS with payloads

Kevin O'Connor kevin at koconnor.net
Tue Apr 14 00:52:33 CEST 2009


Hi,

The latest SeaBIOS git now supports launching arbitrary payloads from
CBFS.

I've put a qemu test image at:

http://linuxtogo.org/~kevin/coreboot/qemu-seabios-many-cbfs-payload-20090413.rom

To test, just download the image and launch it with qemu - something
like:

mkdir somedir/
mv qemu-seabios-many-cbfs-payload-20090413.rom somedir/bios.bin
qemu -L somedir/ -hda /dev/null

When SeaBIOS is booting, press the F12 key - you'll see a menu that
includes several payloads.

It's easy to add more payloads - just grab romtool and rom-mkpayload
from coreboot-v2 svn and run something like:

rom-mkpayload < myprog.elf > myprog.pay
romtool somedir/bios.bin add myprog.pay img/myprog 0x20
romtool somedir/bios.bin print

SeaBIOS will show all files in the "img/" directory on the boot menu.

Currently, SeaBIOS only supports uncompressed payloads.  Note, because
coreboot's qemu support doesn't have ACPI, I wouldn't use the above
image for anything other than testing.

-Kevin




More information about the coreboot mailing list