I am investigating
the possiblity of using Openbios as a tool to verify our custom PCI
designs.
Specifically what I
am interested in is the ability to modify the PCI base address registers and
excercise the address decoders on the cards. What I'm after is some basic PCI
compliance testing that is hard to do with a full blown OS.
My problem is that
I'm having a tough time with the learning curve of openbios. I'm having trouble
figuring out how to do some basic things, like query the BARs of a PCI device.
I'm using Qemu as a sandbox to play with openbios, but I can't even figure out
how print the value of configuration register zero of a particular
device!
Can anyone steer me
in the right direction? Am I wasting my time, or does it sound like Openbios is
going to do what I want.
Thanks,
John