Thanks for this.
Eric W. Biederman schrieb:
To be clear I think the Config.lb should read:
chip northbridge/amd/gx1
device pci_domain 0 on
device pci 0.0 on end
chip drivers/pci/onboard
device pci 9.0 on end
register "rom_address" = "0xfffc0000"
end
I had to disable this "end tag" for a successful build.
# end
chip southbridge/amd/cs5530
device pci 12.0 on
chip superio/NSC/pc97317
device pnp 2e.0 on # Keyboard
io 0x60 = 0x60
io 0x62 = 0x64
irq 0x70 = 1
Have a look to the attachment, the disabled PCI 12.4 device comes no
longer up :D
I think this Config.lb version is better than the old one ;)
chris
LinuxBIOS-1.1.8.0Fallback Tue Apr 25 16:37:44 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 Tue Apr 25 16:37:44 CEST 2006 booting...
end 5822a3ef, start 0
32-bit delta 346
calibrate_tsc 32-bit result is 346
clocks_per_usec: 346
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 000187a0
PCI: 00:12.0 [1078/0100] enabled
PCI: 00:12.1 [1078/0101] disabled
PCI: 00:12.2 [1078/0102] ops
cs5530_ide: ide_enable
PCI: 00:12.2 [1078/0102] enabled
PCI: 00:12.3 [1078/0103] disabled
PCI: 00:12.4 [1078/0104] disabled
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 00022000
malloc 0x00022000
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
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:13.0 10 * [0x01000000 - 0x01000fff] mem
Root Device compute_allocate_mem: base: 01001000 size: 01001000 align: 24 gran:
0 done
Done reading resources.
Looking at device Root Device
Looking at device PCI_DOMAIN: 0000
Looking at device PCI: 00:00.0
Looking at device PCI: 00:09.0
first onboard = PCI: 00:09.0
Looking at device PCI: 00:12.0
Looking at device PNP: 002e.0
Looking at device PNP: 002e.1
Looking at device PNP: 002e.2
Looking at device PNP: 002e.3
Skipping disabled device PNP: 002e.3
Looking at device PNP: 002e.4
Looking at device PNP: 002e.5
Looking at device PNP: 002e.6
Looking at device PNP: 002e.7
Looking at device PNP: 002e.8
Looking at device PCI: 00:12.1
Skipping disabled device PCI: 00:12.1
Looking at device PCI: 00:12.2
Looking at device PCI: 00:12.3
Skipping disabled device PCI: 00:12.3
Looking at device PCI: 00:12.4
Skipping disabled device PCI: 00:12.4
Looking at device PCI: 00:13.0
Looking at vga_onboard
Yes: PCI: 00:09.0
Reassigning vga to PCI: 00:09.0
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: 01001000 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:13.0 10 * [0xfe000000 - 0xfe000fff] mem
Root Device compute_allocate_mem: base: fe001000 size: 01001000 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 30 <- [0x00fffc0000 - 0x00fffcffff] romem
PCI: 00:12.2 20 <- [0x0000001000 - 0x000000107f] io
PCI: 00:13.0 10 <- [0x00fe000000 - 0x00fe000fff] 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 cmd <- 141
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
rom address for PCI: 00:09.0 = fffc0000
PCI Expansion ROM, signature 0xaa55, INIT size 0x8000, data ptr 0x0031
PCI ROM Image, Vendor 10ea, Device 5000,
PCI ROM Image, Class Code 030000, Code Type 00
copying VGA ROM Image from fffc0000 to c0000, 8000 bytes
entering emulator
--
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios