^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Setting PCI_BRIDGE_CTL_VGA for bridge PCI_DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device
This means that the primary VGA device was set to 12.4. Which means that 12.4 gets the legacy IO range.
Well, but why. I have told about the config script, that 9.0 is the one to use :(
Go into src/devices/device.c and change line 416 from a 1 to a 0. Accrding to the comments that should use the last vga device as primary rather than the first one.
I will try this.
But few things more. How does I handle the config.lb
(attachment)
first the old section: This produced LB, if I insert the wiki lines at least. After the other initializing stuff.
If I insert device pci 9.0 on ... bla bla
after device pci 0.0 on
the second section is produced.
ok, both don't bring up the console, but there are lot of differents
In the second one 9.0 is allocated as VGA first but not as subsystem! Also there is no init which fails later??
chris
###################################### ## old one ###################################
PCI: 00:12.3 disabled PCI: 00:12.4 disabled PCI: pci_scan_bus returning with max=00 done Allocating resources... Reading resources... Done reading resources. Allocating VGA resource PCI: 00:12.4 Setting PCI_BRIDGE_CTL_VGA for bridge PCI_DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device Setting resources... BC_DRAM_TOP = 0x03bfffff MC_GBASE_ADD = 0x00000078 I would set ram size to 60 Mbytes PCI: 00:09.0 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:09.0 30 <- [0x00fe000000 - 0x00fe00ffff] romem PCI: 00:12.1 10 <- [0x00fe012000 - 0x00fe0120ff] mem PCI: 00:12.2 20 <- [0x0000001000 - 0x000000107f] io PCI: 00:12.3 10 <- [0x00fe013000 - 0x00fe01307f] mem PCI: 00:12.4 10 <- [0x00fe010000 - 0x00fe010fff] mem PCI: 00:13.0 10 <- [0x00fe011000 - 0x00fe011fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:00.0 cmd <- 147 PCI: 00:09.0 cmd <- 142 PCI: 00:12.0 cmd <- 14f PCI: 00:12.2 missing enable_resources PCI: 00:12.1 cmd <- 142 PCI: 00:12.2 cmd <- 141 PCI: 00:12.3 cmd <- 142 PCI: 00:12.4 cmd <- 143 PCI: 00:13.0 cmd <- 142 done. Initializing devices... Root Device init PCI: 00:00.0 init northbridge: northbridge_init() PCI: 00:12.0 init PNP: 002e.0 init PNP: 002e.1 init PNP: 002e.2 init PNP: 002e.4 init PNP: 002e.5 init PNP: 002e.6 init PNP: 002e.7 init PNP: 002e.8 init PCI: 00:09.0 init rom address for PCI: 00:09.0 = fe000000 Incorrect Expansion ROM Header Signature 0202 PCI: 00:12.1 init PCI: 00:12.2 init
############################################################# ## new one ####################################
PCI: pci_scan_bus returning with max=00 done Allocating resources... Reading resources... Done reading resources. Allocating VGA resource PCI: 00:09.0 Setting PCI_BRIDGE_CTL_VGA for bridge PCI_DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device Setting resources... BC_DRAM_TOP = 0x03bfffff MC_GBASE_ADD = 0x00000078 I would set ram size to 60 Mbytes PCI: 00:09.0 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:12.1 10 <- [0x00fe002000 - 0x00fe0020ff] mem PCI: 00:12.2 20 <- [0x0000001000 - 0x000000107f] io PCI: 00:12.3 10 <- [0x00fe003000 - 0x00fe00307f] mem PCI: 00:12.4 10 <- [0x00fe000000 - 0x00fe000fff] mem PCI: 00:13.0 10 <- [0x00fe001000 - 0x00fe001fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:00.0 cmd <- 147 PCI: 00:09.0 subsystem <- 00/00 PCI: 00:09.0 cmd <- 143 PCI: 00:12.0 cmd <- 14f PCI: 00:12.2 missing enable_resources PCI: 00:12.1 cmd <- 142 PCI: 00:12.2 cmd <- 141 PCI: 00:12.3 cmd <- 142 PCI: 00:12.4 cmd <- 142 PCI: 00:13.0 cmd <- 142 done. Initializing devices... Root Device init PCI: 00:00.0 init northbridge: northbridge_init() PCI: 00:09.0 init PCI: 00:12.0 init PNP: 002e.0 init PNP: 002e.1 init PNP: 002e.2 init
On 4/23/06, Christian Sühs chris@suehsi.de wrote:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Setting PCI_BRIDGE_CTL_VGA for bridge PCI_DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device
This means that the primary VGA device was set to 12.4. Which means that 12.4 gets the legacy IO range.
Well, but why. I have told about the config script, that 9.0 is the one to use :(
I've added some debug output to the VGA area that determines which device to use as primary. Apply the attached patch and post the output.
The output is BIOS_SPEW level output so you will have to bump your maximum loglevel up to 10 and your default loglevel to 9
-- Richard A. Smith