Hmmm. I guess that means that a CBFS build automagically installs the VGA bios and sets the PCI_ROM_ADDRESS reg in the correct device, and since this 'should' be relocatable I should simply remove my NB code that installs the VGA BIOS manually, and hope for the best.
At what stage in the init process does the PCI expansion ROM get installed ? Is it necessary to call something from coreboot to make it happen ?
Bochs as in Bochs BIOS, is needed to provide some callback support for the vendor VGA BIOS. It could be considered as an option rom.... sort of. It doesn't matter where it is in Flash so long as it can be found programatically from coreboot, as it needs to be located in a specific location in RAM for the legacy VGA to find it.
-----Original Message----- From: Patrick Georgi [mailto:patrick@georgi-clan.de] Sent: 17 August 2009 22:53 To: Harrison, Jon (SELEX GALILEO, UK) Cc: coreboot@coreboot.org Subject: Re: [coreboot] Change to use CBFS - Help needed
*** WARNING ***
This message has originated outside your organisation, either from an external partner or the Global Internet. Keep this in mind if you answer this message.
Am 17.08.2009 18:56, schrieb Harrison, Jon (SELEX GALILEO, UK):
Or point to a good example to get started from.
I guess something needs to be added to
targets/via/epia-n/Config.lb ??
.. .. romimage "fallback" option COREBOOT_EXTRA_VERSION = "-epia_n-fallback" payload ../../../../../payloads/filo/filo.elf end
# outside the romimage section, as it's not part of the romimage pci_rom /path/to/vga.bin vendor_id=0xcafe device_id=0xbabe
You don't have to care where it ends up, so you can increase the ROM size in the configuration to its actual size, instead of merging the files afterwards.
what is bochs.bin? option rom? payload? something else?
Patrick
SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ********************************************************************