This thread has been locked.

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.

Linux/TMDXIDK5718: PCIe EP not recognized on Linux PC

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: AM5728

Tool/software: Linux

Hello TI Expert,

How was the PCIe EP mode on AM5718-IDK brought up? 

I have followed EP User's Guide with the link http://processors.wiki.ti.com/index.php/Linux_Core_PCIe_EP_User%27s_Guide#Endpoint_Controller_devices_and_Function_drivers, But ,the pc can't Recognition it with the command lspci.

There are message that may help resolve the issue.

[root@Linux pci_ep]# dmesg |grep pci
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.000000] arch/arm/mach-omap2/clockdomain.c _clkdm_lookup dump_stack start name is pcie_clkdm
[ 0.745519] Jason-pci: dra7xx_pcie_probe into
[ 0.745666] dra7-pcie 51000000.pcie_ep: Linked as a consumer to phy-4a094000.pciephy.3
[ 0.745675] Jason-pci: dra7xx_pcie_enable_phy into
[ 0.745837] dra7-pcie 51000000.pcie_ep: GPIO lookup for consumer (null)
[ 0.745844] dra7-pcie 51000000.pcie_ep: using device tree for GPIO lookup
[ 0.745876] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie_ep@51000000[0]' - status (0)
[ 0.745907] Jason-pci:DW_PCIE_EP_TYPE into
[ 0.745915] Jason-pci: dra7xx_pcie_ep_legacy_mode into
[ 0.745931] Jason-pci: dra7xx_add_pcie_ep into
[ 0.745955] Jason-pci:dw_pcie_ep_init ep->num_ib_windows is 0x4
[ 0.745964] Jason-pci: dra7xx_pcie_ep_init into
[ 0.745970] Jason-pci: dw_pcie_ep_reset_bar into
[ 0.745976] Jason-pci: dw_pcie_ep_reset_bar into
[ 0.745982] Jason-pci: dw_pcie_ep_reset_bar into
[ 0.745987] Jason-pci: dw_pcie_ep_reset_bar into
[ 0.745993] Jason-pci: dra7xx_pcie_enable_wrapper_interrupts into
[ 0.746126] Jason-pci:dra7xx_pcie_probe done !
[ 84.914262] Jason-pci:dra7xx_pcie_establish_link into
[ 84.919426] Jason-pci: dra7xx_pcie_link_up into

[root@Linux pci_ep]# echo "51000000.pcie_ep" > dev/epc
[ 84.914262] Jason-pci:dra7xx_pcie_establish_link into
[ 84.919426] Jason-pci: dra7xx_pcie_link_up into

Thanks

JasonSun