I am using the TCI6638K2K keystone EVM and am having trouble enumerating a PCIe device. I am using MCSDK 3.00.03.15. I am trying to use the internal DSP loopback example as part of the PDK (PDK_base/packages/exampleProjects/PCIE_K2KC66BiosExampleProject). I have compiles this project and loaded it onto DSP core 0. When I run it I see this:
**********************************************
* PCIe Test Start *
* EP mode *
**********************************************
Version #: 0x02000004; string PCIE LLD Revision: 02.00.00.04:Nov 24 2013:17:35:53
Power domain is already enabled. You probably re-ran without device reset (which is OK)
PCIe Power Up.
PLL configured.
Successfully configured Inbound Translation!
Successfully configured Outbound Translation!
Starting link training...
and then it gets stuck in a while loop in the pciWaitLinkUp() function.
On the ARM side of things I see this at boot:
keystone-pcie: keystone_pcie_rc_init - start
[ 8273.593044] keystone2_pcie_serdes_setup
[ 8273.594742] keystone2_pcie_serdes_setup done, en_link_train = 1
[ 8273.594769] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x00
00000050000000
[ 8273.594776] keystone-pcie: IO 0x0000000024000000..0x0000000024003fff -> 0x000
0000000000000
[ 8273.594805] keystone-pcie: pcie - number of legacy irqs = 4
[ 8273.594846] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
[ 8273.681521] keystone-pcie: Doing PCI Setup...Done
[ 8273.681526] keystone-pcie: Starting PCI scan...
[ 8273.681620] PCI host bridge to bus 0000:00
[ 8273.681629] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
[ 8273.681635] pci_bus 0000:00: root bus resource [io 0x0000-0x3fff]
[ 8273.681640] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 8273.681675] PCI: bus0: Fast back to back transfers enabled
[ 8273.681686] keystone-pcie: Ending PCI scan...
[ 8273.681692] keystone-pcie: keystone_pcie_rc_init - end
Should I be expecting an auto enumeration from the PCIe driver when I load the DSP with the Example code?
$lspci return nothing also.