> On Feb 28, 2018, at 6:47 AM, TJF <[email protected]> wrote:
> 
> When you allocate the array from user space the memory may be not continuous. 
> To get a single block, you have to allocate from kernel space.
This is not a true statement. The kernel uses virtual memory just like user 
space does. The memory is only contiguous in physical memory if you use 
kmalloc. If you use vmalloc, the memory can be fragmented in physical memory. 

Anyway, this has nothing to do with rproc vs uio. You can do this with both.

Regards,
John
> 
> The most easy way: drop rproc, instead use libprussdrv. The uio_pruss kernel 
> driver allocates external memory, which you can fill by the C code and read 
> from the PRU code. (Note: PRU access to ARM memory isn't as fast as DRam or 
> SRam, needs at least 3 cycles - AFAIR.)
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/f1a1ca96-a613-4b16-9788-427a21bf8ceb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/f1a1ca96-a613-4b16-9788-427a21bf8ceb%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/77F703BC-D527-41E1-B102-8E8EE40EA6F2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to