I've tried reading from /dev/mem with this code http://rafb.net/p/F5qi7e60.html
but it gave me an invalid argument error with perror, anyone got a clue why ? or how to fix it ? (what seems to be the problem is the address, although when I grep it from System.map it seems valid)
thanks in advance.