Hello,
I just tried my "imporved" testbios on ATI 9800PRO under LinuxBIOS. It can init the card. The only problem is that the normal BIOS store the PCIDEVFN at some bytes in the C segment so I have to change the vbios.bin a little bit.
I will commit the current testbios into V2 tree after doing some clean up.
Ollie
Li-Ta Lo wrote:
Hello,
I just tried my "imporved" testbios on ATI 9800PRO under LinuxBIOS. It can init the card. The only problem is that the normal BIOS store the PCIDEVFN at some bytes in the C segment so I have to change the vbios.bin a little bit.
I will commit the current testbios into V2 tree after doing some clean up.
Can you send me a tarball of your code? I want to test it on my M1 card.
Richard Smith wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
I got a pci developemnt card from ATI that has an M1 on it stuck in a sytems that also has a agp card. I tell the bios to init the AGP card first so the PCI card only gets POR. I've been using this to test my init code on known good hardware rather than my target system.
Running my ATI bios under testbios appears to do something but since I think the bios is enabling the legacy IO ranges it makes my AGP card go crazy and locks up the machine.
I'm about to try it on my target.
On Thu, 2004-05-27 at 13:38, Richard Smith wrote:
Richard Smith wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
Your are asking too much ;-). It is not that smart yet.
I got a pci developemnt card from ATI that has an M1 on it stuck in a sytems that also has a agp card. I tell the bios to init the AGP card first so the PCI card only gets POR. I've been using this to test my init code on known good hardware rather than my target system.
Running my ATI bios under testbios appears to do something but since I think the bios is enabling the legacy IO ranges it makes my AGP card go crazy and locks up the machine.
Can you just install one VGA card and use telnet/rlogin ?
Ollie
I'm about to try it on my target.
On Thu, 27 May 2004, Richard Smith wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
the spec says that you can call a card bios with a devfn and it should all work. Not all cards work however as their bios is brain-dead.
ron
ron minnich wrote:
On Thu, 27 May 2004, Richard Smith wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
the spec says that you can call a card bios with a devfn and it should all work. Not all cards work however as their bios is brain-dead.
The bios also has to know if it should enable decode of the legacy vga IO registers. How would you tell it that?
On Thu, 2004-05-27 at 15:21, Richard Smith wrote:
ron minnich wrote:
On Thu, 27 May 2004, Richard Smith wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
the spec says that you can call a card bios with a devfn and it should all work. Not all cards work however as their bios is brain-dead.
The bios also has to know if it should enable decode of the legacy vga IO registers. How would you tell it that?
There is a terrible way to do that. There is some INT 10 call which can disable the legacy vga decode for the "current" vga device.
Ollie
Li-Ta Lo wrote:
I don't suppose there is a way to use testbios with a system having 2 video cards is there?
I need to try and make this work.
I've sucessfully run the new emulator on my PCI dev card in a desktop system with the PCI card as its only display and received a bios init message. Yah! The most progress I've had in weeks since ATI's tech help is proving to not be so helpful.
It still does not work on my target system. Going over the IO dumps between the 2 systems I find that some of the ins get different info and then the bios does different stuff. Some of the bits that are different are CRT enabled bits.
So my guess is that based on if the CRT is already up (ie warm boot) the BIOS takes a differnt path than that of a cold boot.
So I really need to run the emulator on my PCI card with only a POR.
What I'm currently doing is using setpci to disable the primary mem and IO responses and then enabling the secondary card. This is the same method I used in my previous bios setup to init 2 video chips. Just in the BIOS at boot time rather than from user space.
Then I run testbios.
I'm running it from a remote ssh login because it dosn't seem to work properly if I run from a console session.
Anyway it does something differnt and does not init the card. However its not the same as what it does on my target. I'm still reviewing the io log files.
Any reason why the enable/disable via setpci might not work from user space like does in BIOS land.