A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
In our design,we use DM8148 and C6678.
The c6678 DSP acts as a 'number-crunching' pcie peripheral controlled by a TI DM8148 SOC RC running linux.
The following is the kernel printing:
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xc6820000
ti81xx_pcie: INTx enabled legacy IRQ48
ti81xx_pcie: MSI info enabled msi_irq=49 msi_irq_num=32
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 9: assigned [mem 0x20000000-0x28ffffff pref]
pci 0000:00:00.0: BAR 8: assigned [mem 0x29000000-0x290fffff]
pci 0000:01:00.0: BAR 4: assigned [mem 0x20000000-0x23ffffff pref]
pci 0000:01:00.0: BAR 4: set to [mem 0x20000000-0x23ffffff pref] (PCI address [0x20000000-0x23ffffff])
pci 0000:01:00.0: BAR 2: assigned [mem 0x24000000-0x25ffffff pref]
pci 0000:01:00.0: BAR 2: set to [mem 0x24000000-0x25ffffff pref] (PCI address [0x24000000-0x25ffffff])
pci 0000:01:00.0: BAR 3: assigned [mem 0x26000000-0x27ffffff pref]
pci 0000:01:00.0: BAR 3: set to [mem 0x26000000-0x27ffffff pref] (PCI address [0x26000000-0x27ffffff])
pci 0000:01:00.0: BAR 1: assigned [mem 0x28000000-0x28ffffff pref]
pci 0000:01:00.0: BAR 1: set to [mem 0x28000000-0x28ffffff pref] (PCI address [0x28000000-0x28ffffff])
pci 0000:01:00.0: BAR 0: assigned [mem 0x29000000-0x29000fff]
pci 0000:01:00.0: BAR 0: set to [mem 0x29000000-0x29000fff] (PCI address [0x29000000-0x29000fff])
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0: bridge window [io disabled]
pci 0000:00:00.0: bridge window [mem 0x29000000-0x290fffff]
pci 0000:00:00.0: bridge window [mem 0x20000000-0x28ffffff pref]
PCI: enabling device 0000:00:00.0 (0140 -> 0143)
bio: create slab at 0
vgaarb: loaded
SCSI subsystem initialized
@@@in Test_PciDevices@@@
ID:8888
ID:b005
@@@in Test_PciDevices@@@
ID:ffff
ID:ffff
usbcore: registered new interface driver usbfs
@@@in Test_PciDevices@@@
ID:ffff
ID:ffff
usbcore: registered new interface driver hub
the cat /proc/kmsg print:
PM: Adding info for No Bus:default
bio: create slab at 0
PM: Adding info for No Bus:vga_arbiter
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
@@@in Test_PciDevices@@@
ti81xx_pcie: Reading config[2] for device 0000:00:00..
done. value = 0x8888
ID:8888
ti81xx_pcie: Reading config[2] for device 0001:00:00..
done. value = 0xb005
ID:b005
PM: Adding info for No Bus:spi1
PM: Adding info for spi:spi1.0
PM: Adding info for No Bus:spi2
PM: Adding info for spi:spi2.0
PM: Adding info for No Bus:spi3
PM: Adding info for No Bus:spi4
@@@in Test_PciDevices@@@
ti81xx_pcie: Reading config[2] for device 0000:00:00..
failed. No link/device.
ID:ffff
ti81xx_pcie: Reading config[2] for device 0001:00:00..
failed. No link/device.
ID:ffff
usbcore: registered new interface driver usbfs
@@@in Test_PciDevices@@@
ti81xx_pcie: Reading config[2] for device 0000:00:00..
failed. No link/device.
ID:ffff
ti81xx_pcie: Reading config[2] for device 0001:00:00..
failed. No link/device.
ID:ffff
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
after print
PM: Adding info for No Bus:spi1
PM: Adding info for spi:spi1.0
PM: Adding info for No Bus:spi2
PM: Adding info for spi:spi2.0
PM: Adding info for No Bus:spi3
PM: Adding info for No Bus:spi4
we can not read PCI_DEVICE_ID register.
Is there anyting wrong about POWER??
RG,
zengxing yuan