Ron,
Where is the VGA BIOS support? Still in freebios?
YH
-----邮件原件----- 发件人: ron minnich [mailto:rminnich@lanl.gov] 发送时间: 2003年8月8日 12:42 收件人: SONE Takeshi 抄送: linuxbios@clustermatic.org 主题: Re: Supporting extension ROMs and beyond...
On Sat, 9 Aug 2003, SONE Takeshi wrote:
Then it's convenient to have a few more INTs and generic PCI ROM enabling routine to enable the SCSI adapter. That code would be simple and small anyway.
It doesn't bother me. I am fine with it. I believe that the VGA BIOS support can be used for this as well, with very little extra work.
Then, at this point, why not adding a simple code to load IPL and jumping it in real mode? It's smaller than a printk.
Sure.
Eric is concerned that it not be in the "core". I am willing to call it a compiled-in extension if everyone is ok with that. We could have a src/extensions directory, and put items such as the VGA BIOS support etc. in there. Such extensions have to be explicitly enabled. The static device mechanism gives us an easy way to hook into them.
But for reasons of space at least, I would really like to keep the ability to compile VGA BIOS support directly into linuxbios. The ELF chaining that Adam mentioned, while interesting, is complex enough to worry me.
Takeshi did I apply your last patch to VGA BIOS support? Can you check?
thanks
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
On Fri, 8 Aug 2003, YhLu wrote:
Where is the VGA BIOS support? Still in freebios?
it's the one that SONE used in linuxbios, he can describe again how it is enabled. We are using it here for NVidia cards.
ron p.s. but it doesn't work on nvidia yet!
On Fri, Aug 08, 2003 at 02:29:08PM -0600, ron minnich wrote:
On Fri, 8 Aug 2003, YhLu wrote:
Where is the VGA BIOS support? Still in freebios?
it's the one that SONE used in linuxbios, he can describe again how it is enabled. We are using it here for NVidia cards.
I don't know about freebios2 tree, but in freebios tree there is some code to call POST routine of external VGA BIOS, and support for some realmode BIOS call (like PCI BIOS) to help the VGA BIOS run happily.
It is activated by config like below:
option CONFIG_VGABIOS=1 option CONFIG_REALMODE_IDT=1 dir src/bioscall option CONFIG_PCIBIOS=1 option VGABIOS_START=0xfffe0000
The last line is needed when you use the VGA BIOS image from the Flash (typically for onboard VGA).
If this option is not defined, VGA card's ROM is used (this is what Ron's original code does).
Ron: my last fix to pcibios.c is in the tree and working ok. Thanks.
-- Takeshi
* SONE Takeshi ts1@tsn.or.jp [030809 19:54]:
I don't know about freebios2 tree, but in freebios tree there is some code to call POST routine of external VGA BIOS, and support for some realmode BIOS call (like PCI BIOS) to help the VGA BIOS run happily.
the code is currently only in the freebios 1.0 tree, since the freebios2 tree only includes the features that were used and tested during the PPC and Opteron port to get rid of unneeded code. It might be a good idea to get this code over into the freebios2 tree as an extension.
It is activated by config like below:
option CONFIG_VGABIOS=1 option CONFIG_REALMODE_IDT=1 dir src/bioscall option CONFIG_PCIBIOS=1 option VGABIOS_START=0xfffe0000
The last line is needed when you use the VGA BIOS image from the Flash (typically for onboard VGA).
What's the meaning of the other config variables? Does it make sense to automatically use REALMODE_IDT=1, when compiling this extension (in spe) on an x86 box, maybe in favour of CONFIG_X86EMU=1 on non-x86 platforms? The new config method might allow to make this really readable and understandable.
Stefan