i.MX8M plus mmap() issue

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

i.MX8M plus mmap() issue

738 Views
Na-veen
Contributor II

Hi,

Could it be possible to access DDR area from Linux user space with mmap() or related? I need a SHM- area between A53 process and am searching a minimum effort solution to realize that.

Thanks,

Nav

0 Kudos
3 Replies

730 Views
b36401
NXP Employee
NXP Employee

Do you mean to communicate between A and M cores?
You can use rpmsg for such purposes.

0 Kudos

723 Views
Na-veen
Contributor II

Hi,

For communication between a53. I am trying to secure memory area between the cores.

 

Thanks,

Nav

0 Kudos

736 Views
Na-veen
Contributor II

Simple code example,

Trying to build simple application with below lines of code and it fails allocate memory with "No such device error"

char * region = mmap(NULL,4096, PROT_WRITE,MAP_PRIVATE,0,0);

0 Kudos