Skip to content

Instantly share code, notes, and snippets.

@lategoodbye
Created October 21, 2024 20:46
Show Gist options
  • Save lategoodbye/f22f97b379de8777176cf90113fb10e2 to your computer and use it in GitHub Desktop.
Save lategoodbye/f22f97b379de8777176cf90113fb10e2 to your computer and use it in GitHub Desktop.
Register dump diff of RPi 3A+ clk_gtng (good) & no_clk_gtng (bad)
--- regdump.clk_gtng 2024-10-10 17:53:18.000000000 +0200
+++ regdump.no_clk_gtng 2024-10-10 17:49:50.000000000 +0200
@@ -5,7 +5,7 @@
GRSTCTL = 0x80000000
GINTSTS = 0x04000029
GINTMSK = 0xf3000806
-GRXSTSR = 0xd741e004
+GRXSTSR = 0xd741f004
GRXFSIZ = 0x00000306
GNPTXFSIZ = 0x01000306
GNPTXSTS = 0x20080100
@@ -40,7 +40,7 @@
DPTXFSIZN(15) = 0x02000406
DCFG = 0x00000000
DCTL = 0x00000000
-DSTS = 0x0007c002
+DSTS = 0x0007ff02
DIEPMSK = 0x00000000
DOEPMSK = 0x00000000
DAINT = 0x00000000
@@ -147,38 +147,38 @@
DOEPTSIZ(13) = 0x00000000
DOEPTSIZ(14) = 0x00000000
DOEPTSIZ(15) = 0x00000000
-DIEPDMA(0) = 0xc3184180
-DIEPDMA(1) = 0xd741e804
-DIEPDMA(2) = 0xc47be000
-DIEPDMA(3) = 0xc3184180
-DIEPDMA(4) = 0xc47be000
-DIEPDMA(5) = 0xc3184180
-DIEPDMA(6) = 0xd741e004
-DIEPDMA(7) = 0xc47be000
-DIEPDMA(8) = 0xa0e45ea5
-DIEPDMA(9) = 0x6fefffde
-DIEPDMA(10) = 0x24e135d4
-DIEPDMA(11) = 0x17bbcbba
-DIEPDMA(12) = 0x59e5bfb6
-DIEPDMA(13) = 0x9d726f7f
-DIEPDMA(14) = 0x630a7d56
-DIEPDMA(15) = 0xdb3aa6df
-DOEPDMA(0) = 0xc3184180
-DOEPDMA(1) = 0xd741e804
-DOEPDMA(2) = 0xc47be000
-DOEPDMA(3) = 0xc3184180
-DOEPDMA(4) = 0xc47be000
-DOEPDMA(5) = 0xc3184180
-DOEPDMA(6) = 0xd741e004
-DOEPDMA(7) = 0xc47be000
-DOEPDMA(8) = 0xa0e45ea5
-DOEPDMA(9) = 0x6fefffde
-DOEPDMA(10) = 0x24e135d4
-DOEPDMA(11) = 0x17bbcbba
-DOEPDMA(12) = 0x59e5bfb6
-DOEPDMA(13) = 0x9d726f7f
-DOEPDMA(14) = 0x630a7d56
-DOEPDMA(15) = 0xdb3aa6df
+DIEPDMA(0) = 0xc3184200
+DIEPDMA(1) = 0xd741f804
+DIEPDMA(2) = 0xc47f2000
+DIEPDMA(3) = 0xc3184200
+DIEPDMA(4) = 0xc47f2000
+DIEPDMA(5) = 0xc3184200
+DIEPDMA(6) = 0xd741f004
+DIEPDMA(7) = 0xc47f2000
+DIEPDMA(8) = 0xb065dea5
+DIEPDMA(9) = 0x6feffdd6
+DIEPDMA(10) = 0x24f115d6
+DIEPDMA(11) = 0x97bbcbba
+DIEPDMA(12) = 0x59e4afb6
+DIEPDMA(13) = 0x9d326f7f
+DIEPDMA(14) = 0x670afd76
+DIEPDMA(15) = 0xdb3a86db
+DOEPDMA(0) = 0xc3184200
+DOEPDMA(1) = 0xd741f804
+DOEPDMA(2) = 0xc47f2000
+DOEPDMA(3) = 0xc3184200
+DOEPDMA(4) = 0xc47f2000
+DOEPDMA(5) = 0xc3184200
+DOEPDMA(6) = 0xd741f004
+DOEPDMA(7) = 0xc47f2000
+DOEPDMA(8) = 0xb065dea5
+DOEPDMA(9) = 0x6feffdd6
+DOEPDMA(10) = 0x24f115d6
+DOEPDMA(11) = 0x97bbcbba
+DOEPDMA(12) = 0x59e4afb6
+DOEPDMA(13) = 0x9d326f7f
+DOEPDMA(14) = 0x670afd76
+DOEPDMA(15) = 0xdb3a86db
DTXFSTS(0) = 0x00000100
DTXFSTS(1) = 0x00000200
DTXFSTS(2) = 0x00000200
@@ -195,15 +195,15 @@
DTXFSTS(13) = 0x00000100
DTXFSTS(14) = 0x00000200
DTXFSTS(15) = 0x00000200
-PCGCTL = 0x00000011
+PCGCTL = 0x00000000
HCFG = 0x00000000
HFIR = 0x00001d4b
-HFNUM = 0x1d4b07c0
+HFNUM = 0x1c9b280d
HPTXSTS = 0x00080200
HAINT = 0x00000000
HAINTMSK = 0x00000000
HFLBADDR = 0x00000000
-HPRT0 = 0x00001485
+HPRT0 = 0x00001005
HCCHAR(0) = 0x00900040
HCCHAR(1) = 0x00908040
HCCHAR(2) = 0x00900040
@@ -284,35 +284,35 @@
HCTSIZ(13) = 0x00000000
HCTSIZ(14) = 0x00000000
HCTSIZ(15) = 0x00000000
-HCDMA(0) = 0xc3184180
-HCDMA(1) = 0xd741e804
-HCDMA(2) = 0xc47be000
-HCDMA(3) = 0xc3184180
-HCDMA(4) = 0xc47be000
-HCDMA(5) = 0xc3184180
-HCDMA(6) = 0xd741e004
-HCDMA(7) = 0xc47be000
-HCDMA(8) = 0xa0e45ea5
-HCDMA(9) = 0x6fefffde
-HCDMA(10) = 0x24e135d4
-HCDMA(11) = 0x17bbcbba
-HCDMA(12) = 0x59e5bfb6
-HCDMA(13) = 0x9d726f7f
-HCDMA(14) = 0x630a7d56
-HCDMA(15) = 0xdb3aa6df
-HCDMAB(0) = 0xdb3aa6df
-HCDMAB(1) = 0xc3184180
-HCDMAB(2) = 0xd741e804
-HCDMAB(3) = 0xc47be000
-HCDMAB(4) = 0xc3184180
-HCDMAB(5) = 0xc47be000
-HCDMAB(6) = 0xc3184180
-HCDMAB(7) = 0xd741e004
-HCDMAB(8) = 0xc47be000
-HCDMAB(9) = 0xa0e45ea5
-HCDMAB(10) = 0x6fefffde
-HCDMAB(11) = 0x24e135d4
-HCDMAB(12) = 0x17bbcbba
-HCDMAB(13) = 0x59e5bfb6
-HCDMAB(14) = 0x9d726f7f
-HCDMAB(15) = 0x630a7d56
+HCDMA(0) = 0xc3184200
+HCDMA(1) = 0xd741f804
+HCDMA(2) = 0xc47f2000
+HCDMA(3) = 0xc3184200
+HCDMA(4) = 0xc47f2000
+HCDMA(5) = 0xc3184200
+HCDMA(6) = 0xd741f004
+HCDMA(7) = 0xc47f2000
+HCDMA(8) = 0xb065dea5
+HCDMA(9) = 0x6feffdd6
+HCDMA(10) = 0x24f115d6
+HCDMA(11) = 0x97bbcbba
+HCDMA(12) = 0x59e4afb6
+HCDMA(13) = 0x9d326f7f
+HCDMA(14) = 0x670afd76
+HCDMA(15) = 0xdb3a86db
+HCDMAB(0) = 0xdb3a86db
+HCDMAB(1) = 0xc3184200
+HCDMAB(2) = 0xd741f804
+HCDMAB(3) = 0xc47f2000
+HCDMAB(4) = 0xc3184200
+HCDMAB(5) = 0xc47f2000
+HCDMAB(6) = 0xc3184200
+HCDMAB(7) = 0xd741f004
+HCDMAB(8) = 0xc47f2000
+HCDMAB(9) = 0xb065dea5
+HCDMAB(10) = 0x6feffdd6
+HCDMAB(11) = 0x24f115d6
+HCDMAB(12) = 0x97bbcbba
+HCDMAB(13) = 0x59e4afb6
+HCDMAB(14) = 0x9d326f7f
+HCDMAB(15) = 0x670afd76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment