FAQ

Just another WordPress weblog

Wednesday, October 29, 2008

Debugging Memory Mapped Devices

lspci (setpci)
print (set config) of pci devices

cat /dev/iomem
see all the memory mapped regions

cat /dev/mem |dd bs=1 skip=$((0xBCA01000)) count=$((0x10000)) | hexdump -C
print the mapped memory region (since dd doesnt use mmap, we use cat to read and dd to skip)

posted by admin at 12:38 am  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress