i.mx6 PCIe Endpoint

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

i.mx6 PCIe Endpoint

跳至解决方案
9,611 次查看
test_me
Contributor I

Hi,

has anybody used the i.mx6 board as a PCIe endpoint?

I would like to connect the i.mx6 board to a host system. The host system acts as the PCIe root complex. As fas as I know, the official release contains only a rootcomplex driver.

Is there source code available, which I could use as a starting basis to implement a PCIe endpoint?

Thanks in advance.

标签 (3)
标记 (1)
1 解答
4,295 次查看
YixingKong
Senior Contributor IV

At this point in time, Freescale is only supporting PCIe in root complex mode. Therefore, we do not have any End Point code to give out. I am aware the at least two customers of i.MX6 processors are using the i.MX6 in End Point mode. I do not know if they are willing to share their work, but this forum is the right place to ask for it.

Cheers,

Mark

在原帖中查看解决方案

0 项奖励
回复
14 回复数
4,295 次查看
matevzlangus
Contributor III

Hi,

we have been able to use i.MX6 in PCIe EP mode connected to i.MX6 in PCIe RC and also to Freescale QorIQ P1020 running in RC mode.

In our case i.MX6 running in EP mode supports:

- inbound memory transactions (thru exposed BARs) and using iATU inbound translations to get from PCI bus address to a dedicated address in RAM

- outbound memory transactions to the RC or to other EPs

- generating MSI interrupts to the RC

4,295 次查看
haider
Contributor II

Hi Matevz,

Will it be possible for you to share the endpoint code.

Thanks,

Haider

4,295 次查看
salil
Contributor II

Hello,

That is a wonderful news. Is it possible to share the code (i.e. driver code of EP and RC used to configure above mentioned functionality ) running on iMX6 as EP and RC (or if it is P1020).  This would be of great help.

regards

Salil

0 项奖励
回复
4,296 次查看
YixingKong
Senior Contributor IV

At this point in time, Freescale is only supporting PCIe in root complex mode. Therefore, we do not have any End Point code to give out. I am aware the at least two customers of i.MX6 processors are using the i.MX6 in End Point mode. I do not know if they are willing to share their work, but this forum is the right place to ask for it.

Cheers,

Mark

0 项奖励
回复
4,295 次查看
richard_zhu
NXP Employee
NXP Employee

One pcie rc/ep validation had been done. One imx6q is used as pcie rc, the other one is used as pcie ep.

0 项奖励
回复
4,295 次查看
scottkanowitz
Contributor II

Excellent news!

Is there an expected date available as to when this will be released, if at all? Additionally, is there any preliminary sample code available to show the endpoint setup?

0 项奖励
回复
4,295 次查看
richard_zhu
NXP Employee
NXP Employee

I can past the patches into community, after I finish the usage how-to document.

0 项奖励
回复
4,295 次查看
richard_zhu
NXP Employee
NXP Employee

Past the wrong URL before by my phone, here is the correct one.

https://community.freescale.com/docs/DOC-95014

0 项奖励
回复
4,295 次查看
salil
Contributor II

Hello,

Does the RC supports MSI (Message Signaled Interrupts) in the existing release

regards

Salil

0 项奖励
回复
4,295 次查看
richard_zhu
NXP Employee
NXP Employee

Yes, it is. MSI had been supported by the existing release.

4,294 次查看
salil
Contributor II

Hello,

Forgive me for repeating the question, wanted to confirm MSI support in freescale release L3.0.35_4.0.0_130424. I saw in the manual (i.MX 6Dual/6Quad Linux Reference Manual) accompanied with the release that MSI support is incomplete (see end note of section "35.1.4 Features"), copying exact lines:

" Out of the above, MSI, I/O access, Port Bus Driver integration are currently incomplete. "

Please confirm if this is true for this release or please indicate the exact release number in which MSI support became completely part of freescale release.

regards

Salil

0 项奖励
回复
4,294 次查看
brettwilson
Contributor I

That is good news.  So does this mean Freescale will release some driver code soon to support iMX6 PCIe endpoint?

0 项奖励
回复
4,294 次查看
richard_zhu
NXP Employee
NXP Employee

Yes, it is.

4,294 次查看
dirkrohleder
Contributor I

Hi,

I try to solve a similar issue. Did you already get some additional information about this topic?

'Want to connect an iMX6 Board as endpoint to a Windows 7 PC as root complex.

Thank you !

0 项奖励
回复