A few years back I had a program that could access hardware registers and memory from a bash prompt. As I recall, it used a mmap and/or an ioremap system call or a pseudo-device in /dev.
Does anyone have any ideas on an open source download of some source I can compile into a c program for my ppc project that would allow me to read and write a few registers in the PPC8313 from a bash prompt? Sorta like "mw" and "md" from u-boot?