i.MX8M plus mmap() issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8M plus mmap() issue

1,029件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,021件の閲覧回数
b36401
NXP Employee
NXP Employee

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

0 件の賞賛
返信

1,014件の閲覧回数
Na-veen
Contributor II

Hi,

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

 

Thanks,

Nav

0 件の賞賛
返信

1,027件の閲覧回数
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 件の賞賛
返信