Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
445 Discussions

Arria10 SOCFPGA ARM DMA usage - way to use ARM DMA to copy bulk data inside DDR ?

JET60200
New Contributor I
721 Views

I am using A10 SOCFPGA , where Linux runs on SOC ARM(dual-A9).

In my application, there‘re bulks of memory copying from one place to another place each 1ms,currently I use memcpy() which occupy CPU heavily.

Thus I want to use ARM DMA to do this, to avoid use cpu memcpy() . The question is " HOW _TO DO THIS " ? is there any code example ?

 

Thanks for help

0 Kudos
4 Replies
EBERLAZARE_I_Intel
497 Views

Hi,

 

You may find design example in our design store, unfortunately there is no exact design example that you are requesting.

https://fpgacloud.intel.com/devstore/platform/?search=dma&acds_version=any&family=arria-10

 

However, there is a Data Mover which utilize the msGDMA, that uses the ARM Cortex A9, you may check it out here:

https://rocketboards.org/foswiki/Projects/DatamoverCopy

0 Kudos
EBERLAZARE_I_Intel
497 Views

Hi,

 

Any follow up from your side?

0 Kudos
JET60200
New Contributor I
497 Views

Hi el,

 

In RocketBoards, I was told here is an very similar example code ( https://github.com/robertofem/CycloneVSoC-examples/tree/master/Linux-modules/DMA_PL330_LKM_basic ),

 

Thus I'm trying to check this example and update to my A10SOC LINUX.

 

 

0 Kudos
EBERLAZARE_I_Intel
497 Views

Hi,

 

Got it, I also recommend that you check the datamover example to help guide you.

0 Kudos
Reply