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