Skip to content

bvdberg/showreg

Repository files navigation

showreg - a tool to show registers with values through the /dev/mem interface.

It uses XML files to specify the offsets and names of the registers

TODO: LICENSE
TODO: add register width (8/16/32 bits)
    -> per register or per device is possible

example output:

root@omapl138:/user# ./showreg omapl138.xml emifa
==== [emifa  base=0x68000000  size=32768] =====
0x68000000  [0x0000]                  MIDR  0x40000205 (OK)
0x68000004  [0x0004]                  AWCC  0x000000FF
0x68000008  [0x0008]                  SDCR  0x00000620
0x6800000C  [0x000C]                 SDRCR  0x000004E2
0x68000010  [0x0010]                CE2CFG  0x004406B1
0x68000014  [0x0014]                CE3CFG  0x004406B1
0x68000018  [0x0018]                CE4CFG  0x004406B1
0x6800001C  [0x001C]                CE5CFG  0x004406B1
0x68000068  [0x0068]                  PMCR  0x090909FC

About

This tool can be used to show register values through /dev/mem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published