John,
 
I do not have an environment that you are persuing, ie. Qemu.
So you will need to clarify a little more.
Do you have a running OpenBIOS system such that you get to the
OpenFirmware console specifically at the "ok" prompt?
 
-Asif


From: Fusco, John (GE Healthcare) [mailto:John.Fusco@med.ge.com]
Sent: Wednesday, August 23, 2006 11:02 AM
To: Asif Haswarey
Cc: openbios@openbios.org
Subject: RE: [OpenBIOS] Basic Questions

Yes, that's essentially what I want. The runiso target in the makefile uses qemu. So that part was easy.
 
Trying to decipher all the rest of it is where I'm stuck.
 
John


From: Asif Haswarey [mailto:asif.haswarey@qlogic.com]
Sent: Wednesday, August 23, 2006 12:31 PM
To: Fusco, John (GE Healthcare)
Subject: RE: [OpenBIOS] Basic Questions

John,
 
Exercising the PCI config space is probably what you are looking to do.
Have you actually been able to install OpenBIOS in your Qemu environment/platform?

_____________

Äsif Haswaréy

QLogic Corporation

FCode Driver Development

Phone: 949.389.7607

  Fax: 949.389.6308

asif.haswarey@qlogic.com

 



From: openbios-bounces@openbios.org [mailto:openbios-bounces@openbios.org] On Behalf Of Fusco, John (GE Healthcare)
Sent: Wednesday, August 23, 2006 10:12 AM
To: openbios@openbios.org
Subject: [OpenBIOS] Basic Questions

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