[coreboot] Device number to use with testbios & lspci output difference between Commercial BIOS and coreboot

Ken.Fuchs at bench.com Ken.Fuchs at bench.com
Wed Jul 30 00:28:14 CEST 2008


I have a PCI video card in an nVidia CRB system that I'm
trying to init via testbios (user mode VGA option ROM init).

I need to determine which device number (-d argument)
I should use with testbios, so I did a lspci under
coreboot, but the video card doesn't seem to show up.

When I switch back to the Commercial BIOS, the video
card is clearly identified as:

01:06.0 VGA compatible controller: Tseng Labs Inc ET6000 (rev 30)

lspci output for both LinuxBIOS and Phoenix BIOS appears
after my sig.

The testbios command line I'm using is:

./testbios -s 65536 --abseg /dev/mem ./vgabios1.bin

What should the -d argument for testbios be?

It is confusing that LinuxBIOS (coreboot) and Phoenix BIOS
are using different PCI bus numbers.  I always assumed
that didn't matter, but now I'm not so positive.  Does
it really matter?

Sincerely,

Ken Fuchs

------

LinuxBIOS (coreboot):

[root at localhost ~]# lspci
lspci
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
01:01.0 ISA bridge: nVidia Corporation: Unknown device 0051 (rev a3)
01:01.2 Memory controller: nVidia Corporation: Unknown device 005f (rev
a3)
01:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
01:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
01:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
01:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
01:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
01:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
01:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
01:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
01:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
02:00.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
02:01.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
02:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
02:01.2 Memory controller: nVidia Corporation: Unknown device 005f (rev
a3)
02:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
02:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
02:0a.0 Ethernet controller: nVidia Corporation CK804 Ethernet
Controller (rev a3)
02:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
02:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
02:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
02:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
[root at localhost ~]#

------

Phoenix Technologies BIOS:

[root at localhost ~]# lspci
lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
00:01.0 ISA bridge: nVidia Corporation: Unknown device 0051 (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97
Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:06.0 VGA compatible controller: Tseng Labs Inc ET6000 (rev 30)
80:00.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
80:01.0 Memory controller: nVidia Corporation CK804 Memory Controller
(rev a3)
80:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
80:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
(rev a3)
80:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
80:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
80:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
80:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
[root at localhost ~]#




More information about the coreboot mailing list