AnsweredAssumed Answered

Accessing CCSR from linux user space

Question asked by Rama Krishna Katta on Mar 25, 2014
Latest reply on Jul 10, 2018 by udai shar

Hi,

 

We are working on P5040 and T1040. For our Diag application purpose we have to access CCSR from user space. that is mandatory one. i have write one application using mmap and /dev/mem to access DDR, SVR and GVR . But iam getting 0xdeadbeef. I have used both mmap and mmap64 same output. That is must for our application. This is mandatory requirement.

I am attaching source code file.

Original Attachment has been moved to: linux_dump.c.zip

Original Attachment has been moved to: regrw.c.zip

Outcomes