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.

AM5728: PCIe PHY link issue

Part Number: AM5728


Hello,

I want to implement communication between AM5728 and fpga using pcie: the arm is configured in RC mode, and fpga is used as the endpoint device.

I have only just begun to contact pcie these days. The SDK documentation doesn't describe much about Pcie Root Complex, and it is based on keystone.

Sdk document link: http://software-dl.ti.com/processor-sdk-linux/esd/docs/05_02_00_10/linux/Foundational_Components_Kernel_Drivers.html#pcie-root-complex


Here is my environment:

platform : am5728-idk

sdk : processor-sdk-linux 05.02.00.10

rootfs : tisdk-rootfs-image-am57xx-evm

devicetree : am572x-idk-lcd-osd101t2587.dts

&pcie1_rc {
status = "okay";
gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
};

&pcie1_ep {
gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
};

 

kernel config :  am57xx_evm_defconfig

I can't find the pci device corresponding to fpga using lscpi command.

This is the kernel boot log:

Found that pcie waited for link up time out: "phy link never came up".How to fix it?

There are 3 modprobe errors in the log. Are there any effects?

Assuming the fpga endpoint device is detected, how do I communicate? Are there any examples for reference? .

Best Regards,

Allen