I need to bring up PCI in Linux.
Currently when I add PCI in hardware, I do not see the devices listed when I enter the "lspci" command after bootup.
What is the correct way to see the devices in Linux?
1) Verify that you have added the PCI node into the device tree correctly.
Here is an example of a PCI device-tree binding. You will need to make sure that the compatible string is pertinent to the latest driver.
2) Verify that you have enabled PCI support in the Linux Kernel config.
3) Verify that you have enabled the Xilinx AXI PCIe host controller bridge support.
4) Verify that you have enabled the pciutils in rootfs configuration to use the lspci command in Linux
Here is the link for the device-tree binding for Xilinx PCI:
Here is the link for the overall PCI documentation:
Here is an example of how you can test the interface:
Here is a link to a video that goes through the flow.
Please keep in mind that this was done in an older version of the kernel. In order to get the correct device-tree binding, please refer to the first link.
Some PCI root complex designs can be downloaded for reference at the following links: