Hotplug PCIe endpoint

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Hotplug PCIe endpoint

573 次查看
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?

标签 (2)
0 项奖励
1 回复

429 次查看
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 项奖励