Ok,

attachment: 1 File

first --> Lb boot log
second -> lspci -vv
third --> relevant segment of current Config.lb

lspci shows the 12.4 device ???!!!! Why

chris
ÿ

LinuxBIOS-1.1.8.0Fallback Tue Apr 25 20:27:38 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 20:27:38 CEST 2006 booting...
end 3b6ae0d1, start 0
32-bit delta 375
calibrate_tsc 32-bit result is 375
clocks_per_usec: 375
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 0000e120
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 00016000
malloc 0x00016000
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.
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 <- 142
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
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.2 init
cs5530_ide: ide_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 f09f

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

-----------------------------------------------------------------------

# lspci -vv
00:00.0 0600: 1078:0001
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:09.0 0300: 10ea:5000 (rev 02)
        Subsystem: 0202:0202
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at fffc0000 [disabled] [size=64K]

00:12.0 0601: 1078:0100
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size 04

00:12.1 0680: 1078:0101
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at 10000000 (32-bit, non-prefetchable) [disabled] 
[size=256]

00:12.2 0101: 1078:0102 (prog-if 80)
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Region 4: I/O ports at 1000 [size=128]

00:12.3 0401: 1078:0103
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at 10000100 (32-bit, non-prefetchable) [disabled] 
[size=128]

00:12.4 0300: 1078:0104
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at 10001000 (32-bit, non-prefetchable) [disabled] 
[size=4K]

00:13.0 0c03: 0e11:a0f8 (rev 06) (prog-if 10)
        Subsystem: 0e11:a0f8
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at fe000000 (32-bit, non-prefetchable) [size=4K]

#

--------------------------------------------------------------------

##
## Include the secondary Configuration files
##
dir /pc80
config chip.h

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
#               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
                                        end
                                        device pnp 2e.1 on # Mouse
                                                irq 0x70 = 12
                                        end
                                        device pnp 2e.2 on # RTC
                                                 io 0x60 = 0x70
                                                irq 0x70 = 8
                                        end
                                        device pnp 2e.3 off # FDC
                                        end
                                        device pnp 2e.4 on # Parallel Port
                                                 io 0x60 = 0x378
                                                irq 0x70 = 7
                                        end
                                        device pnp 2e.5 on # COM2
                                                 io 0x60 = 0x2f8
                                                irq 0x70 = 3
                                        end
                                        device pnp 2e.6 on # COM1
                                                 io 0x60 = 0x3f8
                                                irq 0x70 = 4
                                        end
                                        device pnp 2e.7 on # GPIO
                                                 io 0x60 = 0xe0
                                        end
                                        device pnp 2e.8 on # Power Management
                                                io 0x60 = 0xe800
                                        end
                                        register "com1" = "{115200}"
                                        register "com2" = "{38400}"
                                end
                        end
                        device pci 12.1 off end         # SMI
                        device pci 12.2 on  end         # IDE
                        device pci 12.3 off end         # Audio
                        device pci 12.4 off end         # VGA
                end

                chip cpu/amd/model_gx1
                end
        end
end
-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to