This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to read data from memory with linux 4.4.12

Hi,

I'm using the AM57xx with "ti-processor-sdk-linux-rt-am57xx-evm-03.00.00.04" and linux-rt-4.4.12.

In the ti-ethernet-driver (prueth.c) I want to read some data from the Shared Memory of PRU. How can I do that?

At linux 3.2.0 there was something like READ_HWREG_PADDR to read data via virtual address. I can't find in linux 4.4.12.

I tried to use "memcpy_fromio" but I got an error (Unable to handle kernel NULL pointer...)