Christian Sühs schrieb:


How should I setup LB to use the vga.bios with the emulator.
Which CONFIG Options do I need for that.


Oops, now I have found it on the wiki.

chris


Well, currently I'm not able to bring up the VGA console.
I'm not sure, if I done all right.

in Option.lb I have inserted the two CONFIGs

uses CONFIG_CONSOLE_VGA
uses CONFIG_PCI_ROM_RUN

default CONFIG_CONSOLE_VGA=1
default CONFIG_PCI_ROM_RUN=1


where the second option seems to bring up the cs5530 internal graphic engine (attachment)

Furthermore, the emulator fails on a false expansion ROM signatur 0202
it should be 55aa, right?

Is there any option, that I have forgotten?

In Config.lb should I insert a rom_adress and a few lines. What does image in that case mean. The whole Bios image (256k) or the vga segment only (32k). I have inserted this lines at the bottom end of the file as described in the wiki. My Device is also located as in the description (9.0 PCI)
rom_adress = 0xfff40000 for 256K image ?!

thanks for any hints

chris
--->snip

Enumerating buses...
Finding PCI configuration type.
PCI: Using configuration type 1
PCI_DOMAIN: 0000 enabled
PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1078/0001] enabled
PCI: 00:09.0 [10ea/5000] enabled
PCI: 00:12.0 [1078/0100] enabled
PCI: 00:12.1 [1078/0101] enabled
PCI: 00:12.2 [1078/0102] enabled
PCI: 00:12.3 [1078/0103] enabled
PCI: 00:12.4 [1078/0104] enabled
PCI: 00:13.0 [0e11/a0f8] enabled
PNP: 002e.0 enabled
PNP: 002e.1 enabled
PNP: 002e.2 enabled
PNP: 002e.3 disabled
PNP: 002e.4 enabled
PNP: 002e.5 enabled
PNP: 002e.6 enabled
PNP: 002e.7 enabled
PNP: 002e.8 enabled
PCI: 00:12.1 disabled
PCI: 00:12.2 enabled
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 // here is the internal graphic which 
should be disabled
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
PCI: 00:12.3 init
PCI: 00:12.4 init
PCI: 00:13.0 init
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...failed
Moving GDT to 0x500...ok
Wrote linuxbios table at: 00000530 - 000006c4  checksum c145

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3

--->snap
-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to