[FS#497] ipq806x: non-working USB 3.0 port on R7500 / Netgear X4 nighthawk
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Feb 20 11:17:17 PST 2017
The following task has a new comment added:
FS#497 - ipq806x: non-working USB 3.0 port on R7500 / Netgear X4 nighthawk
User who did this - Thomas Reifferscheid (reiffert)
----------
Please find the register dumps taken from /sys/kernel/debug/*dwc3*/regdump and the diffs as follows.
@debian:~$ diff -u regdump.linux-3.4.103.dwc3.0 regdump.linux-3.4.103.dwc3.1
--- regdump.linux-3.4.103.dwc3.0 2017-02-17 22:59:59.396064293 +0100
+++ regdump.linux-3.4.103.dwc3.1 2017-02-17 23:00:20.588064937 +0100
@@ -170,9 +170,9 @@
DALEPENA = 0x00000000
DEPCMDPAR2(0) = 0x00000000
DEPCMDPAR2(1) = 0x00000000
-DEPCMDPAR2(2) = 0x4ba9e000
+DEPCMDPAR2(2) = 0x4ba09000
DEPCMDPAR2(3) = 0x00000000
-DEPCMDPAR2(4) = 0x4baa0000
+DEPCMDPAR2(4) = 0x4ba0b000
DEPCMDPAR2(5) = 0x00000000
DEPCMDPAR2(6) = 0x00000000
DEPCMDPAR2(7) = 0x00000000
@@ -232,11 +232,11 @@
DEPCMDPAR1(29) = 0x00000000
DEPCMDPAR1(30) = 0x00000000
DEPCMDPAR1(31) = 0x00000000
-DEPCMDPAR0(0) = 0x4ba9f001
+DEPCMDPAR0(0) = 0x4b9d2001
DEPCMDPAR0(1) = 0x00000000
DEPCMDPAR0(2) = 0x00000040
DEPCMDPAR0(3) = 0x00000000
-DEPCMDPAR0(4) = 0x4ba9f400
+DEPCMDPAR0(4) = 0x4b9d2400
DEPCMDPAR0(5) = 0x00000000
DEPCMDPAR0(6) = 0x00000000
DEPCMDPAR0(7) = 0x00000000
@debian:~$ diff -u regdump.linux-4.4.47.dwc3.0 regdump.linux-4.4.47.dwc3.1
--- regdump.linux-4.4.47.dwc3.0 2017-02-17 23:04:24.548072345 +0100
+++ regdump.linux-4.4.47.dwc3.1 2017-02-17 23:04:18.924072174 +0100
@@ -4,7 +4,7 @@
GRXTHRCFG = 0x00000000
GCTL = 0x00101401
GEVTEN = 0x00000000
-GSTS = 0x3e800022
+GSTS = 0x3e800002
GSNPSID = 0x5533230a
GGPIO = 0x00000000
GUID = 0x0004042f
@@ -163,15 +163,15 @@
DCFG = 0x00080804
DCTL = 0x00000000
DEVTEN = 0x00000000
-DSTS = 0x00560004
+DSTS = 0x00d60014
DGCMDPAR = 0x00000000
DGCMD = 0x00000000
DALEPENA = 0x00000000
DEPCMDPAR2(0) = 0x00000000
DEPCMDPAR2(1) = 0x00000000
-DEPCMDPAR2(2) = 0x4ecdc000
+DEPCMDPAR2(2) = 0x4ed21000
DEPCMDPAR2(3) = 0x00000000
-DEPCMDPAR2(4) = 0x4ecf1000
+DEPCMDPAR2(4) = 0x4ed0d000
DEPCMDPAR2(5) = 0x00000000
DEPCMDPAR2(6) = 0x00000000
DEPCMDPAR2(7) = 0x00000000
@@ -231,11 +231,11 @@
DEPCMDPAR1(29) = 0x00000000
DEPCMDPAR1(30) = 0x00000000
DEPCMDPAR1(31) = 0x00000000
-DEPCMDPAR0(0) = 0x4ecd7001
+DEPCMDPAR0(0) = 0x4ed20001
DEPCMDPAR0(1) = 0x00000000
DEPCMDPAR0(2) = 0x00000040
DEPCMDPAR0(3) = 0x00000000
-DEPCMDPAR0(4) = 0x4ecf2000
+DEPCMDPAR0(4) = 0x4ed0c000
DEPCMDPAR0(5) = 0x00000000
DEPCMDPAR0(6) = 0x00000000
DEPCMDPAR0(7) = 0x00000000
@@ -297,6 +297,6 @@
DEPCMD(31) = 0x00000000
OCFG = 0x00000000
OCTL = 0x00000040
-OEVT = 0x80000000
+OEVT = 0x00000000
OEVTEN = 0x00000000
-OSTS = 0x00000019
+OSTS = 0x0000000e
OEVT set to 0x00000000 and OSTS set to 0x0000000e: it works
OEVT set to 0x80000000 and OSTS set to 0x00000019: it does not work.
I tried setting the two registers to 0x0 and 0x0e but had no luck. Someone suggested that these registers are read only and might indicate that something is in a hung state *OR* needs to finish is initialization. E.g. the PCIe. Needs to be investigated at a later point in time.
----------
One or more files have been attached.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=497#comment1895
More information about the lede-bugs
mailing list