[coreboot] one rom image for two boards?

Gerd Hoffmann kraxel at redhat.com
Thu Jun 6 16:44:13 CEST 2013


Is it possible to build a single rom which is able to run on two
different boards?

Background: qemu recently got an emulation for a more recent chipset.
Current seabios roms detect at runtime whenever runs on the old (i440fx
+ piix4) or the new (q35 + ich9) and initializes the hardware
accordingly.  I'd like to do the same with coreboot if possible.

Drivers seem to be kicked by hardware detection (struct pci_driver), so
it looks like simply compiling in two southbridges could work.  Tried,
got duplicate symbols.  Hmm.

There also is no obvious way to have two devicetrees and pick one of
them at runtime.  Same with acpi tables.

Comments?  Suggestions?


More information about the coreboot mailing list