How to implement DMA controller in PCIe root complex(RC) mode?

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

How to implement DMA controller in PCIe root complex(RC) mode?

1,340 Views
mimi05633
Contributor III

Hi NXP team,

In the IMX8MDQLQ reference manual, I can see PCIe has an embedded DMA.
How to implement DMA controller in PCIe root complex(RC) mode? And does any kernel config need to enable?

Topology: IMX8MQ(RC) ---(mini-pcie)--- FPGA(EP)

My harware:
- IMX8MQ customize board (software: LF_L5.4.3_1.0.0)

I appreciate if someone can help me to solve it.

Thank you for any help.
Minying

Labels (1)
Tags (2)
0 Kudos
2 Replies

1,338 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,334 Views
mimi05633
Contributor III

Hi Igor,
Thank you for your reply.
In the pci_imx6.c, there is a self io test by dma in EP mode. Can it also be used in RC mode?
If yes, can the self io test be used after PCIe links up? Is there a need to do other initial setups before the self io test?

Best regards,
minying

0 Kudos