i.MX8M plus mmap() issue
02-21-2022
03:38 AM
1,258 次查看
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
3 回复数
02-21-2022
03:45 AM
1,256 次查看
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);