Why is sudo needed for DMA?


I created a block design with only DMA, following the DMA example. However, I am not using jupiter but I have a python script that I execute directly over ssh. The only way it works is if I run sudo python3.6 Is there any way to avoid sudo? This will also work only with python 3.6, right?

Thank you.

Yes, python3.6 is the one we are supporting because that is the only python3 we have installed on the board. sudo is required since we have used MMIO to control some registers, and MMIO requires sudo since you are doing some memory mapping.

Thanks @rock for the answer.
Any news on newer versions of ubuntu in a new image release? Switch from 18.04 to 20.04?

We have no recent plans of upgrading the ubuntu OS for now.