Configuring the kernel for RC/EP communication

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring the kernel for RC/EP communication

777 Views
Contributor II

Hello.

I am trying to implement implement a pcie connection between two iMX6 based cards.

I saw the article about EC/RC validation which refers to an older kernel and cannot be used as is on the kernel I am using 3.14.60

Can someone please explain the proper use of:

CONFIG_RC_MODE_IN_EP_RC_SYS

CONFIG_EP_MODE_IN_EP_RC_SYS

Thank you

Labels (3)
0 Kudos
2 Replies

73 Views
NXP TechSupport
NXP TechSupport

Hello,

  Generally i.MX6 Linux BSP supports PCie Root Complex mode,

as described in Chapter 41 (i.MX 6 PCI Express Root Complex Driver)

of the recent BSP. Just for tests, BSP may support one endpoint function,

which is enabled via the config option CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS.

You may try to enable the config option

"CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS=y". 

Also the following may be helpful.

Changing the Kernel configuration for i.MX6 SABRE

 

Have a great day,
Yuri

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

0 Kudos

73 Views
Senior Contributor I

Hi Yuri.

What does the CONFIG_RC_MODE_IN_EP_RC_SYS do?

Does this one have to be set if I want the ARM to run in root complex mode?

I just want to be able to communicate between the ARM and one external EP. I assume I still need to set the ARM in RC mode?

Thanks,

Niklas

0 Kudos