It should work with onboard one. You may put the option rom in the EEPROM and set the VGABIOS_START correctly.
YH.
-----邮件原件----- 发件人: Bari Ari [mailto:bari@onelabs.com] 发送时间: 2003年8月11日 16:41 收件人: ron minnich 抄送: Steve Gehlbach; Eric W. Biederman; SONE Takeshi; Stefan Reinauer; linuxbios@clustermatic.org 主题: Re: Supporting extension ROMs and beyond...
ron minnich wrote:
Fair use says, I think, that you can copy a bios from your machine to your machine for personal use. Certainly that's what you do when you load a new bios image from a web site. You can't distribute it. So ADLO supports getting the VGA bios out of your on-card bios and building it into linuxbios. That's how it is done: copy it from your machine to your machine.
VGABIOS, on the other hand, just finds the on-card bios and runs it.
Does this mean that VGABIOS would not work for boards that have integrated video and have the video BIOS combined into the system BIOS?
Bari
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
On Mon, 11 Aug 2003, YhLu wrote:
It should work with onboard one. You may put the option rom in the EEPROM and set the VGABIOS_START correctly.
oops, forgot, we do support that. I never tried it though.
ron
[apologies if it was mentioned before]
Not sure if folks now about it, but there's this project.
http://www.nongnu.org/vgabios/
perhaps it would be usefull.
On Mon, 11 Aug 2003, Adam Sulmicki wrote:
Not sure if folks now about it, but there's this project.
it's ok but it's overkill. All we want is to get vga into a state that linux etc. can use it. That means only supporting PCIBIOS functions used by VGA expansion roms for initialization. That in turn means I don't want to support stuff such as:
static void biosfn_get_single_palette_reg(); static void biosfn_read_overscan_border_color(); static void biosfn_get_all_palette_reg(); static void biosfn_set_single_dac_reg(); static void biosfn_set_all_dac_reg(); static void biosfn_select_video_dac_color_page(); static void biosfn_read_single_dac_reg(); static void biosfn_read_all_dac_reg(); static void biosfn_set_pel_mask(); static void biosfn_read_pel_mask(); static void biosfn_read_video_dac_state(); static void biosfn_perform_gray_scale_summing(); static void biosfn_load_text_user_pat(); static void biosfn_load_text_8_14_pat(); static void biosfn_load_text_8_8_pat(); static void biosfn_set_text_block_specifier(); static void biosfn_load_text_8_16_pat(); static void biosfn_load_gfx_8_8_chars(); static void biosfn_load_gfx_user_chars(); static void biosfn_load_gfx_8_14_chars(); static void biosfn_load_gfx_8_8_dd_chars(); static void biosfn_load_gfx_8_16_chars();
etc.
But it's still a neat hack.
ron
Adam Sulmicki wrote:
Thanks, I hadn't seen this before, looks like a very nice implementation.
I believe on a quick read that it is implementing basic legacy mode VGA, which we have in linuxbios. The problem always is, how to set the bridge or card to the point to enable the legacy mode. I think that is where the card VGABIOS comes in, and since it calls regular BIOS, you need both.
But I am frustrated by not having enough time to spend on this, because you are only a handfull of registers (or much less) away from having legacy enabled on most cards. Sometimes it is just a bit or two in one or two registers. The rest we already have. Frambuffer, of course, is more complicated (at higher res anyway).
-Steve
* Adam Sulmicki adam@cfar.umd.edu [030812 04:39]:
[apologies if it was mentioned before]
Not sure if folks now about it, but there's this project.
http://www.nongnu.org/vgabios/
perhaps it would be usefull.
This is nice and useful for bochs and plex86, since they don't run on real hardware but implement a generic, really dumb vga device.
To get VGA initialized generally we _do_ need the vga bios that sits on the graphics card itself (or in the system rom, if vga is onboard)
A reimplementation like the above contains all the nice API that would allow any OS or bootloader to interface with the bios nicely. But that is not what we need, since the graphics card bios provided by the card manufacturer does that already. It would be useful if we solved the problem of calling pci option roms for initialization and want to be able to test LinuxBIOS in bochs though.
Stefan