Kevin O'Connor wrote:
I recommend having SeaBIOS do the rom copying - modify SeaBIOS' config.h and set:
#define CONFIG_OPTIONROMS_DEPLOYED 0
If you have to include a vgabios in the rom, then also set something like:
#define OPTIONROM_BDF_1 pci_to_bdf(0x02, 0x00, 0) // pci 02:00.0 #define OPTIONROM_MEM_1 0xfffc0000 // rom address of option rom
It would be awesome if these things could be controlled by a tool after build time.
//Peter