[SeaBIOS] Qemu/Seabios and loading option roms

Bob Moore Robert.Moore at hgst.com
Sat Jan 23 01:24:38 CET 2016


Hi,

I'm new to qemu/seabios and am in the process of developing an option rom for a pcie device.  I want to use seabios as a driver for debugging this code.  I see documentation that says I can put my option rom into a file with name of the form pciVVVV,DDDD.rom to contain my compiled/linked code that will be used when the device having that VendorID/DeviceId is processed in init_pcirom().  The lookup_hardcode() call looks for this file on a list via romfile_find().  The list looks to be populated from FW_CFG_FILE_DIR but I can't seem to find where the entries on this list actually come from.  Is there a specific directory in the qemu project that is configured to contain these entries?  Or maybe these are just configured in a file someplace?

Any help would be greatly appreciated.

Thanks.


Robert (Bob) L Moore
Firmware Engineer
CIBU Platform
o: 719-799-4642 (ext. 244642)
robert.moore at hgst.com<mailto:robert.moore at hgst.com>

[cid:image001.png at 01D13689.346E0520]
1975 Research Pkwy, Suite 135
Colorado Springs, CO 80920
www.wdc.com<http://www.wdc.com/>

HGST E-mail Confidentiality Notice & Disclaimer:
This e-mail and any files transmitted with it may contain confidential or legally privileged information of HGST and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited.  If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.seabios.org/pipermail/seabios/attachments/20160123/6caa55b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6257 bytes
Desc: image001.png
URL: <http://www.seabios.org/pipermail/seabios/attachments/20160123/6caa55b5/attachment.png>


More information about the SeaBIOS mailing list