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...
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
Kevin O'Connor wrote:
rom-mkpayload < myprog.elf > myprog.pay romtool somedir/bios.bin add myprog.pay img/myprog 0x20 romtool somedir/bios.bin print
Just a note that these commands are now cbfs-mkpayload and cbfstool, respectively.
//Peter