using PEX8311 on i.mx6

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

using PEX8311 on i.mx6

2,011 Views
hyunhoshin
Contributor III

PEX8311 is PCIe to local bus bridge chipset

and pex8311 has DMA function.

i need to that DMA function for local bus throughput(bandwidth)

pex8311 have DMA of two direction(PCI to Local bus, Local bus to PCI)

"Local bus to PCI DMA" is work well.

but "PCI to local bus DMA" is stuck while dma transfer

stuck mean is dma transfer is never complete(no system halt)

do anyone know this problem?

P.S. i'm using linux 3.0.35

Labels (2)
Tags (4)
0 Kudos
5 Replies

927 Views
ningbozhang
Contributor I

Hyunho Shin:

       I use PEX8311 on I.MX6, use Linux OS. But when I load the 8311 drive, there have been some errors 。

       

      Linux os start:

$:lspci

00:00.0 Class 0604:16C3:abcd

01:00.0 Class 0604:10b5:8111

02:04.0 Class 0000:10b5:9056

     load the 8311 drive:

"PCI:Devcie 0000:02:04.0:  resource[0], start=0, end= 1ff;”

"PCI:Devcie 0000:02:04.0 not available because of resource collisions."

  

   So, I would like to ask you how to use. Can give me some help.hyunhoshin

thank you!   

    

0 Kudos

927 Views
art
NXP Employee
NXP Employee

to Hyunho Shin:

Try the latest L3.14.28 Yocto Linux BSP by Freescale, available for free download on the i.MX6 SABRE SD Software&Tools web page (check the "Board Support Packages" section):

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&fpsp=1&tab=Design_Too...

Refer to the Chapter 42 "i.MX 6 PCI Express Root Complex Driver" of the attached document for the information on how to appropriately configure the PCIe driver.

There are no known problems with the PCIe driver of this Linux BSP release. Everything should work well there.


Have a great day,
Artur

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

0 Kudos

927 Views
martinlammers
Contributor I

How did you the PEX8311 work on the i.MX6 ?

I still working on a solution with the PEX8311 under Linux.

Now, i have some problems to make a kernel modul with the PLX SDK 7.1 on a arm architecture.

Did you have any information for me how to make a kernel modul for the PEX8311?

Thank you, Martin

0 Kudos

927 Views
hyunhoshin
Contributor III

PEX8311 connect with imx6 through PCI express.

i think, PEX8311's DMA is external DMA by iMX6 side.

in this case, Is there any DMA limitation on iMX6?(or access DDR memory by PEX8311)

0 Kudos

927 Views
hyunhoshin
Contributor III

I'm testing with PC linux, that's all fine.(PCI to Local bus DMA, Local bus to PCI DMA)

but on IMX6 board "PCI to Local bus DMA" isn't working correctly

(using same source that tested on PC)

I think IMX6's PCIe interface have some limitation about that.

anybody know this situation?

0 Kudos