cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
davirol
Observer
Observer
1,605 Views
Registered: ‎08-16-2017

DMA trouble while using OpenAMP

Hi all,
 
We have Linux and Baremetal running in separate cores using AMP library to communicate both.  We have a problem when we include -DUSE_AMP=1 preprocessor directive in BSP settings. We need the directive in order to enable rmpsg via remoteproc and to share data via OCM between both cores. However, it seems that DMA doesn't work propertly when this directive is included. We think this is because DMA copy data from PL to L2 cache, not to DDR directly. L2 cache is disabled when  -DUSE_AMP=1 is used, so this could be the cause of DMA malfuncioning. Any idea about how manage this issue?
0 Kudos
1 Reply
garfy123
Contributor
Contributor
1,256 Views
Registered: ‎01-31-2018

Hi, I'm facing the same problem here.

 

My situation is this. I have a AMP configuration with PS0 running Linux and PS1 on baremetal. I'm transferring data from baremetal at PS1 to PL via DMA. Nothing is received at PL.

 

If I change the configuration to only run baremetal at PS0, everything works fine. The PL is able to receive data from Baremetal at PS0.

 

Any help?

0 Kudos