Configuring the kernel for RC/EP communication

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

Configuring the kernel for RC/EP communication

2,023 次查看
sebastiancabot
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

标签 (3)
0 项奖励
回复
2 回复数

1,319 次查看
Yuri
NXP Employee
NXP Employee

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 项奖励
回复

1,319 次查看
niklasmolin
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 项奖励
回复