Will the LS1046ARDB detect an FPGA in PCIe2 or PCIe3 slot by default?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Will the LS1046ARDB detect an FPGA in PCIe2 or PCIe3 slot by default?

675 Views
bradleymarquard
Contributor I

I have an FPGA that I want to connect to the LS1046ARDB via PCIe. When loading uboot without the FPGA connected it displays that all 3 PCIe slots have no link. If I connect the FPGA and then power on the LS1046ARDB, will it detect that the FPGA is connected by default. Are they any other steps I need to do to get it to simply detect a PCIe device.

Labels (1)
Tags (1)
0 Kudos
1 Reply

508 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Bradley Marquardt,

As usual, you could use the PCIe device directly, no need to modify u-boot or Linux Kernel source code.

Please pay attention to RCW[144-159](SRDS_PRTCL_S2) configuration for SerDes2 options.

pastedImage_1.png

In addition, in LS1046ARDB dts definition, the PCI memory space size is 1G, this should be enough for your PCIe FPGA device.

 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000   /* downstream I/O */
                 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos