[coreboot] Serengeti dts

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Oct 30 13:55:09 CET 2008


On 29.10.2008 22:23, Myles Watson wrote:
> I'm running with a very minimalized dts (attached) to try to get to the
> point where a device gets matched correctly and disabled.  I think devices
> that should be disabled are causing me grief in SimNOW.
>
> This is a snippet of the log file that has me wondering what I'm doing
> wrong:
>
> PCI: pci_scan_bus pci_probe_dev returns dev 0x00000000(None (not found))
> PCI: devfn 0x8
> pci_scan_get_dev: list is 0x000ce8bc, *list is 0x00000000
> PCI: pci_scan_bus pci_scan_get_dev returns dev None (no dev in tree yet)
> new_device: devcnt 14
> find_device_operations: check all_device_operations[i] 0x0000d7a0
> find_device_operations: cons 0x0000d7a0, cons id PCI: 1022:0001
> find_device_operations: check all_device_operations[i] 0x0000d800
> find_device_operations: cons 0x0000d800, cons id APIC_CLUSTER: 1022:1100
> find_device_operations: check all_device_operations[i] 0x0000d860
> find_device_operations: cons 0x0000d860, cons id PCI: 1022:1100
> find_device_operations: check all_device_operations[i] 0x0000dc80
> find_device_operations: cons 0x0000dc80, cons id PCI: 1022:7460
> find_device_operations: check all_device_operations[i] 0x0000dc20
> find_device_operations: cons 0x0000dc20, cons id PCI: 1022:7462
> find_device_operations: match
> PCI: 01:01.0 id PCI: 1022:7462 ops
> PCI: 01:01.0 [PCI: 1022:7462] enabled
> PCI: pci_scan_bus pci_probe_dev returns dev 0x00012c70(dynamic PCI: 01:01.0)
> Not a multi function device, or the device is not present. Skip to next
> device.
>
> Even though there's a match, a new device got created (dynamic PCI: 01:01.0)
>
> Because of that, the enabled flag gets lost.
>   

You can't fix that in the dts. It's a code bug. I had a fix for the old
device tree code, but forward porting will takes some time. I hope to
create a working version over the weekend.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list