Hotplug PCIe endpoint

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

Hotplug PCIe endpoint

547 Views
niklasmolin
Senior Contributor I

Hi.

We have an i.MX6D and trying to use the PCI to connect to a FPGA.

We load the FPGA and rescan the PCI and the FPGA shows up.

We initialize the driver etc. and can communicate with registers inside the FPGA.

After that we try to change bitfile in the FPGA and then re-establish the PCI connection.

It shows up again when doing lspci and when trying to accessing the FPGA register via the driver, the whole CPU hangs, when trying to access the memory area assigned for the PCI bus.

We have tried to use the remove under /sys/bus/pci..., remove the driver (and initialize it again when reloading FPGA, to make sure we get a new memory location).

Any suggestions what steps we need to take to "hotplug" an endpoint to the PCI bus?

Labels (2)
0 Kudos
1 Reply

403 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Niklas,

     PCIe interface on i.MX6 doesn't support Hotplug.


Have a great day,
TIC    Weidong

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

0 Kudos