I have followed the document at http://processors.wiki.ti.com/index.php/TI81XX_PSP_PCI_Express_Root_Complex_Driver_User_Guide and in the TRM.
I am using EZSDK 05.04.00.11 (with Linux PSP-04.04.00.01).
I am trying to use PCIe as a RC device. According to the section http://processors.wiki.ti.com/index.php/TI81XX_PSP_PCI_Express_Root_Complex_Driver_User_Guide#Ensuring_PCIe_System_Initialization
I should see the embedded "PCI bridge: Texas Instruments Device b800", but I do not. I have config settings:
CONFIG_PCI=y
CONFIG_PCI_SYSCALL=y
CONFIG_ARCH_SUPPORTS_MSI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_DEBUG=y
yet lcpci shows nothing, and nothing is in /sys/bus/pci/devices/
What is going wrong?
"dmesg | grep -i pci" output:
ti81xx_init_pcie[3026] registering ti81xx_pcie_device
PM: Adding info for platform:ti81xx_pcie.0
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xe8820000
ti81xx_pcie: Starting PCI scan...
PM: Adding info for No Bus:pci0000:00
PCI: bus0: Fast back to back transfers enabled
pci_bus 0000:00: resource 0 [mem 0x20000000-0x2fffffff]
pci_bus 0000:00: resource 1 [io 0x40000000-0x402fffff]
PCI: CLS 0 bytes, default 64
Using a debugger pod, I halted the CPU and inspected PCIE_CFG register (@0x48140480):
AM387x-EVM>md 0x48140480 1
48140480 : 0x00000002 2 ....
Why don't I see the "PCI bridge: Texas Instruments Device b800" ?