You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using the Yocto-BSP for the enclustra-mpfs SoM wich mounts a PolarFire SoC device.
Hi have a node in my device-tree which is used to reserve a set of cached memory:
My kernel module uses the DMA API to reserve this memory area using a dma_alloc_coherent() and performs a mmap() to give access to a user application, which I attached. Unfortunately, my application blocks indefinitely. mem-prova.zip
I also attach the mss memory partition configuration of my project and the output of the execution of my application.
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered:
Hi @Ryose , If I understand well the memory gets allocated but the DMA operation stops. Is that correct? Have you specified the DMA ranges in the device tree?
Hi @eppidei , I think that the allocation is performed correctly( since no error is generated) but when I access said memory region the process stalls. As you can see, I have declared the node of reserved memory inside my device-tree, is there any additional node that I need to add to my device-tree?
Hi, I'm using the Yocto-BSP for the enclustra-mpfs SoM wich mounts a PolarFire SoC device.
Hi have a node in my device-tree which is used to reserve a set of cached memory:
My kernel module uses the DMA API to reserve this memory area using a dma_alloc_coherent() and performs a mmap() to give access to a user application, which I attached. Unfortunately, my application blocks indefinitely.
mem-prova.zip
I also attach the mss memory partition configuration of my project and the output of the execution of my application.
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered: