Sorry. Forgot to attach.
Allright, here is the more verbose output.
It seems that 12.4 is assign as first pci vga Device anymore. Tomorrow I will try to set
if 1 to if 0 in device.c
I hope than is taken the right one.
What about the rom_adress
stefan means 0xfffc0000 ron means 0xffffc000
:D
what should I try? The vga segment is located first in the image.
chris
Richard A. Smith
LinuxBIOS-1.1.8.0Fallback Sun Apr 23 23:42:37 CEST 2006 starting... Setting up default parameters for memory Sizing memory Probing for DIMM0 Found DIMM0 Page Size: 00001000 Component Banks: 4 Module Banks: 1 DIMM size: 04000000 Probing for DIMM1 MC_BANK_CFG = 00701420 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-1.1.8.0Fallback Sun Apr 23 23:42:37 CEST 2006 booting... end 52c244a5, start 0 32-bit delta 360 calibrate_tsc 32-bit result is 360 clocks_per_usec: 360 Enumerating buses... scan_static_bus for Root Device Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled PCI_DOMAIN: 0000 scanning... PCI: pci_scan_bus for bus 0 PCI: 00:00.0 [1078/0001] ops PCI: 00:00.0 [1078/0001] enabled PCI: devfn 0x8, bad id 0xffffffff PCI: devfn 0x10, bad id 0xffffffff PCI: devfn 0x18, bad id 0xffffffff PCI: devfn 0x20, bad id 0xffffffff PCI: devfn 0x28, bad id 0xffffffff PCI: devfn 0x30, bad id 0xffffffff PCI: devfn 0x38, bad id 0xffffffff PCI: devfn 0x40, bad id 0xffffffff PCI: 00:09.0 [10ea/5000] enabled PCI: devfn 0x49, bad id 0xffffffff PCI: devfn 0x4a, bad id 0xffffffff PCI: devfn 0x4b, bad id 0xffffffff PCI: devfn 0x4c, bad id 0xffffffff PCI: devfn 0x4d, bad id 0xffffffff PCI: devfn 0x4e, bad id 0xffffffff PCI: devfn 0x4f, bad id 0xffffffff PCI: devfn 0x50, bad id 0xffffffff PCI: devfn 0x58, bad id 0xffffffff PCI: devfn 0x60, bad id 0xffffffff PCI: devfn 0x68, bad id 0xffffffff PCI: devfn 0x70, bad id 0xffffffff PCI: devfn 0x78, bad id 0xffffffff PCI: devfn 0x80, bad id 0xffffffff PCI: devfn 0x88, bad id 0xffffffff PCI: 00:12.0 [1078/0100] bus ops southbridge_enable: dev is 00018b40 PCI: 00:12.0 [1078/0100] enabled malloc Enter, size 668, free_mem_ptr 00022000 malloc 0x00022000 PCI: 00:12.1 [1078/0101] enabled malloc Enter, size 668, free_mem_ptr 0002229c malloc 0x0002229c PCI: 00:12.2 [1078/0102] ops cs5530_ide: ide_enable PCI: 00:12.2 [1078/0102] enabled malloc Enter, size 668, free_mem_ptr 00022538 malloc 0x00022538 PCI: 00:12.3 [1078/0103] enabled malloc Enter, size 668, free_mem_ptr 000227d4 malloc 0x000227d4 PCI: 00:12.4 [1078/0104] enabled PCI: devfn 0x95, bad id 0xffffffff PCI: devfn 0x96, bad id 0xffffffff PCI: devfn 0x97, bad id 0xffffffff malloc Enter, size 668, free_mem_ptr 00022a70 malloc 0x00022a70 PCI: 00:13.0 [0e11/a0f8] enabled PCI: devfn 0xa0, bad id 0xffffffff PCI: devfn 0xa8, bad id 0xffffffff PCI: devfn 0xb0, bad id 0xffffffff PCI: devfn 0xb8, bad id 0xffffffff PCI: devfn 0xc0, bad id 0xffffffff PCI: devfn 0xc8, bad id 0xffffffff PCI: devfn 0xd0, bad id 0xffffffff PCI: devfn 0xd8, bad id 0xffffffff PCI: devfn 0xe0, bad id 0xffffffff PCI: devfn 0xe8, bad id 0xffffffff PCI: devfn 0xf0, bad id 0xffffffff PCI: devfn 0xf8, bad id 0xffffffff scan_static_bus for PCI: 00:12.0 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 scan_static_bus for PCI: 00:12.0 done PCI: pci_scan_bus returning with max=00 scan_static_bus for Root Device done done Allocating resources... Reading resources... Root Device compute_allocate_io: base: 00000400 size: 00000000 align: 0 gran: 0 Root Device read_resources bus 0 link: 0 northbridge.c:pci_domain_read_resources() PCI_DOMAIN: 0000 read_resources bus 0 link: 0 PCI_DOMAIN: 0000 read_resources bus 0 link: 0 done Root Device read_resources bus 0 link: 0 done PCI: 00:12.2 20 * [0x00000400 - 0x0000047f] io Root Device compute_allocate_io: base: 00000480 size: 00000080 align: 7 gran: 0 done Root Device compute_allocate_mem: base: 00000000 size: 00000000 align: 0 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:09.0 10 * [0x00000000 - 0x00ffffff] mem PCI: 00:12.4 10 * [0x01000000 - 0x01000fff] mem PCI: 00:13.0 10 * [0x01001000 - 0x01001fff] mem PCI: 00:12.1 10 * [0x01002000 - 0x010020ff] mem PCI: 00:12.3 10 * [0x01003000 - 0x0100307f] mem Root Device compute_allocate_mem: base: 01003080 size: 01003080 align: 24 gran: 0 done Done reading resources. first onboard = PCI: 00:09.0 Skipping disabled device PNP: 002e.3 Skipping disabled device PCI: 00:12.1 Skipping disabled device PCI: 00:12.3 Skipping disabled device PCI: 00:12.4 vga_first = PCI: 00:12.4 vga = PCI: 00:12.4 Looking at vga_onboard Reassigning vga to PCI: 00:12.4 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... Root Device compute_allocate_io: base: 00001000 size: 00000080 align: 7 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:12.2 20 * [0x00001000 - 0x0000107f] io Root Device compute_allocate_io: base: 00001080 size: 00000080 align: 7 gran: 0 done Root Device compute_allocate_mem: base: fd000000 size: 01003080 align: 24 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:09.0 10 * [0xfd000000 - 0xfdffffff] mem PCI: 00:12.4 10 * [0xfe000000 - 0xfe000fff] mem PCI: 00:13.0 10 * [0xfe001000 - 0xfe001fff] mem PCI: 00:12.1 10 * [0xfe002000 - 0xfe0020ff] mem PCI: 00:12.3 10 * [0xfe003000 - 0xfe00307f] mem Root Device compute_allocate_mem: base: fe003080 size: 01003080 align: 24 gran: 0 done Root Device assign_resources, bus 0 link: 0 BC_DRAM_TOP = 0x03bfffff MC_GBASE_ADD = 0x00000078 I would set ram size to 60 Mbytes PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0 PCI: 00:09.0 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:09.0 assign_resources, bus 0 link: 0 PCI: 00:09.0 assign_resources, bus 0 link: 0 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 PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0 Root Device assign_resources, bus 0 link: 0 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 cs5530.c: cs5530_pci_dev_enable_resources() 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 cs5530: southbridge_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:12.1 init PCI: 00:12.2 init cs5530_ide: ide_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 3168
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3