[LinuxBIOS] VGA support

yhlu yinghailu at gmail.com
Thu Aug 11 00:35:49 CEST 2005

there is two kind of VGA that we need to support
1. onboard vga
2. addon card.

two CONFIG in MB Option.lb
#VGA Console

CONFIG_PCI_ROM_RUN will make sure all the option rom will be called.

Also in MB Config.lb  You need to specify for your onboard VGA
                                        device pci 9.0 on  # PCI
                                                chip drivers/pci/onboard
                                                        device pci 9.0 on end
"rom_address" = "0xfff80000" #512k image
"rom_address" = "0xfff00000" #1M image

Please make sure the device num should be right. Otherwise it can not
get exact ROM address.

Also when you plug add on display card to MB with onboard VGA, only
addon card will be used. That is the same as Normal BIOS.

For onboard VGA, You still need to modify your target Config.lb.
in noral section

romimage "normal"
#       48K for SCSI FW or ATI ROM
        option ROM_SIZE = 475136

It will leave space for vga option rom in flash.

So at last for your linuxbios.rom, you should do 
cat atix.rom linuxbios.rom > final_linuxbios.rom

you need to make sure the final_linuxbios.rom size is 512k or 1M.

please use dd to get you atix.rom when running Normal BIOS.


On 8/10/05, Stephen.Kimball at bench.com <Stephen.Kimball at bench.com> wrote:
> Could someone explain the different VGA options with LinuxBIOS?
> I've read the testbios FAQ items.  This seems to be a utility program
> that can be run after the system comes up to initialize a VGA card. Then
> I suppose one could open an X window.
> Then there are several LinuxBIOS Options that mention VGA:
> Some VGA options are more useful than others.  For example,
> CONFIG_LEGACY_VGABIOS does not seem to be used.
> I see CONFIG_CONSOLE_VGA enables logging to the VGA.
> Could someone write a FAQ describing how to make CONFIG_CONSOLE_VGA
> work?
> Thanks.
> Steve
> _______________________________________________
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios

More information about the coreboot mailing list