IMX8MQ pcie failed for large size data

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

IMX8MQ pcie failed for large size data

1,649 次查看
mcggoal
Contributor I

Hi, 

I am trying to connect IMX8MQ with intel FPGA thru PCIE+DMA, IMX8 as RP and FPGA as EP.

I've succeed to read/write a 4KB size data from/to RP thru FPGA's DMA, but it failed when changed to the larger size, e.g 16KB.

When I captured signals on DMA, it was founded that only 1 cycle of read operation happened, then DMA hang up with BUSY status, and bytes_left is 16,384.

Anyone who knows why ? Sincerely hope for your help!

0 项奖励
回复
4 回复数

1,585 次查看
mcggoal
Contributor I

Hi, igor

Thanks for reply.

I am now using 4.19.35, IMX8MQ EVK, it is almost the newest.

One point to be confirmed, I found below description in processor reference manual:

pastedImage_1.png

Does it mean the DMA operation must be splited into 4K pieces for a large size data ?

0 项奖励
回复

1,585 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Chenguang

 

sorry  4.19.35 is not newest, please check latest on

Embedded Linux for i.MX Applications Processors | NXP 

linux-imx - i.MX Linux kernel 

 

Best regards
igor

0 项奖励
回复

1,585 次查看
mcggoal
Contributor I

Pls, It is a big effort to change kernel. 
And I am sure that will not work.

0 项奖励
回复

1,585 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Chenguang

what bsp used in the case, could you try latest

Embedded Linux for i.MX Applications Processors | NXP 

linux-imx - i.MX Linux kernel 

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

0 项奖励
回复