Hello
Last weekend I successfully booted seabios from grub2 with native video support. This had been previously reported on www.coreboot.org/pipermail/coreboot/2014-February/077306.html
If you want to do the same:
- get the latest seabios, no need for a specific branch anymore (I'm using 3aa31d7d6375303fc88438021aad485f50bb1e39)
git clone git://git.seabios.org/seabios.git seabios
- configure it with the attached configuration file, or at least enable CONFIG_COREBOOT and CONFIG_VGA_COREBOOT as per the original instructions ( http://www.coreboot.org/pipermail/coreboot/2014-February/077245.html)
- add seabios.elf and its vga rom to the CBFS payload (supposing you cloned seabios into ../payloads) with:
cbfstool coreboot.rom add -f ../payloads/seabios/out/bios.bin.elf -n elf/seabios.elf -t raw && cbfstool coreboot.rom add -f ../payloads/seabios/out/vgabios.bin -n vgaroms/vgabios.bin -t raw
The add -t raw seems to be important. I had boot problems that required a reflash after using add-payload and a few other experimental settings. Since I was investigating other issues, I did not try to explore that and return to a working setup instead.
- add to your grub.cfg
menuentry '2: SeaBios' {
insmod cbfs
chainloader (cbfsdisk)/elf/seabios.elf
}
That's it! I could successfully start an old grub from the hard drive, but not its memtest86 menu entry. Likewise, bootable USB stick or a windows partition can not be started. I'm still investigating.
Any help or suggestion would be appreciated!