[Letux-kernel] error messages on pyra with usb otg port
Andreas Kemnade
andreas at kemnade.info
Wed Dec 12 17:25:57 CET 2018
On Wed, 12 Dec 2018 09:05:00 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> > Am 11.12.2018 um 21:58 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >
> > Hi,
> >
> > I got these messages while playing around with the pyra otg port:
> >
> > root at letux:~# rmmod dwc3_omap
> > [ 130.870422] dwc3 4a030000.dwc3: otg: device->idle
> > [ 130.883397] omap-dwc3 4a020000.omap_dwc3: Dropping the link to regulator.37
> > root at letux:~# modprobe dwc3_omap
> > [ 135.180613] omap-dwc3 4a020000.omap_dwc3: Linked as a consumer to regulator.37
> > [ 135.190475] dwc3 4a030000.dwc3: Failed to get clk 'ref': -2
> > [ 135.199202] OF: graph: no port node found in /ocp/ocp2scp at 4a080000/usb2phy at 4a084000
Hmm, that message does not appear in your logs. So now the question is why.
> > [ 135.208664] dwc3 4a030000.dwc3: otg: idle->device
> > [ 135.214376] dwc3 4a030000.dwc3: changing max_speed on rev 5533202a
> > root at letux:~# [ 135.238419] using random self ethernet address
> >
> >
> > Are these errors harmless?
> > dtb file is
> > => echo ${fdtfile}
> > omap5-letux-cortex15-v5.1+pyra-v5.1.dtb
>
And you tested with
> I have this (with USB2 client cable plugged in):
>
> Debian GNU/Linux 8 letux console
>
> letux login: root
> Password:
> Last login: Wed Dec 5 15:29:34 UTC 2018 on console
> Linux letux 4.20.0-rc5-letux+ #2977 SMP PREEMPT Wed Dec 5 15:35:18 CET 2018 armv7l
>
> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> root at letux:~# [ 114.264536] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
> [ 114.569795] bq24296_usb_detect: r8=44 HOST PWRGOOD r9=00
> [ 114.575493] bq24296: VBUS became available
> [ 114.579993] bq24296_update_input_current_limit(6)
> [ 115.610366] bq24296_usb_detect: r8=6c HOST FCHG INDPM PWRGOOD r9=00
> [ 115.776979] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
> [ 115.828770] NOHZ: local_softirq_pending 08
> [ 116.220140] NOHZ: local_softirq_pending 08
> [ 116.404215] NOHZ: local_softirq_pending 08
> [ 116.611114] NOHZ: local_softirq_pending 08
> [ 116.724917] NOHZ: local_softirq_pending 08
> [ 116.828586] NOHZ: local_softirq_pending 08
> [ 117.005108] NOHZ: local_softirq_pending 08
> [ 117.048250] NOHZ: local_softirq_pending 08
> [ 117.173749] NOHZ: local_softirq_pending 08
> [ 117.341119] NOHZ: local_softirq_pending 08
>
> root at letux:~# dmesg|fgrep dwc3
> [ 7.973297] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform
> [ 7.982948] omap-dwc3 4a020000.omap_dwc3: vbus init failed
> [ 7.990611] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform failed (0)
> [ 8.026499] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform
> [ 8.047589] omap-dwc3 4a020000.omap_dwc3: Linked as a consumer to regulator.37
> [ 8.058745] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform ok (1)
> [ 9.683066] really_probe: driver dwc3 for 4a030000.dwc3 bus platform
> [ 9.690483] dwc3 4a030000.dwc3: Failed to get clk 'ref': -2
> [ 9.704619] dwc3 4a030000.dwc3: changing max_speed on rev 5533202a
> [ 9.724105] really_probe: driver dwc3 for 4a030000.dwc3 bus platform ok (1)
> root at letux:~# rmmod dwc3_omap
> [ 225.019446] dwc3 4a030000.dwc3: end transfer timed out on endpoints 0x2c [bitmap]
> [ 225.032783] omap-dwc3 4a020000.omap_dwc3: Dropping the link to regulator.37
> root at letux:~# modprobe dwc3_omap
> [ 234.851847] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform
> [ 234.859915] omap-dwc3 4a020000.omap_dwc3: Linked as a consumer to regulator.37
> [ 234.869166] really_probe: driver dwc3 for 4a030000.dwc3 bus platform
> [ 234.876098] dwc3 4a030000.dwc3: Failed to get clk 'ref': -2
> [ 234.882985] dwc3 4a030000.dwc3: changing max_speed on rev 5533202a
> [ 234.890036] really_probe: driver dwc3 for 4a030000.dwc3 bus platform ok (1)
> [ 234.898499] using random self ethernet address
> [ 234.903162] using random host ethernet address
> [ 234.908141] really_probe: driver omap-dwc3 for 4a020000.omap_dwc3 bus platform ok (1)
> [ 234.908334] using host ethernet address: 32:70:05:18:ff:78
> [ 234.908338] using self ethernet address: 46:10:3a:b3:af:d9
> [ 234.925638] usb0: HOST MAC 32:70:05:18:ff:78
> root at letux:~# [ 234.943451] usb0: MAC 46:10:3a:b3:af:d9
> [ 234.947729] using random self ethernet address
> [ 234.952420] using random host ethernet address
> [ 234.957300] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
> [ 234.964257] g_ether gadget: g_ether ready
> [ 235.270015] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
>
> root at letux:~#
> root at letux:~# ping 8.8.8.8
> connect: Network is unreachable
> root at letux:~# ifdown usb0
> SIOCDELRT: No such process
> root at letux:~# ifdown usb0
> ifdown: interface usb0 not configured
> root at letux:~# ifup usb0
> [ 325.399391] using random self ethernet address
> [ 325.404257] using random host ethernet address
> [ 325.408928] using host ethernet address: 32:70:05:18:ff:78
> [ 325.408932] using self ethernet address: 46:10:3a:b3:af:d9
> [ 325.417892] usb0: HOST MAC 32:70:05:18:ff:78
> [ 325.433012] usb0: MAC 46:10:3a:b3:af:d9
> [ 325.437555] using random self ethernet address
> [ 325.442742] using random host ethernet address
> [ 325.447458] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
> [ 325.454534] g_ether gadget: g_ether ready
> [ 325.488924] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
> [ 325.776361] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
> root at letux:~# [ 326.594435] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
>
> root at letux:~# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=121 time=22.4 ms
> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=121 time=19.6 ms
> 64 bytes from 8.8.8.8: icmp_seq=3 ttl=121 time=19.9 ms
> ^C
> --- 8.8.8.8 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 322335ms
> rtt min/avg/max/mdev = 19.677/20.676/22.443/1.253 ms
> root at letux:~#
>
> Unfortunately the OMAP5EVM isn't running stable any more so that
> I can't get it booted.
>
> BR,
> Nikolaus
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20181212/2ba681b0/attachment.asc>
More information about the Letux-kernel
mailing list