Skip to content

Instantly share code, notes, and snippets.

@KOBA789
Created February 7, 2015 20:38
Show Gist options
  • Save KOBA789/a0b8916a7ac30b9faa5a to your computer and use it in GitHub Desktop.
Save KOBA789/a0b8916a7ac30b9faa5a to your computer and use it in GitHub Desktop.
pi@raspberrypi ~/qpuinfo $ git log -1 -p
commit d3d4745808231202a19365458e283d730e3d1a2e
Author: Terminus <[email protected]>
Date: Sun Feb 8 05:06:01 2015 +0900
change to point physical address, not bus address
Special thanks to @KOBA789 !
diff --git a/mapmem.c b/mapmem.c
index 80b5027..9599162 100644
--- a/mapmem.c
+++ b/mapmem.c
@@ -16,7 +16,7 @@
#endif /* DEVMEM */
#ifndef V3D_OFFSET
-#define V3D_OFFSET 0x7ec00000
+#define V3D_OFFSET 0x20c00000
#endif /* V3D_OFFSET */
#ifndef V3D_LENGTH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment