vgabios use howto.

Richard Smith rsmith at bitworks.com
Tue Jan 13 16:12:00 CET 2004


ron minnich wrote:

> On Tue, 13 Jan 2004, Richard Smith wrote:
> 
> 
>>How do I tell it what pci device to use.  I get an error trying to open 
>>/proc/bus/pci/00/1f.7
> 
> 
> what does lspci show?
> 

gpatlas:~# lspci -v
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(AGP
disabled) (rev 03)
         Subsystem: Intel Corp.: Unknown device 0000
         Flags: bus master, medium devsel, latency 64
         Memory at e0000000 (32-bit, prefetchable) [size=256M]

00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
         Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) 
(prog-if 8
0 [Master])
         Flags: medium devsel
         I/O ports at 1820 [size=16]

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) 
(prog-if
00 [UHCI])
         Flags: bus master, medium devsel, latency 64, IRQ 9
         I/O ports at 1800 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
         Flags: medium devsel, IRQ 9

00:12.0 VGA compatible controller: ATI Technologies Inc Rage Mobility 
P/M (rev
  64) (prog-if 00 [VGA])
         Flags: stepping, medium devsel
         Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
         I/O ports at 1000 [size=256]
         Memory at f2000000 (32-bit, non-prefetchable) [size=4K]
         Expansion ROM at <unassigned> [disabled] [size=128K]
         Capabilities: [5c] Power Management version 1

00:14.0 VGA compatible controller: ATI Technologies Inc Rage Mobility 
P/M (rev
  64) (prog-if 00 [VGA])
         Flags: stepping, medium devsel
         Memory at f1000000 (32-bit, non-prefetchable) [disabled] [size=16M]
         I/O ports at 1400 [disabled] [size=256]
         Memory at f2001000 (32-bit, non-prefetchable) [disabled] [size=4K]
         Expansion ROM at <unassigned> [disabled] [size=128K]
         Capabilities: [5c] Power Management version 1

> for the -d option to the tool you have to give the busdevfn as one number, 
> e.g. 2:0.0 needs to be 0x200

I always get this wrong..  00:12.0 would be what?

-- 
Richard A. Smith
rsmith at bitworks.com





More information about the coreboot mailing list