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.

TMS320DM8148: Implementing WDIOC_GETBOOTSTATUS/reading registers

Part Number: TMS320DM8148

Hi. I'm trying to implement WDIOC_GETBOOTSTATUS for the TMS320DM8148 as cpu_is_ti81xx isn't implemented in the DaVinci SDK. For that I tried to read the PRM-RSTST Register (0xA8). I however failed to get there with __raw_readl(0xA8), I get segfaults, and my tries from the userspace with devmem2 were also not successful( I get Unhandled fault:Precise External Abort on non-linefetch (0x018) at 0x402cb0a8) , 0xA8 gets mapped to 0x402cb000 by devmem2 but according to /proc/iomem there isn't anything mapped there. So how do I get to the reset_source? Or more general how do I get the value of  a specific CPU register?