cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Explorer
Explorer
450 Views
Registered: ‎05-04-2014

[zcu104] How to use FPDMA to move data from PL DDR to PS DDR

Jump to solution

Hi,

I use AXI CDMA to move data from PL DDR to PS DDR now, but I want to change to use FPDMA. Is it possible to use FPDMA to move data from PL DDR to PS DDR? If yes, is there any example?

 

Thanks

Sitting

Tags (2)
0 Kudos
Reply
1 Solution

Accepted Solutions
Explorer
Explorer
315 Views
Registered: ‎05-04-2014

Hi ,

Finally, I use uio method(udmabuf) to do it and it works fine.

View solution in original post

0 Kudos
Reply
5 Replies
Xilinx Employee
Xilinx Employee
384 Views
Registered: ‎10-12-2018

Hi @sitting ,

Yes, it is possible. You need to make sure the PS can access the PL DDR address which can be validated by looking into the vivado address editor.

Please refer to the below wiki page for standalone examples for your reference but you need to make use of the source address is PL DDR if you want to transfer data from PL to PS.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841725/ZynqMP+DMA+Standalone+driver

 

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Explorer
Explorer
372 Views
Registered: ‎05-04-2014

Hi @abommera ,

I want to do this on linux. Is there any dma api ? If not, should I develop custom driver to achieve it?

 

Thanks

Sitting

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
358 Views
Registered: ‎10-12-2018

Hi @sitting ,

Please refer to the below wiki page for Linux DMA from user space. 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842418/Linux+DMA+From+User+Space

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Explorer
Explorer
345 Views
Registered: ‎05-04-2014

Hi @abommera ,

 

The tutorial you provided is for axi dma, should I modify it for fpdma or I can use it for fpdma directly?

 

 

Thanks

Sitting

0 Kudos
Reply
Explorer
Explorer
316 Views
Registered: ‎05-04-2014

Hi ,

Finally, I use uio method(udmabuf) to do it and it works fine.

View solution in original post

0 Kudos
Reply