* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-08-30 5:02 ` Anand Moon
@ 2016-09-20 21:19 ` Michael Niewöhner
2016-10-03 13:08 ` Michael Niewöhner
2016-10-04 6:02 ` Vivek Gautam
2 siblings, 0 replies; 20+ messages in thread
From: Michael Niewöhner @ 2016-09-20 21:19 UTC (permalink / raw)
To: Anand Moon, Mathias Nyman, Felipe Balbi, Greg Kroah-Hartman,
Kukjin Kim, Krzysztof Kozlowski, linux-usb, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi guys,
On Di, 2016-08-30 at 10:32 +0530, Anand Moon wrote:
> Hi All
>
> Adding Vivek Gautam.
>
> On 29 August 2016 at 16:35, Michael Niewöhner <linux@mniewoehner.de>
> wrote:
> >
> > Hi Mathias,
> > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote:
> > >
> > > On 29.08.2016 10:28, Felipe Balbi wrote:
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > Michael Niewöhner <linux@mniewoehner.de> writes:
> > > > >
> > > > >
> > > > > [1.] One line summary of the problem:
> > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
> > > > >
> > > > > [2.] Full description of the problem/report:
> > > > > No usb 3.0 devices are being detected when attached while USB
> > > > > 2.0
> > > > > devices work on the same port.
> > > > > USB 3.0 works after applying patches [9.1] and [9.2], but
> > > > > seems
> > > > > to be
> > > > > buggy. The usb hub is redetected every time an usb device is
> > > > > attached.
> > > >
> > > > dwc3 is host, which means it's actually XHCI :-)
> > > >
> > > > Adding Mathias
> > > >
> > > > >
> > > > >
> > > > > dmesg:
> > > > > [ 192.287080] usb 3-1.2: USB disconnect, device number 7
> > > > > [ 210.370699] hub 3-1:1.0: hub_ext_port_status failed (err =
> > > > > -71)
> > >
> > > Looks like the hub GetPortStatus request fails with protocol
> > > error.
> > >
> > > Reading xhci root hub port status is mostly just register reads
> > > and
> > > writes. It
> > > shouldn't include any actual transfers that could return -EPROTO
> > >
> > > So this is not the root hub? but a external or integrated on your
> > > board, right?
> > >
> > > The protocol error -71 is returned at transfer errors or if
> > > device
> > > stalled.
> > >
> > > Adding more xhci debugging options could show something:
> > > echo -n 'module xhci_hcd =p' >
> > > /sys/kernel/debug/dynamic_debug/control
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > [9.] Other notes, patches, fixes, workarounds:
> > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
> > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
> > >
> > > The additional patches that makes things somehow work involve
> > > tuning
> > > the PHY,
> > > this is an area I'm not familiar with
> > >
> > > -Mathias
> > >
> >
> >
> > I'm sorry, I should have said that this is the dmesg output with
> > the
> > patches applied. Without them there is no output at all when I
> > attach
> > an usb 3.0 device.
> >
> > Michael
>
> There are two dwc3 ports in the SoC : one for Gbit Ethernet another
> one for on-board GL3521 USB 3.0 hub controller.
>
> 3.10.x kernel
> odroid@odroid:~$ lsusb -t
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class,
> Driver=r8152, 5000M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
>
> 4.x kernel
> odroid@odroid:~$ lsusb -t
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class,
> Driver=r8152, 480M
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-
> storage, 5000M
> |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-
> storage, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>
> I fell that Ethernet driver r8152 is not getting registered to
> xhci-hcd to bus port 06
> which lead to other ports to miss configure, some time the Ethernet
> port get register to bus port 04
>
> Their is also a possibility that all the port are not getting proper
> power from the S2MPS11 PMIC
> and possible some reset of the phy is needed to reconfigure the
> exynos
> USB HSIC controller.
>
> Best Regards
> -Anand Moon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-
> samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Today I've tested v4.8-rc7 (without the patches above). The USB 3.0
ports have stopped working completely for me. Neither USB 2.0 nor USB
3.0 are being detected. The Ethernet port does not work, too. The USB-
2.0-only Port works.
There also a new problem: my XU4 does not reboot or poweroff anymore.
When I force-remove the dwc3 module reboot / poweroff works again.
There are some failures in the dmesg log, see below.
Best regards,
Michael
dmesg | grep -iE "usb|dwc|hci":
-------------------------------
[ 0.326371] usbcore: registered new interface driver usbfs
[ 0.326456] usbcore: registered new interface driver hub
[ 0.326638] usbcore: registered new device driver usb
[ 1.620326] usbcore: registered new interface driver usb-storage
[ 1.790692] sdhci: Secure Digital Host Controller Interface driver
[ 1.795382] sdhci: Copyright(c) Pierre Ossman
[ 1.994062] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.011265] usbcore: registered new interface driver usbhid
[ 2.016419] usbhid: USB HID core driver
[ 15.113203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 15.115802] ehci-exynos: EHCI EXYNOS driver
[ 15.117544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 15.121099] ohci-exynos: OHCI EXYNOS driver
[ 15.173098] exynos-ohci 12120000.usb: USB Host Controller
[ 15.187949] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 1
[ 15.195296] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000
[ 15.274045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 15.279360] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.279366] usb usb1: Product: USB Host Controller
[ 15.279371] usb usb1: Manufacturer: Linux 4.8.0-rc7+ ohci_hcd
[ 15.279375] usb usb1: SerialNumber: 12120000.usb
[ 15.280187] hub 1-0:1.0: USB hub found
[ 15.281215] exynos-ehci 12110000.usb: EHCI Host Controller
[ 15.281509] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 2
[ 15.281656] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000
[ 15.309929] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 15.310297] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.310302] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.310307] usb usb2: Product: EHCI Host Controller
[ 15.310312] usb usb2: Manufacturer: Linux 4.8.0-rc7+ ehci_hcd
[ 15.310317] usb usb2: SerialNumber: 12110000.usb
[ 15.310928] hub 2-0:1.0: USB hub found
[ 15.312172] exynos-dwc3 soc:usb3-0: no suspend clk specified
[ 15.313613] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 15.314033] usb_phy_generic.1.auto supply vcc not found, using dummy regulator
[ 15.315395] exynos-dwc3 soc:usb3-1: no suspend clk specified
[ 15.317108] usb_phy_generic.2.auto supply vcc not found, using dummy regulator
[ 15.317436] usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[ 15.335605] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 15.335844] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[ 15.336099] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 15.336149] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000
[ 15.336489] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.336496] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.336501] usb usb3: Product: xHCI Host Controller
[ 15.336506] usb usb3: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.336511] usb usb3: SerialNumber: xhci-hcd.4.auto
[ 15.337095] hub 3-0:1.0: USB hub found
[ 15.337596] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 15.337789] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[ 15.337927] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.338159] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 15.338165] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.338169] usb usb4: Product: xHCI Host Controller
[ 15.338174] usb usb4: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.338179] usb usb4: SerialNumber: xhci-hcd.4.auto
[ 15.338847] hub 4-0:1.0: USB hub found
[ 15.339419] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 15.339649] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5
[ 15.339990] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 15.340036] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000
[ 15.340329] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.340335] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.340340] usb usb5: Product: xHCI Host Controller
[ 15.340344] usb usb5: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.340349] usb usb5: SerialNumber: xhci-hcd.5.auto
[ 15.340918] hub 5-0:1.0: USB hub found
[ 15.341387] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 15.341618] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6
[ 15.341758] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.341993] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[ 15.341998] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.342003] usb usb6: Product: xHCI Host Controller
[ 15.342008] usb usb6: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.342012] usb usb6: SerialNumber: xhci-hcd.5.auto
[ 15.342662] hub 6-0:1.0: USB hub found
[ 19.642578] usb usb5-port1: connect-debounce failed
#######################################################################
full dmesg:
-----------
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.8.0-rc7+ (c0d3@z3r0) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP Tue Sep 20 22:24:41 CEST 2016
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4
[ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_right, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0xbd200000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_left, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Samsung CPU ID: 0xe5422001
[ 0.000000] On node 0 totalpages: 512512
[ 0.000000] free_area_init_node: node 0, pgdat c0c81dc0, node_mem_map eee52000
[ 0.000000] Normal zone: 1728 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 315904 pages, LIFO batch:31
[ 0.000000] Running under secure firmware.
[ 0.000000] percpu: Embedded 15 pages/cpu @eeda1000 s30272 r8192 d22976 u61440
[ 0.000000] pcpu-alloc: s30272 r8192 d22976 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 510784
[ 0.000000] Kernel command line: console=ttySAC2,115200n8 root=/dev/mmcblk1p2 rootfstype=ext4 rootwait earlyprintk debug
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 2018124K/2050048K available (7168K kernel code, 617K rwdata, 2052K rodata, 1024K init, 375K bss, 31924K reserved, 0K cma-reserved, 1263616K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0800000 (8160 kB)
.init : 0xc0b00000 - 0xc0c00000 (1024 kB)
.data : 0xc0c00000 - 0xc0c9a7cc ( 618 kB)
.bss : 0xc0c9c000 - 0xc0cf9d04 ( 376 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] genirq: Setting trigger mode 0 for irq 17 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 18 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 19 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 20 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 21 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 22 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 23 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 24 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 25 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 26 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 27 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 28 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 29 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 30 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 31 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 32 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 33 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 34 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 35 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 36 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 37 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 38 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 39 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 40 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 41 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 42 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 43 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 44 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 45 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 46 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 47 failed (gic_set_type+0x0/0x64)
[ 0.000000] genirq: Setting trigger mode 0 for irq 48 failed (gic_set_type+0x0/0x64)
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.001699] Console: colour dummy device 80x30
[ 0.001743] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001762] pid_max: default: 32768 minimum: 301
[ 0.002015] Security Framework initialized
[ 0.002031] Yama: becoming mindful.
[ 0.002063] AppArmor: AppArmor disabled by boot time parameter
[ 0.002154] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002171] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003263] CPU: Testing write buffer coherency: ok
[ 0.003312] ftrace: allocating 25419 entries in 75 pages
[ 0.071511] CPU0: update cpu_capacity 448
[ 0.071533] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[ 0.071713] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.072357] ARM CCI driver probed
[ 0.072569] Exynos MCPM support installed
[ 0.076960] CPU1: update cpu_capacity 448
[ 0.076969] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[ 0.078015] CPU2: update cpu_capacity 448
[ 0.078023] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[ 0.079093] CPU3: update cpu_capacity 448
[ 0.079100] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[ 0.080042] CPU4: update cpu_capacity 1535
[ 0.080050] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081116] CPU5: update cpu_capacity 1535
[ 0.081123] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.082117] CPU6: update cpu_capacity 1535
[ 0.082124] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.083109] CPU7: update cpu_capacity 1535
[ 0.083116] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.083257] Brought up 8 CPUs
[ 0.083322] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.083333] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x1a)
[ 0.083341] CPU: This may indicate a broken bootloader or firmware.
[ 0.085519] devtmpfs: initialized
[ 0.111049] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[ 0.111544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.111848] pinctrl core: initialized pinctrl subsystem
[ 0.114692] NET: Registered protocol family 16
[ 0.115485] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.159992] cpuidle: using governor ladder
[ 0.199983] cpuidle: using governor menu
[ 0.208731] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.208746] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.209125] Serial: AMBA PL011 UART driver
[ 0.218768] iommu: Adding device 11000000.codec to group 0
[ 0.224583] genirq: Setting trigger mode 0 for irq 110 failed (gic_set_type+0x0/0x64)
[ 0.257244] iommu: Adding device 14450000.mixer to group 1
[ 0.257794] iommu: Adding device 11c00000.rotator to group 2
[ 0.267216] iommu: Adding device 13e00000.video-scaler to group 3
[ 0.267742] iommu: Adding device 13e10000.video-scaler to group 4
[ 0.268256] iommu: Adding device 11f50000.jpeg to group 5
[ 0.268752] iommu: Adding device 11f60000.jpeg to group 6
[ 0.269137] EXYNOS5420 PMU initialized
[ 0.325992] SCSI subsystem initialized
[ 0.326371] usbcore: registered new interface driver usbfs
[ 0.326456] usbcore: registered new interface driver hub
[ 0.326638] usbcore: registered new device driver usb
[ 0.327614] media: Linux media interface: v0.10
[ 0.327679] Linux video capture interface: v2.00
[ 0.327775] pps_core: LinuxPPS API ver. 1 registered
[ 0.327786] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.327815] PTP clock support registered
[ 0.329864] clocksource: Switched to clocksource mct-frc
[ 0.400809] VFS: Disk quotas dquot_6.6.0
[ 0.400890] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.420200] NET: Registered protocol family 2
[ 0.420933] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.421015] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.421174] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.421242] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.421283] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.421520] NET: Registered protocol family 1
[ 0.427016] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.427156] audit: initializing netlink subsys (disabled)
[ 0.427216] audit: type=2000 audit(0.370:1): initialized
[ 0.428268] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 0.439142] zbud: loaded
[ 0.444748] bounce: pool size: 64 pages
[ 0.445009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.445239] io scheduler noop registered
[ 0.445253] io scheduler deadline registered (default)
[ 0.445515] io scheduler cfq registered
[ 0.455579] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330
[ 0.455598] dma-pl330 121a0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.460175] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330
[ 0.460193] dma-pl330 121b0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.461439] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-241330
[ 0.461456] dma-pl330 10800000.mdma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[ 0.462613] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.465554] Serial: AMBA driver
[ 0.465938] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76, base_baud = 0) is a S3C6400/10
[ 0.466473] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77, base_baud = 0) is a S3C6400/10
[ 0.467023] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78, base_baud = 0) is a S3C6400/10
[ 0.599414] random: fast init done
[ 1.542942] console [ttySAC2] enabled
[ 1.547070] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79, base_baud = 0) is a S3C6400/10
[ 1.556647] [drm] Initialized drm 1.1.0 20060810
[ 1.562246] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517
[ 1.569034] exynos-rot 11c00000.rotator: The exynos rotator is probed successfully
[ 1.575796] exynos-drm-gsc 13e00000.video-scaler: failed to get system register.
[ 1.582802] exynos-drm-gsc 13e00000.video-scaler: drm gsc registered successfully.
[ 1.590163] exynos-drm-gsc 13e10000.video-scaler: failed to get system register.
[ 1.597624] exynos-drm-gsc 13e10000.video-scaler: drm gsc registered successfully.
[ 1.605612] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
[ 1.617202] libphy: Fixed MDIO Bus: probed
[ 1.620326] usbcore: registered new interface driver usb-storage
[ 1.626314] mousedev: PS/2 mouse device common for all mice
[ 1.649678] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV
[ 1.662830] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV
[ 1.672436] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV
[ 1.685733] vdd_sd: Bringing 3300000uV into 2800000-2800000uV
[ 1.745880] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0
[ 1.758869] exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
[ 1.764911] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
[ 1.790692] sdhci: Secure Digital Host Controller Interface driver
[ 1.795382] sdhci: Copyright(c) Pierre Ossman
[ 1.799956] Synopsys Designware Multimedia Card Interface Driver
[ 1.806290] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode.
[ 1.812577] dwmmc_exynos 12200000.mmc: Using internal DMA controller.
[ 1.818958] dwmmc_exynos 12200000.mmc: Version ID is 250a
[ 1.824373] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 91,64 bit host data width,64 deep fifo
[ 1.833763] dwmmc_exynos 12200000.mmc: Got CD GPIO
[ 1.838412] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq
[ 1.870520] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 1.900048] dwmmc_exynos 12200000.mmc: 1 slots initialized
[ 1.904270] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode.
[ 1.910928] dwmmc_exynos 12220000.mmc: Using internal DMA controller.
[ 1.917310] dwmmc_exynos 12220000.mmc: Version ID is 250a
[ 1.922727] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 92,64 bit host data width,64 deep fifo
[ 1.960331] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 1.989895] dwmmc_exynos 12220000.mmc: 1 slots initialized
[ 1.994062] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.000612] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.005907] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.011265] usbcore: registered new interface driver usbhid
[ 2.016419] usbhid: USB HID core driver
[ 2.032699] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp
[ 2.038006] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp
[ 2.044648] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp
[ 2.051203] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp
[ 2.060844] NET: Registered protocol family 10
[ 2.064785] mip6: Mobile IPv6
[ 2.066752] NET: Registered protocol family 17
[ 2.071230] mpls_gso: MPLS GSO support
[ 2.075529] ThumbEE CPU extension supported.
[ 2.079164] Registering SWP/SWPB emulation handler
[ 2.084499] registered taskstats version 1
[ 2.088033] zswap: loaded using pool lzo/zbud
[ 2.092445] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 2.105579] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 2.112148] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
[ 2.116601] s3c-rtc 101e0000.rtc: warning: invalid RTC value so initializing it
[ 2.123908] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0
[ 2.129400] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1
[ 2.136750] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz)
[ 2.144186] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz)
[ 2.152075] exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz)
[ 2.160433] exynos-bus: new bus device registered: soc:bus_fsys (100000 KHz ~ 200000 KHz)
[ 2.168742] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz)
[ 2.177136] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz)
[ 2.185125] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz)
[ 2.193013] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~ 67000 KHz)
[ 2.195081] devfreq soc:bus_wcore: Couldn't update frequency transition information.
[ 2.209087] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz)
[ 2.217105] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz)
[ 2.225507] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz)
[ 2.233659] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz)
[ 2.242025] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz)
[ 2.250759] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz)
[ 2.258960] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz)
[ 2.267872] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz)
[ 2.275693] mmc_host mmc1: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[ 2.277158] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 2.279370] Power domain power-domain@10044120 disable failed
[ 2.285341] s5m-rtc s2mps14-rtc: setting system clock to 2000-01-01 00:00:04 UTC (946684804)
[ 2.308572] PM: Hibernation image not present or could not be loaded.
[ 2.316247] Waiting for root device /dev/mmcblk1p2...
[ 2.410857] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
[ 2.416596] mmcblk1: mmc1:59b4 USDU1 14.7 GiB
[ 2.421238] mmcblk1: p1 p2
[ 2.425615] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 2.554682] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.561343] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.568683] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
[ 2.702417] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
[ 2.781274] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
[ 2.790379] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
[ 2.800162] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
[ 2.814356] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
[ 2.822694] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
[ 2.831941] systemd[1]: Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio.
[ 2.842823] systemd[1]: Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event.
[ 2.852911] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 2.865511] systemd[1]: Detected architecture 'arm'.
[ 2.955738] systemd-getty-generator[114]: Automatically adding serial getty for /dev/ttySAC2.
[ 2.957079] systemd-fstab-generator[115]: Parsing /etc/fstab
[ 2.963653] systemd-fstab-generator[115]: Found entry what=/dev/mmcblk1p2 where=/ type=ext4
[ 2.966633] systemd-default-display-manager-generator[117]: No /etc/X11/default-display-manager file, nothing to generate
[ 2.968300] systemd-rc-local-generator[123]: Automatically adding rc-local.service.
[ 3.016153] systemd-gpt-auto-generator[120]: Root device /dev/mmcblk1.
[ 3.016220] systemd-sysv-generator[119]: Looking for unit files in (higher priority first):
[ 3.016228] systemd-sysv-generator[119]: /etc/systemd/system
[ 3.016235] systemd-sysv-generator[119]: /run/systemd/system
[ 3.016243] systemd-sysv-generator[119]: /usr/local/lib/systemd/system
[ 3.016250] systemd-sysv-generator[119]: /lib/systemd/system
[ 3.016259] systemd-sysv-generator[119]: /usr/lib/systemd/system
[ 3.016285] systemd-sysv-generator[119]: Looking for SysV init scripts in:
[ 3.016292] systemd-sysv-generator[119]: /etc/init.d
[ 3.016302] systemd-sysv-generator[119]: Looking for SysV rcN.d links in:
[ 3.016309] systemd-sysv-generator[119]: /etc
[ 3.017000] systemd-fstab-generator[115]: Found entry what=/dev/mmcblk1p1 where=/boot type=vfat
[ 3.019097] systemd-fstab-generator[115]: Checking was requested for /dev/mmcblk1p1, but fsck.vfat does not exist: No such file or directory
[ 3.070298] systemd-sysv-ge: 77 output lines suppressed due to ratelimiting
[ 3.144075] systemd-gpt-auto-generator[120]: Not a GPT partition table, ignoring.
[ 5.381648] random: crng init done
[ 13.969940] systemd-cgroups-agent[134]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea
[ 13.969961] systemd-cgroups-agent[138]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea
[ 13.969966] systemd-cgroups-agent[139]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea
[ 13.969970] systemd-cgroups-agent[140]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea
[ 14.099908] systemd[1]: Got disconnect on private connection.
[ 14.119885] systemd[1]: Got disconnect on private connection.
[ 14.139889] systemd[1]: Got disconnect on private connection.
[ 14.159884] systemd[1]: Got disconnect on private connection.
[ 14.632312] systemd-journald[146]: Fixed max_use=98.5M max_size=12.3M min_size=4.0M keep_free=147.8M
[ 14.646230] systemd-journald[146]: Reserving 22435 entries in hash table.
[ 14.649928] systemd[1]: Got notification message for unit systemd-journald.service
[ 14.661340] systemd-journald[146]: Vacuuming...
[ 14.664447] systemd-journald[146]: Vacuuming done, freed 0 bytes
[ 14.669913] systemd[1]: systemd-journald.service: Got notification message from PID 146 (WATCHDOG=1...)
[ 14.680525] systemd-journald[146]: Flushing /dev/kmsg...
[ 14.689922] systemd[1]: systemd-journald.service: got WATCHDOG=1
[ 14.695361] systemd-journald[146]: Compressed data object 537 -> 288
[ 14.709901] systemd[1]: Got notification message for unit systemd-journald.service
[ 14.729910] systemd[1]: systemd-journald.service: Got notification message from PID 146 (WATCHDOG=1...)
[ 14.740561] systemd-journald[146]: systemd-journald running as pid 146
[ 14.969604] systemd-udevd[151]: starting version 215
[ 15.091498] s5p-secss 10830000.sss: s5p-sss driver registered
[ 15.096251] 12100000.phy supply vbus not found, using dummy regulator
[ 15.098979] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.109611] 12100000.phy supply vbus-boost not found, using dummy regulator
[ 15.113203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 15.115802] ehci-exynos: EHCI EXYNOS driver
[ 15.117544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 15.121099] ohci-exynos: OHCI EXYNOS driver
[ 15.138248] 12130000.phy supply vbus not found, using dummy regulator
[ 15.140298] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.152585] 12500000.phy supply vbus not found, using dummy regulator
[ 15.154586] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.164901] 12500000.phy supply vbus-boost not found, using dummy regulator
[ 15.173098] exynos-ohci 12120000.usb: USB Host Controller
[ 15.174726] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.187949] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 1
[ 15.195296] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000
[ 15.274045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 15.279360] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.279366] usb usb1: Product: USB Host Controller
[ 15.279371] usb usb1: Manufacturer: Linux 4.8.0-rc7+ ohci_hcd
[ 15.279375] usb usb1: SerialNumber: 12120000.usb
[ 15.280187] hub 1-0:1.0: USB hub found
[ 15.280246] hub 1-0:1.0: 3 ports detected
[ 15.281215] exynos-ehci 12110000.usb: EHCI Host Controller
[ 15.281509] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 2
[ 15.281656] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000
[ 15.283280] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.309929] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 15.310297] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.310302] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.310307] usb usb2: Product: EHCI Host Controller
[ 15.310312] usb usb2: Manufacturer: Linux 4.8.0-rc7+ ehci_hcd
[ 15.310317] usb usb2: SerialNumber: 12110000.usb
[ 15.310928] hub 2-0:1.0: USB hub found
[ 15.310980] hub 2-0:1.0: 3 ports detected
[ 15.312172] exynos-dwc3 soc:usb3-0: no suspend clk specified
[ 15.313613] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 15.314033] usb_phy_generic.1.auto supply vcc not found, using dummy regulator
[ 15.315099] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.315395] exynos-dwc3 soc:usb3-1: no suspend clk specified
[ 15.317108] usb_phy_generic.2.auto supply vcc not found, using dummy regulator
[ 15.317436] usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[ 15.318895] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.322074] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.327912] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.330946] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.335605] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 15.335844] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[ 15.336099] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 15.336149] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000
[ 15.336489] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.336496] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.336501] usb usb3: Product: xHCI Host Controller
[ 15.336506] usb usb3: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.336511] usb usb3: SerialNumber: xhci-hcd.4.auto
[ 15.337095] hub 3-0:1.0: USB hub found
[ 15.337142] hub 3-0:1.0: 1 port detected
[ 15.337596] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 15.337789] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[ 15.337927] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.338159] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 15.338165] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.338169] usb usb4: Product: xHCI Host Controller
[ 15.338174] usb usb4: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.338179] usb usb4: SerialNumber: xhci-hcd.4.auto
[ 15.338847] hub 4-0:1.0: USB hub found
[ 15.338896] hub 4-0:1.0: 1 port detected
[ 15.339419] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 15.339649] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5
[ 15.339990] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 15.340036] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000
[ 15.340103] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.340329] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.340335] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.340340] usb usb5: Product: xHCI Host Controller
[ 15.340344] usb usb5: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.340349] usb usb5: SerialNumber: xhci-hcd.5.auto
[ 15.340918] hub 5-0:1.0: USB hub found
[ 15.340964] hub 5-0:1.0: 1 port detected
[ 15.341387] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 15.341618] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6
[ 15.341758] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.341993] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[ 15.341998] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.342003] usb usb6: Product: xHCI Host Controller
[ 15.342008] usb usb6: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd
[ 15.342012] usb usb6: SerialNumber: xhci-hcd.5.auto
[ 15.342662] hub 6-0:1.0: USB hub found
[ 15.342711] hub 6-0:1.0: 1 port detected
[ 15.343005] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 15.346251] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node
[ 16.007600] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 16.139262] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 16.162644] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 16.626154] systemd-journald[146]: Received request to flush runtime journal from PID 1
[ 16.633782] systemd-journald[146]: Vacuuming...
[ 16.637242] systemd-journald[146]: Vacuuming done, freed 0 bytes
[ 17.640723] RPC: Registered named UNIX socket transport module.
[ 17.645166] RPC: Registered udp transport module.
[ 17.651236] RPC: Registered tcp transport module.
[ 17.654524] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 17.672346] FS-Cache: Loaded
[ 17.693518] FS-Cache: Netfs 'nfs' registered for caching
[ 17.725088] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 19.642578] usb usb5-port1: connect-debounce failed
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-08-30 5:02 ` Anand Moon
2016-09-20 21:19 ` Michael Niewöhner
@ 2016-10-03 13:08 ` Michael Niewöhner
2016-10-04 6:02 ` Vivek Gautam
2 siblings, 0 replies; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-03 13:08 UTC (permalink / raw)
To: Anand Moon, Mathias Nyman, Felipe Balbi, Greg Kroah-Hartman,
Kukjin Kim, Krzysztof Kozlowski, linux-usb, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi,
On Di, 2016-09-20 at 23:12 +0200, Michael Niewöhner wrote:
>
>
> Hi guys,
> >
> >
> > >
> > >
> > > Hi All
> > >
> > > Adding Vivek Gautam.
> > >
> > > On 29 August 2016 at 16:35, Michael Niewöhner
> > <linux@mniewoehner.de>
> > >
> > >
> > > wrote:
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Mathias,
> > > > > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote:
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 29.08.2016 10:28, Felipe Balbi wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > Michael Niewöhner <linux@mniewoehner.de> writes:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [1.] One line summary of the problem:
> > > > > > > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with
> > > > > > Exynos 5422
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [2.] Full description of the problem/report:
> > > > > > > > > > > No usb 3.0 devices are being detected when
> > > > > > attached while USB
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2.0
> > > > > > > > > > > devices work on the same port.
> > > > > > > > > > > USB 3.0 works after applying patches [9.1] and
> > > > > > [9.2], but
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > seems
> > > > > > > > > > > to be
> > > > > > > > > > > buggy. The usb hub is redetected every time an
> > > > > > usb device is
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > attached.
> > > > > > > > >
> > > > > > > > > dwc3 is host, which means it's actually XHCI :-)
> > > > > > > > >
> > > > > > > > > Adding Mathias
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > dmesg:
> > > > > > > > > > > [ 192.287080] usb 3-1.2: USB disconnect, device
> > > > > > number 7
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [ 210.370699] hub 3-1:1.0: hub_ext_port_status
> > > > > > failed (err =
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -71)
> > > > > > >
> > > > > > > Looks like the hub GetPortStatus request fails with
> > > > protocol
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > error.
> > > > > > >
> > > > > > > Reading xhci root hub port status is mostly just register
> > > > reads
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > and
> > > > > > > writes. It
> > > > > > > shouldn't include any actual transfers that could return
> > > > -EPROTO
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > So this is not the root hub? but a external or integrated
> > > > on your
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > board, right?
> > > > > > >
> > > > > > > The protocol error -71 is returned at transfer errors or
> > > > if
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > device
> > > > > > > stalled.
> > > > > > >
> > > > > > > Adding more xhci debugging options could show something:
> > > > > > > echo -n 'module xhci_hcd =p' >
> > > > > > > /sys/kernel/debug/dynamic_debug/control
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [9.] Other notes, patches, fixes, workarounds:
> > > > > > > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
> > > > > > > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
> > > > > > >
> > > > > > > The additional patches that makes things somehow work
> > > > involve
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > tuning
> > > > > > > the PHY,
> > > > > > > this is an area I'm not familiar with
> > > > > > >
> > > > > > > -Mathias
> > > > > > >
> > > > >
> > > > >
> > > > > I'm sorry, I should have said that this is the dmesg output
> > > with
> > > >
> > > >
> > > > >
> > > > >
> > > > > the
> > > > > patches applied. Without them there is no output at all when
> > > I
> > > >
> > > >
> > > > >
> > > > >
> > > > > attach
> > > > > an usb 3.0 device.
> > > > >
> > > > > Michael
> > >
> > > There are two dwc3 ports in the SoC : one for Gbit Ethernet
> > another
> > >
> > >
> > > one for on-board GL3521 USB 3.0 hub controller.
> > >
> > > 3.10.x kernel
> > > odroid@odroid:~$ lsusb -t
> > > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 5000M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class,
> > > Driver=r8152, 5000M
> > > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 480M
> > >
> > >
> > > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 5000M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> > > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 480M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> > > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p,
> > 12M
> > >
> > >
> > > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p,
> > 480M
> > >
> > >
> > >
> > > 4.x kernel
> > > odroid@odroid:~$ lsusb -t
> > > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 5000M
> > >
> > >
> > > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 480M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class,
> > > Driver=r8152, 480M
> > > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 5000M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> > > |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-
> > > storage, 5000M
> > > |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-
> > > storage, 5000M
> > > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p,
> > 480M
> > >
> > >
> > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> > > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p,
> > 12M
> > >
> > >
> > > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p,
> > 480M
> > >
> > >
> > >
> > > I fell that Ethernet driver r8152 is not getting registered to
> > > xhci-hcd to bus port 06
> > > which lead to other ports to miss configure, some time the
> > Ethernet
> > >
> > >
> > > port get register to bus port 04
> > >
> > > Their is also a possibility that all the port are not getting
> > proper
> > >
> > >
> > > power from the S2MPS11 PMIC
> > > and possible some reset of the phy is needed to reconfigure the
> > > exynos
> > > USB HSIC controller.
> > >
> > > Best Regards
> > > -Anand Moon
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-
> > > samsung-soc" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at http://vger.kernel.org/majordomo-
> > info.html
>
>
> today I've tested v4.8-rc7 (without the patches above). The USB 3.0
> ports have stopped working completely for me. Neither USB 2.0 nor USB
> 3.0 are being detected. The Ethernet port does not work, too. The
> USB-2.0-only Port works.
>
> There are some failures in the dmesg log:
> ...
> [ 15.096251] 12100000.phy supply vbus not found, using dummy
> regulator
> ...
> [ 19.642578] usb usb5-port1: connect-debounce failed
>
>
> dmesg:
looks like I forgot to append the dmesg in my last mail. Sorry about
that.
The problem is also present in v4.8. Let me know if you need more
information.
Michael
dmesg v4.8 without any additional patches:
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.8.0 (c0d3@z3r0) (gcc version 5.3.1
20160412 (Linaro GCC 5.3-2016.05) ) #3 SMP Mon Oct 3 14:11:40 CEST 2016
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4
[ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000,
size 8 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_right,
compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0xbd200000,
size 16 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_left,
compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Samsung CPU ID: 0xe5422001
[ 0.000000] On node 0 totalpages: 512512
[ 0.000000] free_area_init_node: node 0, pgdat c0c81840,
node_mem_map eee52000
[ 0.000000] Normal zone: 1728 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:31
[ 0.000000] HighMem zone: 315904 pages, LIFO batch:31
[ 0.000000] Running under secure firmware.
[ 0.000000] percpu: Embedded 15 pages/cpu @eeda1000 s30272 r8192
d22976 u61440
[ 0.000000] pcpu-alloc: s30272 r8192 d22976 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6
[0] 7
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping
on. Total pages: 510784
[ 0.000000] Kernel command line: console=ttySAC2,115200n8
root=/dev/mmcblk1p2 rootfstype=ext4 rootwait earlyprintk debug
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7,
524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
bytes)
[ 0.000000] Memory: 2018124K/2050048K available (7168K kernel code,
618K rwdata, 2064K rodata, 1024K init, 375K bss, 31924K reserved, 0K
cma-reserved, 1263616K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0800000 (8160 kB)
.init : 0xc0b00000 - 0xc0c00000 (1024 kB)
.data : 0xc0c00000 - 0xc0c9aafc ( 619 kB)
.bss : 0xc0c9c000 - 0xc0cf9d04 ( 376 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8,
Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32,
nr_cpu_ids=8
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps
every 89478484971ns
[ 0.001695] Console: colour dummy device 80x30
[ 0.001738] Calibrating delay loop (skipped), value calculated using
timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001758] pid_max: default: 32768 minimum: 301
[ 0.001911] Security Framework initialized
[ 0.001928] Yama: becoming mindful.
[ 0.001960] AppArmor: AppArmor disabled by boot time parameter
[ 0.002017] Mount-cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.002033] Mountpoint-cache hash table entries: 2048 (order: 1,
8192 bytes)
[ 0.003077] CPU: Testing write buffer coherency: ok
[ 0.003125] ftrace: allocating 25558 entries in 75 pages
[ 0.058307] CPU0: update cpu_capacity 448
[ 0.058329] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[ 0.058499] Setting up static identity map for 0x40100000 -
0x40100058
[ 0.059140] ARM CCI driver probed
[ 0.059353] Exynos MCPM support installed
[ 0.063820] CPU1: update cpu_capacity 448
[ 0.063828] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[ 0.064893] CPU2: update cpu_capacity 448
[ 0.064901] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[ 0.065969] CPU3: update cpu_capacity 448
[ 0.065977] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[ 0.066934] CPU4: update cpu_capacity 1535
[ 0.066942] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.067971] CPU5: update cpu_capacity 1535
[ 0.067978] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.068967] CPU6: update cpu_capacity 1535
[ 0.068974] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.069977] CPU7: update cpu_capacity 1535
[ 0.069984] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.070124] Brought up 8 CPUs
[ 0.070187] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.070198] CPU: WARNING: CPU(s) started in wrong/inconsistent modes
(primary CPU mode 0x1a)
[ 0.070207] CPU: This may indicate a broken bootloader or firmware.
[ 0.072308] devtmpfs: initialized
[ 0.097643] VFP support v0.3: implementor 41 architecture 2 part 30
variant 7 rev 3
[ 0.098142] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.098457] pinctrl core: initialized pinctrl subsystem
[ 0.101390] NET: Registered protocol family 16
[ 0.102209] DMA: preallocated 256 KiB pool for atomic coherent
allocations
[ 0.149996] cpuidle: using governor ladder
[ 0.189985] cpuidle: using governor menu
[ 0.198708] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
watchpoint registers.
[ 0.198724] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.199088] Serial: AMBA PL011 UART driver
[ 0.208742] iommu: Adding device 11000000.codec to group 0
[ 0.244099] iommu: Adding device 14450000.mixer to group 1
[ 0.244643] iommu: Adding device 11c00000.rotator to group 2
[ 0.254076] iommu: Adding device 13e00000.video-scaler to group 3
[ 0.254594] iommu: Adding device 13e10000.video-scaler to group 4
[ 0.255107] iommu: Adding device 11f50000.jpeg to group 5
[ 0.255613] iommu: Adding device 11f60000.jpeg to group 6
[ 0.256003] EXYNOS5420 PMU initialized
[ 0.312565] SCSI subsystem initialized
[ 0.312938] usbcore: registered new interface driver usbfs
[ 0.313031] usbcore: registered new interface driver hub
[ 0.313226] usbcore: registered new device driver usb
[ 0.314692] s3c-i2c 12c80000.i2c: slave address 0x00
[ 0.314712] s3c-i2c 12c80000.i2c: bus frequency set to 65 KHz
[ 0.315240] s3c-i2c 12c80000.i2c: i2c-2: S3C I2C adapter
[ 0.315709] media: Linux media interface: v0.10
[ 0.315777] Linux video capture interface: v2.00
[ 0.315874] pps_core: LinuxPPS API ver. 1 registered
[ 0.315885] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@linux.it>
[ 0.315914] PTP clock support registered
[ 0.317980] clocksource: Switched to clocksource mct-frc
[ 0.385905] VFS: Disk quotas dquot_6.6.0
[ 0.385987] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.405341] NET: Registered protocol family 2
[ 0.406054] TCP established hash table entries: 8192 (order: 3,
32768 bytes)
[ 0.406137] TCP bind hash table entries: 8192 (order: 4, 65536
bytes)
[ 0.406295] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.406360] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.406402] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.406639] NET: Registered protocol family 1
[ 0.410133] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.410271] audit: initializing netlink subsys (disabled)
[ 0.410335] audit: type=2000 audit(0.380:1): initialized
[ 0.411455] workingset: timestamp_bits=14 max_order=19
bucket_order=5
[ 0.422219] zbud: loaded
[ 0.428206] Key type asymmetric registered
[ 0.428281] bounce: pool size: 64 pages
[ 0.428544] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 247)
[ 0.428787] io scheduler noop registered
[ 0.428801] io scheduler deadline registered (default)
[ 0.429058] io scheduler cfq registered
[ 0.439042] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-
241330
[ 0.439060] dma-pl330 121a0000.pdma: DBUFF-32x4bytes
Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.443549] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-
241330
[ 0.443568] dma-pl330 121b0000.pdma: DBUFF-32x4bytes
Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.444825] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-
241330
[ 0.444842] dma-pl330 10800000.mdma: DBUFF-64x8bytes
Num_Chans-8 Num_Peri-1 Num_Events-32
[ 0.446009] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.448993] Serial: AMBA driver
[ 0.449384] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76,
base_baud = 0) is a S3C6400/10
[ 0.449890] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77,
base_baud = 0) is a S3C6400/10
[ 0.450386] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78,
base_baud = 0) is a S3C6400/10
[ 1.007347] random: fast init done
[ 1.291220] console [ttySAC2] enabled
[ 1.295362] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79,
base_baud = 0) is a S3C6400/10
[ 1.304951] [drm] Initialized drm 1.1.0 20060810
[ 1.311440] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd':
-517
[ 1.318159] exynos-rot 11c00000.rotator: The exynos rotator is
probed successfully
[ 1.324687] exynos-drm-gsc 13e00000.video-scaler: failed to get
system register.
[ 1.331876] exynos-drm-gsc 13e00000.video-scaler: drm gsc registered
successfully.
[ 1.339273] exynos-drm-gsc 13e10000.video-scaler: failed to get
system register.
[ 1.346771] exynos-drm-gsc 13e10000.video-scaler: drm gsc registered
successfully.
[ 1.354919] exynos-drm-ipp exynos-drm-ipp: drm ipp registered
successfully.
[ 1.367209] libphy: Fixed MDIO Bus: probed
[ 1.370337] usbcore: registered new interface driver usb-storage
[ 1.376279] mousedev: PS/2 mouse device common for all mice
[ 1.400256] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV
[ 1.413855] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV
[ 1.423183] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV
[ 1.436801] vdd_sd: Bringing 3300000uV into 2800000-2800000uV
[ 1.499343] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as
rtc0
[ 1.512014] exynos-tmu 10060000.tmu: More trip points than supported
by this TMU.
[ 1.518056] exynos-tmu 10060000.tmu: 2 trip points should be
configured in polling mode.
[ 1.543169] sdhci: Secure Digital Host Controller Interface driver
[ 1.547861] sdhci: Copyright(c) Pierre Ossman
[ 1.552447] Synopsys Designware Multimedia Card Interface Driver
[ 1.558827] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address
mode.
[ 1.565036] dwmmc_exynos 12200000.mmc: Using internal DMA
controller.
[ 1.571462] dwmmc_exynos 12200000.mmc: Version ID is 250a
[ 1.576835] dwmmc_exynos 12200000.mmc: DW MMC controller at irq
91,64 bit host data width,64 deep fifo
[ 1.586254] dwmmc_exynos 12200000.mmc: Got CD GPIO
[ 1.590920] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq
[ 1.628648] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req
400000Hz, actual 396825HZ div = 63)
[ 1.658185] dwmmc_exynos 12200000.mmc: 1 slots initialized
[ 1.662422] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address
mode.
[ 1.669071] dwmmc_exynos 12220000.mmc: Using internal DMA
controller.
[ 1.675448] dwmmc_exynos 12220000.mmc: Version ID is 250a
[ 1.680869] dwmmc_exynos 12220000.mmc: DW MMC controller at irq
92,64 bit host data width,64 deep fifo
[ 1.718450] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req
400000Hz, actual 396825HZ div = 63)
[ 1.748015] dwmmc_exynos 12220000.mmc: 1 slots initialized
[ 1.752198] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.758808] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.763667] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.769408] usbcore: registered new interface driver usbhid
[ 1.774539] usbhid: USB HID core driver
[ 1.779758] exynos-audss-clk 3810000.audss-clock-controller: setup
completed
[ 1.797575] exynos-nocp: new NoC Probe device registered:
10ca1000.nocp
[ 1.802874] exynos-nocp: new NoC Probe device registered:
10ca1400.nocp
[ 1.807126] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req
50000000Hz, actual 50000000HZ div = 0)
[ 1.807273] mmc1: new high speed SDHC card at address 59b4
[ 1.807917] mmcblk1: mmc1:59b4 USDU1 14.7 GiB
[ 1.808982] mmcblk1: p1 p2
[ 1.831801] exynos-nocp: new NoC Probe device registered:
10ca1800.nocp
[ 1.838398] exynos-nocp: new NoC Probe device registered:
10ca1c00.nocp
[ 1.846409] NET: Registered protocol family 10
[ 1.850110] mip6: Mobile IPv6
[ 1.852315] NET: Registered protocol family 17
[ 1.856737] mpls_gso: MPLS GSO support
[ 1.860858] ThumbEE CPU extension supported.
[ 1.864710] Registering SWP/SWPB emulation handler
[ 1.870156] registered taskstats version 1
[ 1.873593] zswap: loaded using pool lzo/zbud
[ 1.882872] [drm] Exynos DRM: using 14450000.mixer device for DMA
mapping operations
[ 1.889454] exynos-drm exynos-drm: bound 14450000.mixer (ops
0xc086e904)
[ 1.896004] exynos-drm exynos-drm: bound 14530000.hdmi (ops
0xc086ead4)
[ 1.902413] [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[ 1.908997] [drm] No driver support for vblank timestamp query.
[ 1.914979] [drm] Initialized exynos 1.0.0 20110530 on minor 0
[ 1.921516] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
[ 1.926279] s3c-rtc 101e0000.rtc: warning: invalid RTC value so
initializing it
[ 1.933578] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0
[ 1.939095] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1
[ 1.946585] exynos-bus: new bus device registered: soc:bus_wcore (
84000 KHz ~ 400000 KHz)
[ 1.954159] exynos-bus: new bus device registered: soc:bus_noc (
67000 KHz ~ 100000 KHz)
[ 1.962043] exynos-bus: new bus device registered: soc:bus_fsys_apb
(100000 KHz ~ 200000 KHz)
[ 1.970370] exynos-bus: new bus device registered: soc:bus_fsys
(100000 KHz ~ 200000 KHz)
[ 1.978708] exynos-bus: new bus device registered: soc:bus_fsys2 (
75000 KHz ~ 150000 KHz)
[ 1.987052] exynos-bus: new bus device registered: soc:bus_mfc (
96000 KHz ~ 333000 KHz)
[ 1.995093] exynos-bus: new bus device registered: soc:bus_gen (
89000 KHz ~ 267000 KHz)
[ 2.003458] exynos-bus: new bus device registered: soc:bus_peri (
67000 KHz ~ 67000 KHz)
[ 2.011853] devfreq soc:bus_wcore: Couldn't update frequency
transition information.
[ 2.012120] exynos-bus: new bus device registered: soc:bus_g2d (
84000 KHz ~ 333000 KHz)
[ 2.012845] exynos-bus: new bus device registered: soc:bus_g2d_acp (
67000 KHz ~ 267000 KHz)
[ 2.013561] exynos-bus: new bus device registered: soc:bus_jpeg (
75000 KHz ~ 300000 KHz)
[ 2.014273] exynos-bus: new bus device registered: soc:bus_jpeg_apb
( 84000 KHz ~ 167000 KHz)
[ 2.014866] exynos-bus: new bus device registered:
soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz)
[ 2.015523] exynos-bus: new bus device registered: soc:bus_disp1
(120000 KHz ~ 300000 KHz)
[ 2.016166] exynos-bus: new bus device registered:
soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz)
[ 2.016941] exynos-bus: new bus device registered: soc:bus_mscl (
84000 KHz ~ 400000 KHz)
[ 2.019383] Power domain power-domain@10044120 disable failed
[ 2.026352] s5m-rtc s2mps14-rtc: setting system clock to 2000-01-01
00:00:04 UTC (946684804)
[ 2.044135] PM: Hibernation image not present or could not be
loaded.
[ 2.113332] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
data mode. Opts: (null)
[ 2.120019] VFS: Mounted root (ext4 filesystem) readonly on device
179:2.
[ 2.127364] Freeing unused kernel memory: 1024K (c0b00000 -
c0c00000)
[ 2.359928] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of
type cgroup with options cpuset.
[ 2.419442] systemd[1]: Mounting cgroup to
/sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
[ 2.428599] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of
type cgroup with options blkio.
[ 2.438504] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of
type cgroup with options memory.
[ 2.452714] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of
type cgroup with options devices.
[ 2.461081] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of
type cgroup with options freezer.
[ 2.470341] systemd[1]: Mounting cgroup to
/sys/fs/cgroup/net_cls,net_prio of type cgroup with options
net_cls,net_prio.
[ 2.481222] systemd[1]: Mounting cgroup to /sys/fs/cgroup/perf_event
of type cgroup with options perf_event.
[ 2.491343] systemd[1]: systemd 215 running in system mode. (+PAM
+AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP
-APPARMOR)
[ 2.503894] systemd[1]: Detected architecture 'arm'.
[ 2.733937] systemd-getty-generator[111]: Automatically adding
serial getty for /dev/ttySAC2.
[ 2.738699] systemd-fstab-generator[112]: Parsing /etc/fstab
[ 2.744149] systemd-rc-local-generator[120]: Automatically adding
rc-local.service.
[ 2.745372] systemd-default-display-manager-generator[114]: No
/etc/X11/default-display-manager file, nothing to generate
[ 2.746322] systemd-fstab-generator[112]: Found entry
what=/dev/mmcblk1p2 where=/ type=ext4
[ 2.813116] systemd-gpt-auto-generator[117]: Root device
/dev/mmcblk1.
[ 2.813603] systemd-sysv-generator[116]: Looking for unit files in
(higher priority first):
[ 2.813612] systemd-sysv-generator[116]: /etc/systemd/system
[ 2.813620] systemd-sysv-generator[116]: /run/systemd/system
[ 2.813628] systemd-sysv-
generator[116]: /usr/local/lib/systemd/system
[ 2.813635] systemd-sysv-generator[116]: /lib/systemd/system
[ 2.813642] systemd-sysv-generator[116]: /usr/lib/systemd/system
[ 2.813681] systemd-sysv-generator[116]: Looking for SysV init
scripts in:
[ 2.813689] systemd-sysv-generator[116]: /etc/init.d
[ 2.813699] systemd-sysv-generator[116]: Looking for SysV rcN.d
links in:
[ 2.813706] systemd-sysv-generator[116]: /etc
[ 2.815816] systemd-fstab-generator[112]: Found entry
what=/dev/mmcblk1p1 where=/boot type=vfat
[ 2.819599] systemd-fstab-generator[112]: Checking was requested for
/dev/mmcblk1p1, but fsck.vfat does not exist: No such file or directory
[ 2.874868] systemd-sysv-ge: 77 output lines suppressed due to
ratelimiting
[ 2.959658] systemd-gpt-auto-generator[117]: Not a GPT partition
table, ignoring.
[ 3.832303] systemd-journald[135]: Fixed max_use=98.5M
max_size=12.3M min_size=4.0M keep_free=147.8M
[ 3.845615] systemd-journald[135]: Reserving 22435 entries in hash
table.
[ 3.852075] systemd-journald[135]: Vacuuming...
[ 3.855454] systemd-journald[135]: Vacuuming done, freed 0 bytes
[ 3.861956] systemd-journald[135]: Flushing /dev/kmsg...
[ 3.871445] systemd-journald[135]: Compressed data object 537 -> 288
[ 3.899706] systemd-journald[135]: systemd-journald running as pid
135
[ 4.454812] systemd-udevd[147]: starting version 215
[ 4.611192] s5p-secss 10830000.sss: s5p-sss driver registered
[ 4.626630] 12100000.phy supply vbus not found, using dummy
regulator
[ 4.631925] 12100000.phy supply vbus-boost not found, using dummy
regulator
[ 4.633739] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 4.638239] ehci-exynos: EHCI EXYNOS driver
[ 4.642228] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.646782] ohci-exynos: OHCI EXYNOS driver
[ 4.660779] 12130000.phy supply vbus not found, using dummy
regulator
[ 4.669297] exynos-ohci 12120000.usb: USB Host Controller
[ 4.669734] exynos-ehci 12110000.usb: EHCI Host Controller
[ 4.670063] exynos-ehci 12110000.usb: new USB bus registered,
assigned bus number 1
[ 4.670250] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000
[ 4.693595] exynos-ohci 12120000.usb: new USB bus registered,
assigned bus number 2
[ 4.698079] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 4.698464] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 4.698472] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.698481] usb usb1: Product: EHCI Host Controller
[ 4.698489] usb usb1: Manufacturer: Linux 4.8.0 ehci_hcd
[ 4.698496] usb usb1: SerialNumber: 12110000.usb
[ 4.699299] hub 1-0:1.0: USB hub found
[ 4.699350] hub 1-0:1.0: 3 ports detected
[ 4.742843] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000
[ 4.822232] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0001
[ 4.827543] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.834815] usb usb2: Product: USB Host Controller
[ 4.839569] usb usb2: Manufacturer: Linux 4.8.0 ohci_hcd
[ 4.839580] usb usb2: SerialNumber: 12120000.usb
[ 4.840406] hub 2-0:1.0: USB hub found
[ 4.840468] hub 2-0:1.0: 3 ports detected
[ 4.841589] 12500000.phy supply vbus not found, using dummy
regulator
[ 4.841673] 12500000.phy supply vbus-boost not found, using dummy
regulator
[ 4.842135] exynos-dwc3 soc:usb3-0: no suspend clk specified
[ 4.843822] usb_phy_generic.0.auto supply vcc not found, using dummy
regulator
[ 4.844425] usb_phy_generic.1.auto supply vcc not found, using dummy
regulator
[ 4.845346] exynos-dwc3 soc:usb3-1: no suspend clk specified
[ 4.848262] usb_phy_generic.2.auto supply vcc not found, using dummy
regulator
[ 4.848573] usb_phy_generic.3.auto supply vcc not found, using dummy
regulator
[ 4.873852] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 4.874040] xhci-hcd xhci-hcd.4.auto: new USB bus registered,
assigned bus number 3
[ 4.874254] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci
version 0x100 quirks 0x00010010
[ 4.874296] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000
[ 4.874566] usb usb3: New USB device found, idVendor=1d6b,
idProduct=0002
[ 4.874571] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.874575] usb usb3: Product: xHCI Host Controller
[ 4.874579] usb usb3: Manufacturer: Linux 4.8.0 xhci-hcd
[ 4.874583] usb usb3: SerialNumber: xhci-hcd.4.auto
[ 4.875065] hub 3-0:1.0: USB hub found
[ 4.875105] hub 3-0:1.0: 1 port detected
[ 4.875475] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 4.875623] xhci-hcd xhci-hcd.4.auto: new USB bus registered,
assigned bus number 4
[ 4.875743] usb usb4: We don't know the algorithms for LPM for this
host, disabling LPM.
[ 4.875926] usb usb4: New USB device found, idVendor=1d6b,
idProduct=0003
[ 4.875930] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.875934] usb usb4: Product: xHCI Host Controller
[ 4.875938] usb usb4: Manufacturer: Linux 4.8.0 xhci-hcd
[ 4.875942] usb usb4: SerialNumber: xhci-hcd.4.auto
[ 4.876431] hub 4-0:1.0: USB hub found
[ 4.876471] hub 4-0:1.0: 1 port detected
[ 4.876897] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 4.877063] xhci-hcd xhci-hcd.5.auto: new USB bus registered,
assigned bus number 5
[ 4.877266] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci
version 0x100 quirks 0x00010010
[ 4.877299] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000
[ 4.877525] usb usb5: New USB device found, idVendor=1d6b,
idProduct=0002
[ 4.877530] usb usb5: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.877534] usb usb5: Product: xHCI Host Controller
[ 4.877538] usb usb5: Manufacturer: Linux 4.8.0 xhci-hcd
[ 4.877541] usb usb5: SerialNumber: xhci-hcd.5.auto
[ 4.878099] hub 5-0:1.0: USB hub found
[ 4.878138] hub 5-0:1.0: 1 port detected
[ 4.878494] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 4.878654] xhci-hcd xhci-hcd.5.auto: new USB bus registered,
assigned bus number 6
[ 4.878769] usb usb6: We don't know the algorithms for LPM for this
host, disabling LPM.
[ 4.878947] usb usb6: New USB device found, idVendor=1d6b,
idProduct=0003
[ 4.878952] usb usb6: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 4.878955] usb usb6: Product: xHCI Host Controller
[ 4.878959] usb usb6: Manufacturer: Linux 4.8.0 xhci-hcd
[ 4.878963] usb usb6: SerialNumber: xhci-hcd.5.auto
[ 4.879480] hub 6-0:1.0: USB hub found
[ 4.879520] hub 6-0:1.0: 1 port detected
[ 5.304287] dma-pl330 3880000.adma: Loaded driver for PL330 DMAC-
241330
[ 5.309497] dma-pl330 3880000.adma: DBUFF-4x8bytes Num_Chans-6
Num_Peri-16 Num_Events-6
[ 5.459652] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 5.673544] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset
for FAT filesystems, filesystem will be case sensitive!
[ 5.701124] FAT-fs (mmcblk1p1): Volume was not properly unmounted.
Some data may be corrupt. Please run fsck.
[ 6.087658] systemd-journald[135]: Received request to flush runtime
journal from PID 1
[ 6.095519] systemd-journald[135]: Vacuuming...
[ 6.100071] systemd-journald[135]: Vacuuming done, freed 0 bytes
[ 7.335312] RPC: Registered named UNIX socket transport module.
[ 7.339802] RPC: Registered udp transport module.
[ 7.344429] RPC: Registered tcp transport module.
[ 7.349165] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 7.370961] FS-Cache: Loaded
[ 7.406152] FS-Cache: Netfs 'nfs' registered for caching
[ 7.453960] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 8.160157] random: crng init done
[ 9.170682] usb usb5-port1: connect-debounce failed
[ 9.170698] usb usb3-port1: connect-debounce failed
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-08-30 5:02 ` Anand Moon
2016-09-20 21:19 ` Michael Niewöhner
2016-10-03 13:08 ` Michael Niewöhner
@ 2016-10-04 6:02 ` Vivek Gautam
2016-10-04 10:58 ` Michael Niewöhner
2 siblings, 1 reply; 20+ messages in thread
From: Vivek Gautam @ 2016-10-04 6:02 UTC (permalink / raw)
To: Michael Niewöhner, Anand Moon
Cc: Mathias Nyman, Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Michael,
On Tue, Aug 30, 2016 at 10:32 AM, Anand Moon <linux.amoon@gmail.com> wrote:
> Hi All
>
> Adding Vivek Gautam.
Sorry for missing out this conversation. I am no longer part of Samsung.
>
> On 29 August 2016 at 16:35, Michael Niewöhner <linux@mniewoehner.de> wrote:
>> Hi Mathias,
>> On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote:
>>> On 29.08.2016 10:28, Felipe Balbi wrote:
>>> >
>>> >
>>> > Hi,
>>> >
>>> > Michael Niewöhner <linux@mniewoehner.de> writes:
>>> > >
>>> > > [1.] One line summary of the problem:
>>> > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
>>> > >
>>> > > [2.] Full description of the problem/report:
>>> > > No usb 3.0 devices are being detected when attached while USB 2.0
>>> > > devices work on the same port.
>>> > > USB 3.0 works after applying patches [9.1] and [9.2], but seems
>>> > > to be
>>> > > buggy. The usb hub is redetected every time an usb device is
>>> > > attached.
[snip]
>>> >
>>> > >
>>> > > [9.] Other notes, patches, fixes, workarounds:
>>> > > [9.1] https://lkml.org/lkml/2014/4/28/234
>>> > > [9.2] https://lkml.org/lkml/2015/2/2/259
These patches are required to get USB super-speed working on Exynos5420/5800.
But they did not make to upstream. There was resistance on adding new
phy_calibrate()
callback.
Without these patches the Exynos5420/5800 will enumerate all
super-speed capable devices
as high-speed devices.
Last time we checked with exynos542x smdk boards and peach-* boards,
we could get the
Super - speed devices working. I have not tested odroid anytime so
don't have much idea about the
its intricacies.
I guess Anand was able to use these patches to get his kernel working in past.
When you have a downstream on-board usb hub, ideally it should be able
to detect the devices
and not reset everytime you connect a new device (like you mentioned earlier).
There can be two possible reasons why the hub keeps getting reset ever
after applying the above
mentioned patches:
1) the clock rates are not proper.
2) the regulator load setting is not enough to drive the hub.
Anand, can you please point Michael to an older kernel with which you
could test usb on odroid successfully ?
You can compare the clocks with an older version and see if there'a
any difference.
Any possibility of any other framework (such as, bus-freq) trimming
down the clock - rates ?
[snip]
>
> There are two dwc3 ports in the SoC : one for Gbit Ethernet another
> one for on-board GL3521 USB 3.0 hub controller.
>
> 3.10.x kernel
> odroid@odroid:~$ lsusb -t
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
>
> 4.x kernel
> odroid@odroid:~$ lsusb -t
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
[snip]
Michael, please paste the output of lsusb -t and/or lsusb -v as well.
Best regards
Vivek
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-04 6:02 ` Vivek Gautam
@ 2016-10-04 10:58 ` Michael Niewöhner
2016-10-04 12:02 ` Vivek Gautam
0 siblings, 1 reply; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-04 10:58 UTC (permalink / raw)
To: Vivek Gautam, Anand Moon
Cc: Mathias Nyman, Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Vivek,
On Di, 2016-10-04 at 11:32 +0530, Vivek Gautam wrote:
> Hi Michael,
>
>
> On Tue, Aug 30, 2016 at 10:32 AM, Anand Moon <linux.amoon@gmail.com> wrote:
> >
> > Hi All
> >
> > Adding Vivek Gautam.
>
> Sorry for missing out this conversation. I am no longer part of Samsung.
>
> >
> >
> > On 29 August 2016 at 16:35, Michael Niewöhner <linux@mniewoehner.de> wrote:
> > >
> > > Hi Mathias,
> > > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote:
> > > >
> > > > On 29.08.2016 10:28, Felipe Balbi wrote:
> > > > >
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > Michael Niewöhner <linux@mniewoehner.de> writes:
> > > > > >
> > > > > >
> > > > > > [1.] One line summary of the problem:
> > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
> > > > > >
> > > > > > [2.] Full description of the problem/report:
> > > > > > No usb 3.0 devices are being detected when attached while USB 2.0
> > > > > > devices work on the same port.
> > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems
> > > > > > to be
> > > > > > buggy. The usb hub is redetected every time an usb device is
> > > > > > attached.
>
> [snip]
>
> >
> > >
> > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > > [9.] Other notes, patches, fixes, workarounds:
> > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
> > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
>
> These patches are required to get USB super-speed working on Exynos5420/5800.
> But they did not make to upstream. There was resistance on adding new
> phy_calibrate()
> callback.
>
> Without these patches the Exynos5420/5800 will enumerate all
> super-speed capable devices
> as high-speed devices.
> Last time we checked with exynos542x smdk boards and peach-* boards,
> we could get the
> Super - speed devices working. I have not tested odroid anytime so
> don't have much idea about the
> its intricacies.
> I guess Anand was able to use these patches to get his kernel working in past.
The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very
unstable - with 4.7.
One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3
module is loaded. If I unload it before reboot / shutdown everything is fine.
>
> When you have a downstream on-board usb hub, ideally it should be able
> to detect the devices
> and not reset everytime you connect a new device (like you mentioned earlier).
> There can be two possible reasons why the hub keeps getting reset ever
> after applying the above
> mentioned patches:
> 1) the clock rates are not proper.
> 2) the regulator load setting is not enough to drive the hub.
>
> Anand, can you please point Michael to an older kernel with which you
> could test usb on odroid successfully ?
> You can compare the clocks with an older version and see if there'a
> any difference.
>
> Any possibility of any other framework (such as, bus-freq) trimming
> down the clock - rates ?
################################
# v4.7.5
################################
$ cat /sys/kernel/debug/clk/clk_summary | grep usb
sclk_usbh20_scan_clk 0 0 480000000 0
sclk_usbh20 0 0 48000
000 0
mout_usbd300 1 1 24000000 0
dout_usbd300 0 0 24000000 0
sclk_usbd300
0 0 24000000 0
dout_usbphy300 1 1 24000000 0
sclk_usbphy300 4 4 24000
000 0
mout_usbd301 1 1 24000000 0
dout_usbd301 0 0 24000000 0
sclk_usbd301
0 0 24000000 0
dout_usbphy301 1 1 24000000 0
sclk_usbphy301 3 3 24000
000 0
usbd301 1 1 100000000
usbd300 1 1 100000000
usbh20 3 3 100000000 0
$ cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 3
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=12110000.usb:
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ ohci_hcd
S: Product=USB Host Controller
S: SerialNumber=12120000.usb:
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.4.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 2
D: Ver= 2.10 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0610 Rev=92.22
S: Manufacturer=GenesysLogic
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.4.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 2
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=05e3 ProdID=0616 Rev=92.22
S: Manufacturer=GenesysLogic
S: Product=USB3.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=83(I) Atr=13(Int.) MxPS= 2 Ivl=16ms
T: Bus=04 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=1e68 ProdID=008a Rev= 1.00
S: Manufacturer=TrekStor
S: Product=DS picco SSD
S: SerialNumber=20151111311B
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I: If#= 0 Alt= 1 #EPs= 4 Cls=08(stor.) Sub=06 Prot=62 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.5.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 4.07
S: Manufacturer=Linux 4.7.5+ xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.5.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=06 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 2
P: Vendor=0bda ProdID=8153 Rev=30.00
S: Manufacturer=Realtek
S: Product=USB 10/100/1000 LAN
S: SerialNumber=000001000000
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=256mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=r8152
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=16ms
C: #Ifs= 2 Cfg#= 2 Atr=a0 MxPwr=256mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
################################
# v4.8.0
################################
$ cat /sys/kernel/debug/clk/clk_summary | grep usb
sclk_usbh20_scan_clk 0 0 480000000 0
sclk_usbh20 0 0 48000000
0
mout_usbd300 1 1 24000000 0
dout_usbd300 0 0 24000000 0
sclk_usbd300
0 0 24000000 0
dout_usbphy300 1 1 24000000 0
sclk_usbphy300 4 4 24000000
0
mout_usbd301 1 1 24000000 0
dout_usbd301 0 0 24000000 0
sclk_usbd301
0 0 24000000 0
dout_usbphy301 1 1 24000000 0
sclk_usbphy301 3 3 24000000
0
usbd301 1 1 100000000
usbd300 1 1 100000000
usbh2
0 3 3 100000000 0
$ cat /sys/kernel/debug/usb/devices
<<system hangs>>
>
>
> [snip]
>
> >
> >
> > There are two dwc3 ports in the SoC : one for Gbit Ethernet another
> > one for on-board GL3521 USB 3.0 hub controller.
> >
> > 3.10.x kernel
> > odroid@odroid:~$ lsusb -t
> > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> > |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
> > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
> >
> > 4.x kernel
> > odroid@odroid:~$ lsusb -t
> > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> > |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
> > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> > |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> > |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>
> [snip]
>
> Michael, please paste the output of lsusb -t and/or lsusb -v as well.
################################
# v4.7.5 lsusb -t
################################
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
################################
# v4.8.0 lsusb -t
################################
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
################################
# v4.7.5 lsusb -v
################################
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8153
bcdDevice 30.00
iManufacturer 1 Realtek
iProduct 2 USB 10/100/1000 LAN
iSerial 6 000001000000
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 57
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 64mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
bMaxBurst 0
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 98
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 64mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 5 CDC Communications Control
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 3 001E06321EFF
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
bMaxBurst 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 4 Ethernet Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 3
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 2
Lowest fully-functional device speed is High Speed (480Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0010
(Bus Powered)
Latency Tolerance Messaging (LTM) Enabled
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.5.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.0203 5Gbps power U0 enable connect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0001
Self Powered
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.5.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 004 Device 003: ID 1e68:008a TrekStor GmbH & Co. KG
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x1e68 TrekStor GmbH & Co. KG
idProduct 0x008a
bcdDevice 1.00
iManufacturer 2 TrekStor
iProduct 3 DS picco SSD
iSerial 1 20151111311B
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 121
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Command pipe (0x01)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x0000f41e
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0001
Self Powered
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0616
bcdDevice 92.22
iManufacturer 1 GenesysLogic
iProduct 2 USB3.0 Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 1 GenesysLogic
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 19
Transfer Type Interrupt
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 2
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 576 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 1248 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.0203 5Gbps power U0 enable connect
Port 2: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 42
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 8 micro seconds
bU2DevExitLat 190 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {f0564b9f-f61d-e011-ac64-0800200c9a66}
Device Status: 0x0001
Self Powered
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.4.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.0203 5Gbps power U0 enable connect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0001
Self Powered
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0610 4-port hub
bcdDevice 92.22
iManufacturer 1 GenesysLogic
iProduct 2 USB2.0 Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x00e9
Per-port power switching
Per-port overcurrent protection
TT think time 32 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 42
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 8 micro seconds
bU2DevExitLat 190 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {f0564b9f-f61d-e011-ac64-0800200c9a66}
Device Status: 0x0001
Self Powered
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.4.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0507 highspeed power suspend enable connect
Device Status: 0x0001
Self Powered
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ ohci_hcd
iProduct 2 USB Host Controller
iSerial 1 12120000.usb:
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 2 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.07
iManufacturer 3 Linux 4.7.5+ ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 12110000.usb:
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered
################################
# v4.8.0 lsusb -v
################################
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.08
iManufacturer 3 Linux 4.8.0+ xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.5.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0001
Self Powered
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
<< lsusb hangs here, system is completely blocked >>
>
>
> Best regards
> Vivek
>
Best regards
Michael
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-04 10:58 ` Michael Niewöhner
@ 2016-10-04 12:02 ` Vivek Gautam
2016-10-04 15:09 ` Anand Moon
2016-10-06 16:29 ` Michael Niewöhner
0 siblings, 2 replies; 20+ messages in thread
From: Vivek Gautam @ 2016-10-04 12:02 UTC (permalink / raw)
To: Michael Niewöhner, Alim Akhtar, Pankaj Dubey
Cc: Anand Moon, Mathias Nyman, Felipe Balbi, Greg Kroah-Hartman,
Kukjin Kim, Krzysztof Kozlowski, Linux USB Mailing List,
linux-arm-kernel, linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Michael,
On Tue, Oct 4, 2016 at 4:28 PM, Michael Niewöhner <linux@mniewoehner.de> wrote:
> > > > > > [1.] One line summary of the problem:
> > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
> > > > > >
> > > > > > [2.] Full description of the problem/report:
> > > > > > No usb 3.0 devices are being detected when attached while USB 2.0
> > > > > > devices work on the same port.
> > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems
> > > > > > to be
> > > > > > buggy. The usb hub is redetected every time an usb device is
> > > > > > attached.
[snip]
>> > > > > > [9.] Other notes, patches, fixes, workarounds:
>> > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
>> > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
>>
>> These patches are required to get USB super-speed working on Exynos5420/5800.
>> But they did not make to upstream. There was resistance on adding new
>> phy_calibrate()
>> callback.
>>
>> Without these patches the Exynos5420/5800 will enumerate all
>> super-speed capable devices
>> as high-speed devices.
>> Last time we checked with exynos542x smdk boards and peach-* boards,
>> we could get the
>> Super - speed devices working. I have not tested odroid anytime so
>> don't have much idea about the
>> its intricacies.
>> I guess Anand was able to use these patches to get his kernel working in past.
>
>
> The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very
> unstable - with 4.7.
>
> One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3
> module is loaded. If I unload it before reboot / shutdown everything is fine.
>
>
>>
>> When you have a downstream on-board usb hub, ideally it should be able
>> to detect the devices
>> and not reset everytime you connect a new device (like you mentioned earlier).
>> There can be two possible reasons why the hub keeps getting reset ever
>> after applying the above
>> mentioned patches:
>> 1) the clock rates are not proper.
>> 2) the regulator load setting is not enough to drive the hub.
>>
>> Anand, can you please point Michael to an older kernel with which you
>> could test usb on odroid successfully ?
>> You can compare the clocks with an older version and see if there'a
>> any difference.
>>
>> Any possibility of any other framework (such as, bus-freq) trimming
>> down the clock - rates ?
>
>
> ################################
> # v4.7.5
> ################################
>
> $ cat /sys/kernel/debug/clk/clk_summary | grep usb
> sclk_usbh20_scan_clk 0 0 480000000 0
> sclk_usbh20 0 0 48000
> 000 0
> mout_usbd300 1 1 24000000 0
> dout_usbd300 0 0 24000000 0
> sclk_usbd300
> 0 0 24000000 0
> dout_usbphy300 1 1 24000000 0
> sclk_usbphy300 4 4 24000
> 000 0
> mout_usbd301 1 1 24000000 0
> dout_usbd301 0 0 24000000 0
> sclk_usbd301
> 0 0 24000000 0
> dout_usbphy301 1 1 24000000 0
> sclk_usbphy301 3 3 24000
> 000 0
> usbd301 1 1 100000000
> usbd300 1 1 100000000
>
> usbh20 3 3 100000000 0
>
> ################################
> # v4.8.0
> ################################
>
> $ cat /sys/kernel/debug/clk/clk_summary | grep usb
> sclk_usbh20_scan_clk 0 0 480000000 0
> sclk_usbh20 0 0 48000000
> 0
> mout_usbd300 1 1 24000000 0
> dout_usbd300 0 0 24000000 0
> sclk_usbd300
> 0 0 24000000 0
> dout_usbphy300 1 1 24000000 0
> sclk_usbphy300 4 4 24000000
> 0
> mout_usbd301 1 1 24000000 0
> dout_usbd301 0 0 24000000 0
> sclk_usbd301
> 0 0 24000000 0
> dout_usbphy301 1 1 24000000 0
> sclk_usbphy301 3 3 24000000
> 0
> usbd301 1 1 100000000
This clock should have been 200MHz.
> usbd300 1 1 100000000
> usbh2
> 0 3 3 100000000 0
>
> $ cat /sys/kernel/debug/usb/devices
> <<system hangs>>
>
The clocks are same across working/non-working.
Is it possible to bisect the commit that's causing hang for 4.8x ?
Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards.
+Alim, Pankaj
Hi Alim, Pankaj,
can you please give a try with 4.8 kernel on peach/smdk542x board and
see if dwc3 usb works or not.
You may need to the patches mentioned in [9.1] and [9.2] mentioned above.
[snip]
Thanks
Vivek
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-04 12:02 ` Vivek Gautam
@ 2016-10-04 15:09 ` Anand Moon
2016-10-05 4:45 ` Vivek Gautam
2016-10-06 16:29 ` Michael Niewöhner
1 sibling, 1 reply; 20+ messages in thread
From: Anand Moon @ 2016-10-04 15:09 UTC (permalink / raw)
To: Vivek Gautam
Cc: Michael Niewöhner, Alim Akhtar, Pankaj Dubey, Mathias Nyman,
Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Vivek,
On 4 October 2016 at 17:32, Vivek Gautam <vivek.gautam@codeaurora.org> wrote:
> Hi Michael,
>
>
> On Tue, Oct 4, 2016 at 4:28 PM, Michael Niewöhner <linux@mniewoehner.de> wrote:
>
>> > > > > > [1.] One line summary of the problem:
>> > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
>> > > > > >
>> > > > > > [2.] Full description of the problem/report:
>> > > > > > No usb 3.0 devices are being detected when attached while USB 2.0
>> > > > > > devices work on the same port.
>> > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems
>> > > > > > to be
>> > > > > > buggy. The usb hub is redetected every time an usb device is
>> > > > > > attached.
>
> [snip]
>
>>> > > > > > [9.] Other notes, patches, fixes, workarounds:
>>> > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
>>> > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
>>>
>>> These patches are required to get USB super-speed working on Exynos5420/5800.
>>> But they did not make to upstream. There was resistance on adding new
>>> phy_calibrate()
>>> callback.
>>>
>>> Without these patches the Exynos5420/5800 will enumerate all
>>> super-speed capable devices
>>> as high-speed devices.
>>> Last time we checked with exynos542x smdk boards and peach-* boards,
>>> we could get the
>>> Super - speed devices working. I have not tested odroid anytime so
>>> don't have much idea about the
>>> its intricacies.
>>> I guess Anand was able to use these patches to get his kernel working in past.
>>
>>
>> The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very
>> unstable - with 4.7.
>>
>> One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3
>> module is loaded. If I unload it before reboot / shutdown everything is fine.
>>
>>
>>>
>>> When you have a downstream on-board usb hub, ideally it should be able
>>> to detect the devices
>>> and not reset everytime you connect a new device (like you mentioned earlier).
>>> There can be two possible reasons why the hub keeps getting reset ever
>>> after applying the above
>>> mentioned patches:
>>> 1) the clock rates are not proper.
>>> 2) the regulator load setting is not enough to drive the hub.
>>>
>>> Anand, can you please point Michael to an older kernel with which you
>>> could test usb on odroid successfully ?
>>> You can compare the clocks with an older version and see if there'a
>>> any difference.
>>>
>>> Any possibility of any other framework (such as, bus-freq) trimming
>>> down the clock - rates ?
>>
>>
>> ################################
>> # v4.7.5
>> ################################
>>
>> $ cat /sys/kernel/debug/clk/clk_summary | grep usb
>> sclk_usbh20_scan_clk 0 0 480000000 0
>> sclk_usbh20 0 0 48000
>> 000 0
>> mout_usbd300 1 1 24000000 0
>> dout_usbd300 0 0 24000000 0
>> sclk_usbd300
>> 0 0 24000000 0
>> dout_usbphy300 1 1 24000000 0
>> sclk_usbphy300 4 4 24000
>> 000 0
>> mout_usbd301 1 1 24000000 0
>> dout_usbd301 0 0 24000000 0
>> sclk_usbd301
>> 0 0 24000000 0
>> dout_usbphy301 1 1 24000000 0
>> sclk_usbphy301 3 3 24000
>> 000 0
>> usbd301 1 1 100000000
>> usbd300 1 1 100000000
>>
>> usbh20 3 3 100000000 0
>
>>
>> ################################
>> # v4.8.0
>> ################################
>>
>> $ cat /sys/kernel/debug/clk/clk_summary | grep usb
>> sclk_usbh20_scan_clk 0 0 480000000 0
>> sclk_usbh20 0 0 48000000
>> 0
>> mout_usbd300 1 1 24000000 0
>> dout_usbd300 0 0 24000000 0
>> sclk_usbd300
>> 0 0 24000000 0
>> dout_usbphy300 1 1 24000000 0
>> sclk_usbphy300 4 4 24000000
>> 0
>> mout_usbd301 1 1 24000000 0
>> dout_usbd301 0 0 24000000 0
>> sclk_usbd301
>> 0 0 24000000 0
>> dout_usbphy301 1 1 24000000 0
>> sclk_usbphy301 3 3 24000000
>> 0
>> usbd301 1 1 100000000
>
> This clock should have been 200MHz.
>
>> usbd300 1 1 100000000
>> usbh2
>> 0 3 3 100000000 0
>>
>> $ cat /sys/kernel/debug/usb/devices
>> <<system hangs>>
>>
>
> The clocks are same across working/non-working.
> Is it possible to bisect the commit that's causing hang for 4.8x ?
>
> Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards.
> +Alim, Pankaj
>
> Hi Alim, Pankaj,
> can you please give a try with 4.8 kernel on peach/smdk542x board and
> see if dwc3 usb works or not.
> You may need to the patches mentioned in [9.1] and [9.2] mentioned above.
>
>
[9.1] https://lkml.org/lkml/2014/4/28/234 base: platform: name the
device already during allocation
Dose not help. it's not useful at all.
What I feel is that their need to be some reset of usb phy so that
device are assigned to respective bus ports.
odroid@odroid:~$ lsusb -t
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
|__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
Bus 06.Port should register the Realtek Ethernet r8153 device.
But I am not able to trace out how it's should happen.
-Best Regards
Anand Moon
> [snip]
>
>
> Thanks
> Vivek
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-04 15:09 ` Anand Moon
@ 2016-10-05 4:45 ` Vivek Gautam
2016-10-05 7:48 ` Anand Moon
0 siblings, 1 reply; 20+ messages in thread
From: Vivek Gautam @ 2016-10-05 4:45 UTC (permalink / raw)
To: Anand Moon
Cc: Michael Niewöhner, Alim Akhtar, Pankaj Dubey, Mathias Nyman,
Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Anand,
On Tue, Oct 4, 2016 at 8:39 PM, Anand Moon <linux.amoon@gmail.com> wrote:
> Hi Vivek,
>
[snip]
>
> What I feel is that their need to be some reset of usb phy so that
> device are assigned to respective bus ports.
The phy resets are what we do in the phy-exynos5-usbdrd driver. In
addition to what we
have currently in this phy driver, we just need the phy calibration
patch [1] for phy configurations.
[1] https://lkml.org/lkml/2015/2/2/259
> odroid@odroid:~$ lsusb -t
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
This shows the ethernet device gets detected on the high-speed port of one
of the controller.
The lsusb output for kernel v4.7.x posted by Michael show that the
ethernet device got detected on super-speed port of the controller.
So, there seems to be a difference between the two.
Or, is this how it is behaving ?
Is this lsusb output on 4.8 kernel with the patch [1] ?
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
>
>
> Bus 06.Port should register the Realtek Ethernet r8153 device.
> But I am not able to trace out how it's should happen.
If i understand, below is how the configuration looks like on the board?
+-----------------------+
+------>| |
| | Bus 6 |-------+
+-----------+ | (super-speed) | |
| | +-----------------------+ |
|Controller | | --------> Ethernet device
| 2 | |
| | +-----------------------+ |
+-----------+ | | |
| | Bus 5 |-------+
+------>| (high-speed) |
+-----------------------+
+-----------------------+
+------>| |
| | Bus 4 |-------+
+-----------+ | (super-speed) | |
| | +-----------------------+ |
|Controller | | --------> (On board
hub ?? _OR_ external hub with downstream devices) ???
| 1 | |
| | +-----------------------+ |
+-----------+ | | |
| | Bus 3 |-------+
+------>| (high-speed) |
+-----------------------+
Thanks
Vivek
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-05 4:45 ` Vivek Gautam
@ 2016-10-05 7:48 ` Anand Moon
0 siblings, 0 replies; 20+ messages in thread
From: Anand Moon @ 2016-10-05 7:48 UTC (permalink / raw)
To: Vivek Gautam
Cc: Michael Niewöhner, Alim Akhtar, Pankaj Dubey, Mathias Nyman,
Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
[-- Attachment #1: Type: text/plain, Size: 4608 bytes --]
Hi Vivek,
On 5 October 2016 at 10:15, Vivek Gautam <vivek.gautam@codeaurora.org> wrote:
> Hi Anand,
>
>
> On Tue, Oct 4, 2016 at 8:39 PM, Anand Moon <linux.amoon@gmail.com> wrote:
>> Hi Vivek,
>>
>
> [snip]
>
>>
>> What I feel is that their need to be some reset of usb phy so that
>> device are assigned to respective bus ports.
>
> The phy resets are what we do in the phy-exynos5-usbdrd driver. In
> addition to what we
> have currently in this phy driver, we just need the phy calibration
> patch [1] for phy configurations.
>
> [1] https://lkml.org/lkml/2015/2/2/259
Yes I am only using the above patch.
If you dont mind please resend this patch again.
>
>> odroid@odroid:~$ lsusb -t
>> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>> |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
>
> This shows the ethernet device gets detected on the high-speed port of one
> of the controller.
> The lsusb output for kernel v4.7.x posted by Michael show that the
> ethernet device got detected on super-speed port of the controller.
> So, there seems to be a difference between the two.
> Or, is this how it is behaving ?
With other patches it miss behaves and the ethernet land onto another bus
port
.
> Is this lsusb output on 4.8 kernel with the patch [1] ?
Yes correct.
>
>> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
>> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
>> |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
>> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
>> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
>> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
>>
>>
>> Bus 06.Port should register the Realtek Ethernet r8153 device.
>> But I am not able to trace out how it's should happen.
>
> If i understand, below is how the configuration looks like on the board?
>
> +-----------------------+
> +------>| |
> | | Bus 6 |-------+
> +-----------+ | (super-speed) | |
> | | +-----------------------+ |
> |Controller | | --------> Ethernet device
> | 2 | |
> | | +-----------------------+ |
> +-----------+ | | |
> | | Bus 5 |-------+
> +------>| (high-speed) |
> +-----------------------+
>
>
> +-----------------------+
> +------>| |
> | | Bus 4 |-------+
> +-----------+ | (super-speed) | |
> | | +-----------------------+ |
> |Controller | | --------> (On board
> hub ?? _OR_ external hub with downstream devices) ???
> | 1 | |
> | | +-----------------------+ |
> +-----------+ | | |
> | | Bus 3 |-------+
> +------>| (high-speed) |
> +-----------------------+
>
[snip]
Yes this is correct mapping of usb ports and ethernet on the board.
Below is the schematic of the board.
http://dn.odroid.com/5422/ODROID-XU4/Schematics/XU4_MAIN_REV0.1_20151202.pdf
I have couple of questions so if you can help me out.
1 > Their is no vbus pin connector to the usb ports ?
2 > I have also tried to configure usbdrd_dwc3_0/1 nodes with no luck
snps,usb3_lpm_capable;
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
3 > do you feel their could be way to reset the USB PHY (ethenet)
either though the DTS using gpio and pincrt
4 > how should be the port mapping done to the usb hub.
Odroid XU4 has 2 usb 3.0 and 1 ehci port.
Odroid XU3 has 1 usb 3.0 and 1 usb 3.0 otg port and 4 ehci
port
I would like to know how to debug low level debug of USB connection.
so that we could solve the issue.
Thanks for you help in looking to this, please guide me.
Attach is the logs of lsusb -v and console output.
-Best Regards
Anand Moon
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: odroidxu4_lsusb.txt --]
[-- Type: text/plain; charset=US-ASCII; name="odroidxu4_lsusb.txt", Size: 67003 bytes --]
odroid@odroid:~$ lsusb -v
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Bus 005 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8153
bcdDevice 30.00
iManufacturer 1
iProduct 2
iSerial 6
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 180mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 80
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 180mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 6 Ethernet Networking
bInterfaceProtocol 0
iInterface 5
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Ethernet:
iMacAddress 3 (??)
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x0000
bNumberPowerFilters 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Bus 004 Device 003: ID 05e3:0735 Genesys Logic, Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0735
bcdDevice 10.03
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 24mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0616 hub
bcdDevice 92.22
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 19
Transfer Type Interrupt
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
bMaxBurst 0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0610 4-port hub
bcdDevice 92.22
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.08
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
odroid@odroid:~$
----------------------------------------------------------------------------------------
U-Boot 2012.07-00036-g4d29c46-dirty (Dec 04 2015 - 15:52:26) for Exynos5422
CPU: Exynos5422 Rev0.1 [Samsung SOC on SMP Platform Base on ARM CortexA7]
APLL = 800MHz, KPLL = 800MHz
MPLL = 532MHz, BPLL = 825MHz
Board: HardKernel ODROID
DRAM: 2 GiB
WARNING: Caches not enabled
TrustZone Enabled BSP
BL1 version: ¦/¦¦¦
VDD_KFC: 0x44
LDO19: 0xf2
Checking Boot Mode ... SDMMC
MMC: S5P_MSHC2: 0, S5P_MSHC0: 1
MMC Device 0: 29 GiB
MMC Device 1: [ERROR] response timeout error : 00000104 cmd 1
Card did not respond to voltage select!
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Press quickly 'Enter' twice to stop autoboot: 0
there are pending interrupts 0x00000001
reading boot.ini
9183 bytes read
Loading boot.ini from FAT
Find boot.ini file from FAT/Ext4 Area!!
boot.ini command = setenv initrd_high "0xffffffff"
boot.ini command = setenv fdt_high "0xffffffff"
boot.ini command = setenv macaddr "00:1e:06:61:7a:39"
boot.ini command = setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0"
boot.ini command = setenv vout "hdmi"
boot.ini command = setenv cecenable "false" # false or true
boot.ini command = setenv governor "performance"
boot.ini command = setenv HPD "true"
boot.ini command = setenv hdmi_tx_amp_lvl "31"
boot.ini command = setenv hdmi_tx_lvl_ch0 "3"
boot.ini command = setenv hdmi_tx_lvl_ch1 "3"
boot.ini command = setenv hdmi_tx_lvl_ch2 "3"
boot.ini command = setenv hdmi_tx_emp_lvl "6"
boot.ini command = setenv hdmi_clk_amp_lvl "31"
boot.ini command = setenv hdmi_tx_res "0"
boot.ini command = setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"
boot.ini command = fatload mmc 0:1 0x40008000 zImage
reading zImage
4942552 bytes read
boot.ini command = fatload mmc 0:1 0x42000000 uInitrd
reading uInitrd
8303688 bytes read
boot.ini command = fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb
reading exynos5422-odroidxu3.dtb
54647 bytes read
boot.ini command = fdt addr 0x44000000
boot.ini command = if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
boot.ini command = setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}"
boot.ini command = bootz 0x40008000 0x42000000 0x44000000
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 8303624 Bytes = 7.9 MiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 44000000
Booting using the fdt blob at 0x44000000
Using Device Tree in place at 44000000, end 44010576
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.8.0-xu4ml (root@odroid) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) ) #16 SMP PREEMPT Mon Oct 3 17:28:30 UTC 2016
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4
[ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_right, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0xbd200000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node region_mfc_left, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0xb9000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Samsung CPU ID: 0xe5422001
[ 0.000000] Running under secure firmware.
[ 0.000000] percpu: Embedded 366 pages/cpu @ee484000 s1470000 r8192 d20944 u1499136
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 510976
[ 0.000000] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0 smsc95xx.macaddr=00:1e:06:61:7a:39 governor=performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hdmi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hdmi
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1925660K/2050048K available (7168K kernel code, 327K rwdata, 2380K rodata, 2048K init, 9112K bss, 58852K reserved, 65536K cma-reserved, 1198080K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0b00000 - 0xc0d00000 (2048 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d51fc0 ( 328 kB)
[ 0.000000] .bss : 0xc0d53000 - 0xc16392b4 (9113 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU debugfs-based tracing is enabled.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] RCU kthread priority: 1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000009] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.001989] Console: colour dummy device 80x30
[ 0.014024] console [tty1] enabled
[ 0.014064] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.014121] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.014157] ... MAX_LOCK_DEPTH: 48
[ 0.014192] ... MAX_LOCKDEP_KEYS: 8191
[ 0.014228] ... CLASSHASH_SIZE: 4096
[ 0.014264] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.014300] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.014336] ... CHAINHASH_SIZE: 32768
[ 0.014372] memory used by lock dependency info: 5423 kB
[ 0.014411] per task-struct memory footprint: 2304 bytes
[ 0.014450] ------------------------
[ 0.014483] | Locking API testsuite:
[ 0.014517] ----------------------------------------------------------------------------
[ 0.014574] | spin |wlock |rlock |mutex | wsem | rsem |
[ 0.014631] --------------------------------------------------------------------------
[ 0.014708] A-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.025766] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.036982] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.048501] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok |
[ 0.060095] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.071953] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.083788] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok |
[ 0.095683] double unlock: ok | ok | ok | ok | ok | ok |
[ 0.106444] initialize held: ok | ok | ok | ok | ok | ok |
[ 0.117112] bad unlock order: ok | ok | ok | ok | ok | ok |
[ 0.128173] --------------------------------------------------------------------------
[ 0.128234] recursive read-lock: | ok | | ok |
[ 0.131898] recursive read-lock #2: | ok | | ok |
[ 0.135563] mixed read-write-lock: | ok | | ok |
[ 0.139172] mixed write-read-lock: | ok | | ok |
[ 0.142868] --------------------------------------------------------------------------
[ 0.142927] hard-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 0.148317] soft-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 0.153736] hard-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 0.159152] soft-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 0.164566] sirq-safe-A => hirqs-on/12: ok | ok | ok |
[ 0.170071] sirq-safe-A => hirqs-on/21: ok | ok | ok |
[ 0.175479] hard-safe-A + irqs-on/12: ok | ok | ok |
[ 0.180876] soft-safe-A + irqs-on/12: ok | ok | ok |
[ 0.186296] hard-safe-A + irqs-on/21: ok | ok | ok |
[ 0.191700] soft-safe-A + irqs-on/21: ok | ok | ok |
[ 0.197120] hard-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 0.202694] soft-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 0.208265] hard-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 0.213834] soft-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 0.219405] hard-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 0.225066] soft-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 0.230650] hard-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 0.236184] soft-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 0.241731] hard-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 0.247178] soft-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 0.252645] hard-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 0.258178] soft-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 0.263731] hard-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 0.269268] soft-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 0.274831] hard-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 0.280436] soft-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 0.285997] hard-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 0.291537] soft-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 0.297103] hard-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 0.302616] soft-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 0.308158] hard-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 0.313671] soft-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 0.319238] hard-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 0.324782] soft-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 0.330420] hard-irq lock-inversion/123: ok | ok | ok |
[ 0.335965] soft-irq lock-inversion/123: ok | ok | ok |
[ 0.341541] hard-irq lock-inversion/132: ok | ok | ok |
[ 0.347068] soft-irq lock-inversion/132: ok | ok | ok |
[ 0.352649] hard-irq lock-inversion/213: ok | ok | ok |
[ 0.358203] soft-irq lock-inversion/213: ok | ok | ok |
[ 0.363786] hard-irq lock-inversion/231: ok | ok | ok |
[ 0.369312] soft-irq lock-inversion/231: ok | ok | ok |
[ 0.374877] hard-irq lock-inversion/312: ok | ok | ok |
[ 0.380497] soft-irq lock-inversion/312: ok | ok | ok |
[ 0.386083] hard-irq lock-inversion/321: ok | ok | ok |
[ 0.391612] soft-irq lock-inversion/321: ok | ok | ok |
[ 0.397179] hard-irq read-recursion/123: ok |
[ 0.399039] soft-irq read-recursion/123: ok |
[ 0.401000] hard-irq read-recursion/132: ok |
[ 0.402865] soft-irq read-recursion/132: ok |
[ 0.404739] hard-irq read-recursion/213: ok |
[ 0.406691] soft-irq read-recursion/213: ok |
[ 0.408567] hard-irq read-recursion/231: ok |
[ 0.410519] soft-irq read-recursion/231: ok |
[ 0.412395] hard-irq read-recursion/312: ok |
[ 0.414257] soft-irq read-recursion/312: ok |
[ 0.416219] hard-irq read-recursion/321: ok |
[ 0.418082] soft-irq read-recursion/321: ok |
[ 0.420043] --------------------------------------------------------------------------
[ 0.420103] | Wound/wait tests |
[ 0.420136] ---------------------
[ 0.420170] ww api failures: ok | ok | ok |
[ 0.425739] ww contexts mixing: ok | ok |
[ 0.429342] finishing ww context: ok | ok | ok | ok |
[ 0.436673] locking mismatches: ok | ok | ok |
[ 0.442165] EDEADLK handling: ok | ok | ok | ok | ok | ok | ok | ok | ok | ok |
[ 0.460772] spinlock nest unlocked: ok |
[ 0.462567] -----------------------------------------------------
[ 0.462612] |block | try |context|
[ 0.462653] -----------------------------------------------------
[ 0.462695] context: ok | ok | ok |
[ 0.468263] try: ok | ok | ok |
[ 0.473716] block: ok | ok | ok |
[ 0.479164] spinlock: ok | ok | ok |
[ 0.484832] -------------------------------------------------------
[ 0.484877] Good, all 253 testcases passed! |
[ 0.484913] ---------------------------------
[ 0.487844] ODEBUG: selftest passed
[ 0.487981] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[ 0.488065] pid_max: default: 32768 minimum: 301
[ 0.488835] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.488898] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.494043] CPU: Testing write buffer coherency: ok
[ 0.497000] CPU0: update cpu_capacity 448
[ 0.497061] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[ 0.497432] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.498995] ARM CCI driver probed
[ 0.499373] Exynos MCPM support installed
[ 0.565666] CPU1: update cpu_capacity 448
[ 0.565677] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[ 0.585574] CPU2: update cpu_capacity 448
[ 0.585584] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[ 0.605569] CPU3: update cpu_capacity 448
[ 0.605580] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[ 0.625596] CPU4: update cpu_capacity 1535
[ 0.625606] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.645558] CPU5: update cpu_capacity 1535
[ 0.645566] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.665565] CPU6: update cpu_capacity 1535
[ 0.665574] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.685573] CPU7: update cpu_capacity 1535
[ 0.685582] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.686297] Brought up 8 CPUs
[ 0.686807] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[ 0.686856] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x1a)
[ 0.686921] CPU: This may indicate a broken bootloader or firmware.
[ 0.692572] devtmpfs: initialized
[ 0.887025] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[ 0.889761] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.894403] pinctrl core: initialized pinctrl subsystem
[ 0.905716] random: fast init done
[ 0.906048] NET: Registered protocol family 16
[ 0.913914] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.935361] cpuidle: using governor menu
[ 1.012107] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 1.012192] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 1.062219] iommu: Adding device 11000000.codec to group 0
[ 1.201513] iommu: Adding device 14450000.mixer to group 1
[ 1.203951] iommu: Adding device 11c00000.rotator to group 2
[ 1.211482] iommu: Adding device 13e00000.video-scaler to group 3
[ 1.213822] iommu: Adding device 13e10000.video-scaler to group 4
[ 1.216276] iommu: Adding device 11f50000.jpeg to group 5
[ 1.218608] iommu: Adding device 11f60000.jpeg to group 6
[ 1.220528] EXYNOS5420 PMU initialized
[ 1.394101] SCSI subsystem initialized
[ 1.396405] usbcore: registered new interface driver usbfs
[ 1.396937] usbcore: registered new interface driver hub
[ 1.397930] usbcore: registered new device driver usb
[ 1.401832] s3c-i2c 12c80000.i2c: slave address 0x00
[ 1.401902] s3c-i2c 12c80000.i2c: bus frequency set to 65 KHz
[ 1.406177] s3c-i2c 12c80000.i2c: i2c-2: S3C I2C adapter
[ 1.413676] Advanced Linux Sound Architecture Driver Initialized.
[ 1.425111] clocksource: Switched to clocksource mct-frc
[ 1.538374] NET: Registered protocol family 2
[ 1.543373] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.543799] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[ 1.547768] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.548243] UDP hash table entries: 512 (order: 3, 49152 bytes)
[ 1.548826] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
[ 1.551253] NET: Registered protocol family 1
[ 1.555460] RPC: Registered named UNIX socket transport module.
[ 1.555530] RPC: Registered udp transport module.
[ 1.555578] RPC: Registered tcp transport module.
[ 1.555626] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.557953] Trying to unpack rootfs image as initramfs...
[ 2.611882] Freeing initrd memory: 8112K (c2000000 - c27ec000)
[ 2.630889] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 2.639384] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 2.740930] NFS: Registering the id_resolver key type
[ 2.741405] Key type id_resolver registered
[ 2.741460] Key type id_legacy registered
[ 2.741779] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[ 2.751948] bounce: pool size: 64 pages
[ 2.752041] io scheduler noop registered
[ 2.752076] io scheduler deadline registered
[ 2.754658] io scheduler cfq registered (default)
[ 2.777976] 12130000.phy supply vbus not found, using dummy regulator
[ 2.783590] 12100000.phy supply vbus not found, using dummy regulator
[ 2.783991] 12100000.phy supply vbus-boost not found, using dummy regulator
[ 2.786673] 12500000.phy supply vbus not found, using dummy regulator
[ 2.787076] 12500000.phy supply vbus-boost not found, using dummy regulator
[ 2.825399] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330
[ 2.825440] dma-pl330 121a0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 2.853163] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330
[ 2.853206] dma-pl330 121b0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 2.861305] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-241330
[ 2.861346] dma-pl330 10800000.mdma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[ 3.434364] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.448226] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76, base_baud = 0) is a S3C6400/10
[ 3.451531] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77, base_baud = 0) is a S3C6400/10
[ 3.454276] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78, base_baud = 0) is a S3C6400/10
[ 4.961339] console [ttySAC2] enabled
[ 4.967171] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79, base_baud = 0) is a S3C6400/10
[ 4.981564] [drm] Initialized drm 1.1.0 20060810
[ 4.993954] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517
[ 5.103379] brd: module loaded
[ 5.166067] loop: module loaded
[ 5.175261] libphy: Fixed MDIO Bus: probed
[ 5.179518] usbcore: registered new interface driver r8152
[ 5.183986] usbcore: registered new interface driver asix
[ 5.189229] usbcore: registered new interface driver ax88179_178a
[ 5.195293] usbcore: registered new interface driver cdc_ether
[ 5.201234] usbcore: registered new interface driver smsc75xx
[ 5.206947] usbcore: registered new interface driver smsc95xx
[ 5.212533] usbcore: registered new interface driver net1080
[ 5.218166] usbcore: registered new interface driver cdc_subset
[ 5.224058] usbcore: registered new interface driver zaurus
[ 5.229749] usbcore: registered new interface driver cdc_ncm
[ 5.236943] exynos-dwc3 soc:usb3-0: no suspend clk specified
[ 5.241685] exynos-dwc3 soc:usb3-1: no suspend clk specified
[ 5.250614] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.255725] ehci-exynos: EHCI EXYNOS driver
[ 5.261306] exynos-ehci 12110000.usb: EHCI Host Controller
[ 5.265898] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[ 5.274063] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000
[ 5.290248] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 5.296528] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.301901] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.309094] usb usb1: Product: EHCI Host Controller
[ 5.313938] usb usb1: Manufacturer: Linux 4.8.0-xu4ml ehci_hcd
[ 5.319745] usb usb1: SerialNumber: 12110000.usb
[ 5.331377] hub 1-0:1.0: USB hub found
[ 5.334177] hub 1-0:1.0: 3 ports detected
[ 5.346639] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.351465] ohci-exynos: OHCI EXYNOS driver
[ 5.356554] exynos-ohci 12120000.usb: USB Host Controller
[ 5.361060] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[ 5.369111] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000
[ 5.435215] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.440677] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.451036] usb usb2: Product: USB Host Controller
[ 5.454368] usb usb2: Manufacturer: Linux 4.8.0-xu4ml ohci_hcd
[ 5.460222] usb usb2: SerialNumber: 12120000.usb
[ 5.470257] hub 2-0:1.0: USB hub found
[ 5.472773] hub 2-0:1.0: 3 ports detected
[ 5.484882] usbcore: registered new interface driver usb-storage
[ 5.492112] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[ 5.502592] mousedev: PS/2 mouse device common for all mice
[ 5.515535] i2c /dev entries driver
[ 5.565161] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV
[ 5.590207] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV
[ 5.604597] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV
[ 5.627972] vdd_sd: Bringing 3300000uV into 2800000-2800000uV
[ 5.763205] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0
[ 5.792698] exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
[ 5.798784] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
[ 5.823322] s3c2410-wdt 101d0000.watchdog: watchdog inactive, reset disabled, irq disabled
[ 5.834415] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 5.906444] sdhci: Secure Digital Host Controller Interface driver
[ 5.911179] sdhci: Copyright(c) Pierre Ossman
[ 5.916313] Synopsys Designware Multimedia Card Interface Driver
[ 5.923653] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode.
[ 5.929186] dwmmc_exynos 12200000.mmc: Using internal DMA controller.
[ 5.935496] dwmmc_exynos 12200000.mmc: Version ID is 250a
[ 5.941022] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 91,64 bit host data width,64 deep fifo
[ 5.951131] dwmmc_exynos 12200000.mmc: Got CD GPIO
[ 5.955154] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq
[ 5.987072] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 6.016598] dwmmc_exynos 12200000.mmc: 1 slots initialized
[ 6.021878] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode.
[ 6.028621] dwmmc_exynos 12220000.mmc: Using internal DMA controller.
[ 6.033898] dwmmc_exynos 12220000.mmc: Version ID is 250a
[ 6.039421] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 92,64 bit host data width,64 deep fifo
[ 6.074555] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 6.100553] dwmmc_exynos 12220000.mmc: 1 slots initialized
[ 6.124479] s5p-secss 10830000.sss: s5p-sss driver registered
[ 6.130437] usbcore: registered new interface driver usbhid
[ 6.134533] usbhid: USB HID core driver
[ 6.144641] exynos-audss-clk 3810000.audss-clock-controller: setup completed
[ 6.154414] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 6.164555] mmc1: new high speed SDHC card at address 0007
[ 6.176291] mmcblk1: mmc1:0007 SL32G 29.0 GiB
[ 6.189221] mmcblk1: p1 p2
[ 6.335992] dma-pl330 3880000.adma: Loaded driver for PL330 DMAC-241330
[ 6.342033] dma-pl330 3880000.adma: DBUFF-4x8bytes Num_Chans-6 Num_Peri-16 Num_Events-6
[ 6.493694] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp
[ 6.501406] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp
[ 6.507705] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp
[ 6.514305] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp
[ 6.543455] NET: Registered protocol family 10
[ 6.551803] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 6.560630] NET: Registered protocol family 17
[ 6.563701] NET: Registered protocol family 15
[ 6.568461] Key type dns_resolver registered
[ 6.572963] Registering SWP/SWPB emulation handler
[ 6.581222] registered taskstats version 1
[ 6.609635] [drm] Exynos DRM: using 14450000.mixer device for DMA mapping operations
[ 6.621991] exynos-drm exynos-drm: bound 14450000.mixer (ops mixer_component_ops)
[ 6.631014] exynos-drm exynos-drm: bound 14530000.hdmi (ops hdmi_component_ops)
[ 6.636979] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 6.643508] [drm] No driver support for vblank timestamp query.
[ 6.649557] [drm] Initialized exynos 1.0.0 20110530 on minor 0
[ 6.657109] exynos-dwc3 soc:usb3-0: no suspend clk specified
[ 6.677069] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 6.681666] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 6.690853] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 6.698706] xhci-hcd xhci-hcd.2.auto: irq 135, io mem 0x12000000
[ 6.706038] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.711446] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.718639] usb usb3: Product: xHCI Host Controller
[ 6.723471] usb usb3: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd
[ 6.729279] usb usb3: SerialNumber: xhci-hcd.2.auto
[ 6.745775] hub 3-0:1.0: USB hub found
[ 6.749150] hub 3-0:1.0: 1 port detected
[ 6.756985] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 6.761158] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 6.769304] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.777554] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 6.783496] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.790699] usb usb4: Product: xHCI Host Controller
[ 6.795531] usb usb4: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd
[ 6.801338] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 6.817156] hub 4-0:1.0: USB hub found
[ 6.820680] hub 4-0:1.0: 1 port detected
[ 6.837850] exynos-dwc3 soc:usb3-1: no suspend clk specified
[ 6.864294] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 6.868803] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5
[ 6.878997] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 6.887128] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000
[ 6.898523] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.904701] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.912027] usb usb5: Product: xHCI Host Controller
[ 6.916297] usb usb5: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd
[ 6.922091] usb usb5: SerialNumber: xhci-hcd.5.auto
[ 6.933692] hub 5-0:1.0: USB hub found
[ 6.936536] hub 5-0:1.0: 1 port detected
[ 6.945285] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 6.949453] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6
[ 6.957908] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.966716] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[ 6.972150] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.979339] usb usb6: Product: xHCI Host Controller
[ 6.984158] usb usb6: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd
[ 6.989975] usb usb6: SerialNumber: xhci-hcd.5.auto
[ 7.001938] hub 6-0:1.0: USB hub found
[ 7.004559] hub 6-0:1.0: 1 port detected
[ 7.019004] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0
[ 7.025764] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1
[ 7.047933] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz)
[ 7.061924] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz)
[ 7.072543] exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz)
[ 7.082157] exynos-bus: new bus device registered: soc:bus_fsys (100000 KHz ~ 200000 KHz)
[ 7.090228] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 7.093504] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz)
[ 7.099508] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz)
[ 7.105157] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz)
[ 7.108593] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~ 67000 KHz)
[ 7.114826] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz)
[ 7.120974] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz)
[ 7.126826] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz)
[ 7.132557] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz)
[ 7.136811] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz)
[ 7.141702] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz)
[ 7.146580] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz)
[ 7.153005] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz)
[ 7.163772] Power domain power-domain@10044120 disable failed
[ 7.202630] devfreq soc:bus_wcore: Couldn't update frequency transition information.
[ 7.209025] s5m-rtc s2mps14-rtc: setting system clock to 2016-10-05 07:13:35 UTC (1475651615)
[ 7.275209] usb 5-1: new high-speed USB device number 2 using xhci-hcd
[ 7.345114] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610
[ 7.350416] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.357510] usb 3-1: Product: USB2.0 Hub
[ 7.361404] usb 3-1: Manufacturer: GenesysLogic
[ 7.415145] hub 3-1:1.0: USB hub found
[ 7.419174] hub 3-1:1.0: 2 ports detected
[ 7.428489] usb 5-1: New USB device found, idVendor=0bda, idProduct=8153
[ 7.430628] ALSA device list:
[ 7.430632] No soundcards found.
[ 7.440214] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 7.440233] usb 5-1: Product: USB 10/100/1000 LAN
[ 7.440250] usb 5-1: Manufacturer: Realtek
[ 7.440266] usb 5-1: SerialNumber: 000001000000
[ 7.469431] Freeing unused kernel memory: 2048K (c0b00000 - c0d00000)
Loading, please wait...
[ 7.662635] usb 5-1: reset high-speed USB device number 2 using xhci-hcd
starting version 229
[ 7.942419] r8152 5-1:1.0 eth0: v1.08.6
[ 14.520569] random: crng init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -y -C0 /dev/mmcblk1p2
e2fsck 1.42.13 (17-May-2015)
rootfs: clean, 478044/1892352 files, 4932280/7560832 blocks
done.
[ 21.986013] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 23.500468] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 23.524853] systemd[1]: Detected architecture arm.
Welcome to Ubuntu 16.04.1 LTS!
[ 23.572858] systemd[1]: Set hostname to <odroid>.
[ 25.172926] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 25.202947] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 25.227532] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 25.256654] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 25.282055] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ 25.306151] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 25.331323] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on Journal Socket.
[ OK ] Started Read required files in advance.
Starting Uncomplicated firewall...
Starting Create list of required st... nodes for the current kernel...
Mounting Debug File System...
Starting Journal Service...
[ OK ] Listening on fsck to fsckd communication Socket.
Starting Load Kernel Modules...
Starting Nameserver information manager...
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on udev Control Socket.
Starting Remount Root and Kernel File Systems...
[ OK ] Reached target User and Group Name Lookups.
[ OK ] Started Braille Device Support.
[ OK ] Reached target Swap.
Starting Set console keymap...
[ 26.211220] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
[ OK ] Mounted Debug File System.
[ OK ] Started Uncomplicated firewall.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Set console keymap.
[ OK ] Started Nameserver information manager.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Journal Service.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Starting Flush Journal to Persistent Storage...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttySAC2.
[ OK ] Found device /dev/disk/by-label/boot.
Starting File System Check on /dev/disk/by-label/boot...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Started File System Check on /dev/disk/by-label/boot.
Mounting /media/boot...
[ OK ] Mounted /media/boot.
[ OK ] Reached target Local File Systems.
Starting Run snappy firstboot setup...
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
Starting LSB: AppArmor initialization...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Run snappy firstboot setup.
[ OK ] Started LSB: AppArmor initialization.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
Starting Raise network interfaces...
[ OK ] Reached target System Time Synchronized.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Set console font and keymap.
[ OK ] Started Raise network interfaces.
[ OK ] Created slice system-getty.slice.
[ OK ] Reached target System Initialization.
[ OK ] Started Timer to automatically refresh installed snaps.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on CUPS Scheduler.
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Started Daily Cleanup of Temporary Directories.
Starting Socket activation for snappy daemon.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Started Daily apt activities.
[ OK ] Reached target Timers.
[ OK ] Started CUPS Scheduler.
[ OK ] Reached target Paths.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Avahi mDNS/DNS-SD Stack...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
Starting LSB: automatic crash report generation...
[ OK ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
[ OK ] Started Regular background program processing daemon.
[ OK ] Started crash report submission daemon.
Starting Initialize hardware monitoring sensors...
Starting Login Service...
Starting LSB: Execute the kexec -e command to reboot system...
Starting System Logging Service...
[ OK ] Started Run anacron jobs.
Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
Starting Modem Manager...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
Starting Network Manager...
Starting Accounts Service...
Starting LSB: Speech Dispatcher...
Starting Permit User Sessions...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[ OK ] Started CUPS Scheduler.
[ OK ] Started Make remote CUPS printers available locally.
[ OK ] Started Avahi DNS Configuration Daemon.
[ OK ] Started Snappy daemon.
[ OK ] Started System Logging Service.
[ OK ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[ OK ] Started Permit User Sessions.
[ OK ] Started Initialize hardware monitoring sensors.
[ 45.216172] scsi host0: runtime PM trying to activate child device host0 but parent (4-1.1:1.0) is not active
[ OK ] Started LSB: automatic crash report generation.
[ OK ] Started LSB: Execute the kexec -e command to reboot system.
[ OK ] Started LSB: Speech Dispatcher.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Started Login Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting LSB: Load kernel image with kexec...
Starting Light Display Manager...
[ OK ] Started Network Manager.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Network Manager Wait Online...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started LSB: Load kernel image with kexec.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started Accounts Service.
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Modem Manager.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started Light Display Manager.
[ OK ] Started Network Manager Script Dispatcher Service.
Starting Hostname Service...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
[ OK ] Created slice User Slice of lightdm.
Starting User Manager for UID 110...
[ OK ] Started Session c1 of user lightdm.
[ OK ] Started User Manager for UID 110.
[ OK ] Stopped Braille Device Support.
[ OK ] Started Braille Device Support.
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[ OK ] Reached target Network is Online.
Starting LSB: disk temperature monitoring daemon...
Starting /etc/rc.local Compatibility...
Starting LSB: Start NTP daemon...
[ OK ] Started /etc/rc.local Compatibility.
Starting Hold until boot process finishes up...
[ OK ] Started LSB: disk temperature monitoring daemon.
[ OK ] Started Hold until boot process finishes up.
[ OK ] Started Serial Getty on ttySAC2.
Starting Set console scheme...
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started LSB: Start NTP daemon.
[ OK ] Started Set console scheme.
[ OK ] Reached target Multi-User System.
Starting Notify bootloader that boot was successful...
[ OK ] Started TLP system startup/shutdown.
[ OK ] Reached target Graphical Interface.
[ OK ] Started Stop ureadahead data collection 45s after completed startup.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Notify bootloader that boot was successful.
[ OK ] Started Update UTMP about System Runlevel Changes.
Ubuntu 16.04.1 LTS odroid ttySAC2
odroid login: odroid
Password:
Login incorrect
odroid login: odroid
Password:
Last login: Wed Oct 5 06:52:49 UTC 2016 from 10.0.0.104 on pts/0
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.8.0-xu4ml armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
9 packages can be updated.
0 updates are security updates.
odroid@odroid:~$ lsusb -t
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
odroid@odroid:~$
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-04 12:02 ` Vivek Gautam
2016-10-04 15:09 ` Anand Moon
@ 2016-10-06 16:29 ` Michael Niewöhner
2016-10-07 7:42 ` Felipe Balbi
1 sibling, 1 reply; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-06 16:29 UTC (permalink / raw)
To: Vivek Gautam
Cc: Alim Akhtar, Pankaj Dubey, Anand Moon, Mathias Nyman,
Felipe Balbi, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam, Alim Akhtar,
Pankaj Dubey
Hi Vivek,
On Di, 2016-10-04 at 17:32 +0530, Vivek Gautam wrote:
> Hi Michael,
>
>
> On Tue, Oct 4, 2016 at 4:28 PM, Michael Niewöhner <linux@mniewoehner.de> wrote:
>
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > [1.] One line summary of the problem:
> > > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
> > > > > > >
> > > > > > > [2.] Full description of the problem/report:
> > > > > > > No usb 3.0 devices are being detected when attached while USB 2.0
> > > > > > > devices work on the same port.
> > > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems
> > > > > > > to be
> > > > > > > buggy. The usb hub is redetected every time an usb device is
> > > > > > > attached.
>
> [snip]
>
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > [9.] Other notes, patches, fixes, workarounds:
> > > > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234
> > > > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259
> > >
> > > These patches are required to get USB super-speed working on Exynos5420/5800.
> > > But they did not make to upstream. There was resistance on adding new
> > > phy_calibrate()
> > > callback.
> > >
> > > Without these patches the Exynos5420/5800 will enumerate all
> > > super-speed capable devices
> > > as high-speed devices.
> > > Last time we checked with exynos542x smdk boards and peach-* boards,
> > > we could get the
> > > Super - speed devices working. I have not tested odroid anytime so
> > > don't have much idea about the
> > > its intricacies.
> > > I guess Anand was able to use these patches to get his kernel working in past.
> >
> >
> > The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very
> > unstable - with 4.7.
> >
> > One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3
> > module is loaded. If I unload it before reboot / shutdown everything is fine.
> >
> >
> > >
> > >
> > > When you have a downstream on-board usb hub, ideally it should be able
> > > to detect the devices
> > > and not reset everytime you connect a new device (like you mentioned earlier).
> > > There can be two possible reasons why the hub keeps getting reset ever
> > > after applying the above
> > > mentioned patches:
> > > 1) the clock rates are not proper.
> > > 2) the regulator load setting is not enough to drive the hub.
> > >
> > > Anand, can you please point Michael to an older kernel with which you
> > > could test usb on odroid successfully ?
> > > You can compare the clocks with an older version and see if there'a
> > > any difference.
> > >
> > > Any possibility of any other framework (such as, bus-freq) trimming
> > > down the clock - rates ?
> >
> >
> > ################################
> > # v4.7.5
> > ################################
> >
> > $ cat /sys/kernel/debug/clk/clk_summary | grep usb
> > sclk_usbh20_scan_clk 0 0 480000000 0
> > sclk_usbh20 0 0 48000
> > 000 0
> > mout_usbd300 1 1 24000000 0
> > dout_usbd300 0 0 24000000 0
> > sclk_usbd300
> > 0 0 24000000 0
> > dout_usbphy300 1 1 24000000 0
> > sclk_usbphy300 4 4 24000
> > 000 0
> > mout_usbd301 1 1 24000000 0
> > dout_usbd301 0 0 24000000 0
> > sclk_usbd301
> > 0 0 24000000 0
> > dout_usbphy301 1 1 24000000 0
> > sclk_usbphy301 3 3 24000
> > 000 0
> > usbd301 1 1 100000000
> > usbd300 1 1 100000000
> >
> > usbh20 3 3 100000000 0
>
> >
> >
> > ################################
> > # v4.8.0
> > ################################
> >
> > $ cat /sys/kernel/debug/clk/clk_summary | grep usb
> > sclk_usbh20_scan_clk 0 0 480000000 0
> > sclk_usbh20 0 0 48000000
> > 0
> > mout_usbd300 1 1 24000000 0
> > dout_usbd300 0 0 24000000 0
> > sclk_usbd300
> > 0 0 24000000 0
> > dout_usbphy300 1 1 24000000 0
> > sclk_usbphy300 4 4 24000000
> > 0
> > mout_usbd301 1 1 24000000 0
> > dout_usbd301 0 0 24000000 0
> > sclk_usbd301
> > 0 0 24000000 0
> > dout_usbphy301 1 1 24000000 0
> > sclk_usbphy301 3 3 24000000
> > 0
> > usbd301 1 1 100000000
>
> This clock should have been 200MHz.
>
> >
> > usbd300 1 1 100000000
> > usbh2
> > 0 3 3 100000000 0
> >
> > $ cat /sys/kernel/debug/usb/devices
> > <<system hangs>>
> >
>
> The clocks are same across working/non-working.
> Is it possible to bisect the commit that's causing hang for 4.8x ?
[c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
This patch causes both the hang on reboot and the lsusb hang.
>
> Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards.
> +Alim, Pankaj
>
> Hi Alim, Pankaj,
> can you please give a try with 4.8 kernel on peach/smdk542x board and
> see if dwc3 usb works or not.
> You may need to the patches mentioned in [9.1] and [9.2] mentioned above.
>
>
> [snip]
>
>
> Thanks
> Vivek
>
Best regards
Michael
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-06 16:29 ` Michael Niewöhner
@ 2016-10-07 7:42 ` Felipe Balbi
2016-10-07 20:26 ` Michael Niewöhner
0 siblings, 1 reply; 20+ messages in thread
From: Felipe Balbi @ 2016-10-07 7:42 UTC (permalink / raw)
To: Michael Niewöhner, Vivek Gautam
Cc: Alim Akhtar, Pankaj Dubey, Anand Moon, Mathias Nyman,
Greg Kroah-Hartman, Kukjin Kim, Krzysztof Kozlowski,
Linux USB Mailing List, linux-arm-kernel, linux-samsung-soc,
Linux Kernel, Vivek Gautam, Alim Akhtar, Pankaj Dubey
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Hi,
Michael Niewöhner <linux@mniewoehner.de> writes:
>> The clocks are same across working/non-working.
>> Is it possible to bisect the commit that's causing hang for 4.8x ?
>
>
> [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
> This patch causes both the hang on reboot and the lsusb hang.
How to reproduce? Why don't we see this on x86 and TI boards? I'm
guessing this is failed bisection, as I can't see anything in that
commit that would cause reboot hang. Also, that code path is *NOT*
executed when you run lsusb.
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-07 7:42 ` Felipe Balbi
@ 2016-10-07 20:26 ` Michael Niewöhner
2016-10-16 14:19 ` Michael Niewöhner
0 siblings, 1 reply; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-07 20:26 UTC (permalink / raw)
To: Felipe Balbi
Cc: Vivek Gautam, Alim Akhtar, Pankaj Dubey, Anand Moon,
Mathias Nyman, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Felipe,
On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote:
> Hi,
>
> Michael Niewöhner <linux@mniewoehner.de> writes:
> >
> > >
> > > The clocks are same across working/non-working.
> > > Is it possible to bisect the commit that's causing hang for 4.8x ?
> >
> >
> > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
> > This patch causes both the hang on reboot and the lsusb hang.
>
> How to reproduce? Why don't we see this on x86 and TI boards? I'm
> guessing this is failed bisection, as I can't see anything in that
> commit that would cause reboot hang. Also, that code path is *NOT*
> executed when you run lsusb.
>
I've tested this procedure multiple times to be sure:
- checkout c499ff71, compile, boot the odroid
- run lsusb -v => lsusb hangs, can't terminate with ctrl-c
- hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below)
- revert c499ff71, mrproper, compile, boot the odroid
- run lsusb -v => shows full output, not hanging
- run reboot or poweroff => board powers off / reboots just fine
dmesg poweroff not working:
...
[ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
[ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 120.769212] systemd-shutdown[1]: Unmounting file systems.
[ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
[ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
[ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
[ 121.106523] systemd-shutdown[1]: Deactivating swaps.
[ 121.111585] systemd-shutdown[1]: All swaps deactivated.
[ 121.116661] systemd-shutdown[1]: Detaching loop devices.
[ 121.126395] systemd-shutdown[1]: All loop devices detached.
[ 121.130525] systemd-shutdown[1]: Detaching DM devices.
[ 121.135824] systemd-shutdown[1]: All DM devices detached.
[ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
[ 121.171739] systemd-shutdown[1]: Powering off.
=> at this point removing the sd card would show a message
"removed mmc0" (not sure what the real message was...) so the board is not completely off.
dmesg poweroff working:
...
[ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
[ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 120.769212] systemd-shutdown[1]: Unmounting file systems.
[ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
[ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
[ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
[ 121.106523] systemd-shutdown[1]: Deactivating swaps.
[ 121.111585] systemd-shutdown[1]: All swaps deactivated.
[ 121.116661] systemd-shutdown[1]: Detaching loop devices.
[ 121.126395] systemd-shutdown[1]: All loop devices detached.
[ 121.130525] systemd-shutdown[1]: Detaching DM devices.
[ 121.135824] systemd-shutdown[1]: All DM devices detached.
[ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
[ 121.171739] systemd-shutdown[1]: Powering off.
[ 121.182331] rebo�
Best regards
Michael
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-07 20:26 ` Michael Niewöhner
@ 2016-10-16 14:19 ` Michael Niewöhner
2016-10-17 8:08 ` Felipe Balbi
0 siblings, 1 reply; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-16 14:19 UTC (permalink / raw)
To: Felipe Balbi
Cc: Vivek Gautam, Alim Akhtar, Pankaj Dubey, Anand Moon,
Mathias Nyman, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
Hi Felipe,
On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote:
> Hi Felipe,
>
> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote:
> > Hi,
> >
> > Michael Niewöhner <linux@mniewoehner.de> writes:
> > >
> > > >
> > > > The clocks are same across working/non-working.
> > > > Is it possible to bisect the commit that's causing hang for 4.8x ?
> > >
> > >
> > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
> > > This patch causes both the hang on reboot and the lsusb hang.
> >
> > How to reproduce? Why don't we see this on x86 and TI boards? I'm
> > guessing this is failed bisection, as I can't see anything in that
> > commit that would cause reboot hang. Also, that code path is *NOT*
> > executed when you run lsusb.
> >
>
> I've tested this procedure multiple times to be sure:
>
> - checkout c499ff71, compile, boot the odroid
> - run lsusb -v => lsusb hangs, can't terminate with ctrl-c
> - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below)
> - revert c499ff71, mrproper, compile, boot the odroid
> - run lsusb -v => shows full output, not hanging
> - run reboot or poweroff => board powers off / reboots just fine
>
>
> dmesg poweroff not working:
> ...
> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
> [ 121.171739] systemd-shutdown[1]: Powering off.
>
> => at this point removing the sd card would show a message
> "removed mmc0" (not sure what the real message was...) so the board is not completely off.
>
>
> dmesg poweroff working:
> ...
> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
> [ 121.171739] systemd-shutdown[1]: Powering off.
> [ 121.182331] rebo�
>
>
>
> Best regards
> Michael Niewöhner
I did some more tests with next-20161016. Reverting / commenting out
one part of your patch "solves" the lsusb hang, the reboot problem
and also the "debounce failed" message. [1]
Another "solution" is to call phy_power_off before phy_power_on. [2]
Disclaimer: I have no idea what I was doing ;-) These were just some
simple trial-and-error attempts that maybe help to find the real
cause of the problems.
[1]
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 7287a76..5ef589d 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
/* Adjust Frame Length */
dwc3_frame_length_adjustment(dwc);
+/*
usb_phy_set_suspend(dwc->usb2_phy, 0);
usb_phy_set_suspend(dwc->usb3_phy, 0);
ret = phy_power_on(dwc->usb2_generic_phy);
@@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
ret = phy_power_on(dwc->usb3_generic_phy);
if (ret < 0)
goto err3;
+*/
ret = dwc3_event_buffers_setup(dwc);
if (ret) {
[2]
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 7287a76..f6c8e13 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc)
usb_phy_set_suspend(dwc->usb2_phy, 0);
usb_phy_set_suspend(dwc->usb3_phy, 0);
+ phy_power_off(dwc->usb2_generic_phy);
+ phy_power_off(dwc->usb3_generic_phy);
ret = phy_power_on(dwc->usb2_generic_phy);
if (ret < 0)
goto err2;
Best regards
Michael
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-16 14:19 ` Michael Niewöhner
@ 2016-10-17 8:08 ` Felipe Balbi
2016-10-17 9:51 ` Vivek Gautam
0 siblings, 1 reply; 20+ messages in thread
From: Felipe Balbi @ 2016-10-17 8:08 UTC (permalink / raw)
To: Michael Niewöhner, Kishon Vijay Abraham I
Cc: Vivek Gautam, Alim Akhtar, Pankaj Dubey, Anand Moon,
Mathias Nyman, Greg Kroah-Hartman, Kukjin Kim,
Krzysztof Kozlowski, Linux USB Mailing List, linux-arm-kernel,
linux-samsung-soc, Linux Kernel, Vivek Gautam
[-- Attachment #1: Type: text/plain, Size: 6866 bytes --]
Hi,
Michael Niewöhner <linux@mniewoehner.de> writes:
> Hi Felipe,
> On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote:
>> Hi Felipe,
>>
>> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote:
>> > Hi,
>> >
>> > Michael Niewöhner <linux@mniewoehner.de> writes:
>> > >
>> > > >
>> > > > The clocks are same across working/non-working.
>> > > > Is it possible to bisect the commit that's causing hang for 4.8x ?
>> > >
>> > >
>> > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
>> > > This patch causes both the hang on reboot and the lsusb hang.
>> >
>> > How to reproduce? Why don't we see this on x86 and TI boards? I'm
>> > guessing this is failed bisection, as I can't see anything in that
>> > commit that would cause reboot hang. Also, that code path is *NOT*
>> > executed when you run lsusb.
>> >
>>
>> I've tested this procedure multiple times to be sure:
>>
>> - checkout c499ff71, compile, boot the odroid
>> - run lsusb -v => lsusb hangs, can't terminate with ctrl-c
>> - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below)
>> - revert c499ff71, mrproper, compile, boot the odroid
>> - run lsusb -v => shows full output, not hanging
>> - run reboot or poweroff => board powers off / reboots just fine
>>
>>
>> dmesg poweroff not working:
>> ...
>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
>> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
>> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
>> [ 121.171739] systemd-shutdown[1]: Powering off.
>>
>> => at this point removing the sd card would show a message
>> "removed mmc0" (not sure what the real message was...) so the board is not completely off.
>>
>>
>> dmesg poweroff working:
>> ...
>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
>> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
>> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
>> [ 121.171739] systemd-shutdown[1]: Powering off.
>> [ 121.182331] rebo�
>>
>>
>>
>> Best regards
>> Michael Niewöhner
>
>
> I did some more tests with next-20161016. Reverting / commenting out
> one part of your patch "solves" the lsusb hang, the reboot problem
> and also the "debounce failed" message. [1]
> Another "solution" is to call phy_power_off before phy_power_on. [2]
>
> Disclaimer: I have no idea what I was doing ;-) These were just some
> simple trial-and-error attempts that maybe help to find the real
> cause of the problems.
>
> [1]
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 7287a76..5ef589d 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
> /* Adjust Frame Length */
> dwc3_frame_length_adjustment(dwc);
>
> +/*
> usb_phy_set_suspend(dwc->usb2_phy, 0);
> usb_phy_set_suspend(dwc->usb3_phy, 0);
> ret = phy_power_on(dwc->usb2_generic_phy);
> @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
> ret = phy_power_on(dwc->usb3_generic_phy);
> if (ret < 0)
> goto err3;
> +*/
>
> ret = dwc3_event_buffers_setup(dwc);
> if (ret) {
>
> [2]
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 7287a76..f6c8e13 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc)
>
> usb_phy_set_suspend(dwc->usb2_phy, 0);
> usb_phy_set_suspend(dwc->usb3_phy, 0);
> + phy_power_off(dwc->usb2_generic_phy);
> + phy_power_off(dwc->usb3_generic_phy);
This looks like a PHY driver bug to me. Which PHY driver are you using?
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-17 8:08 ` Felipe Balbi
@ 2016-10-17 9:51 ` Vivek Gautam
2016-10-18 12:20 ` Michael Niewöhner
0 siblings, 1 reply; 20+ messages in thread
From: Vivek Gautam @ 2016-10-17 9:51 UTC (permalink / raw)
To: Felipe Balbi, Michael Niewöhner, Kishon Vijay Abraham I
Cc: Alim Akhtar, Pankaj Dubey, Anand Moon, Mathias Nyman,
Greg Kroah-Hartman, Kukjin Kim, Krzysztof Kozlowski,
Linux USB Mailing List, linux-arm-kernel, linux-samsung-soc,
Linux Kernel, Vivek Gautam
On 10/17/2016 01:38 PM, Felipe Balbi wrote:
> Hi,
>
> Michael Niewöhner <linux@mniewoehner.de> writes:
>> Hi Felipe,
>> On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote:
>>> Hi Felipe,
>>>
>>> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote:
>>>> Hi,
>>>>
>>>> Michael Niewöhner <linux@mniewoehner.de> writes:
>>>>>> The clocks are same across working/non-working.
>>>>>> Is it possible to bisect the commit that's causing hang for 4.8x ?
>>>>>
>>>>> [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
>>>>> This patch causes both the hang on reboot and the lsusb hang.
>>>> How to reproduce? Why don't we see this on x86 and TI boards? I'm
>>>> guessing this is failed bisection, as I can't see anything in that
>>>> commit that would cause reboot hang. Also, that code path is *NOT*
>>>> executed when you run lsusb.
>>>>
>>> I've tested this procedure multiple times to be sure:
>>>
>>> - checkout c499ff71, compile, boot the odroid
>>> - run lsusb -v => lsusb hangs, can't terminate with ctrl-c
>>> - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below)
>>> - revert c499ff71, mrproper, compile, boot the odroid
>>> - run lsusb -v => shows full output, not hanging
>>> - run reboot or poweroff => board powers off / reboots just fine
>>>
>>>
>>> dmesg poweroff not working:
>>> ...
>>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
>>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
>>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
>>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
>>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
>>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
>>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
>>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
>>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
>>> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
>>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
>>> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
>>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
>>> [ 121.171739] systemd-shutdown[1]: Powering off.
>>>
>>> => at this point removing the sd card would show a message
>>> "removed mmc0" (not sure what the real message was...) so the board is not completely off.
>>>
>>>
>>> dmesg poweroff working:
>>> ...
>>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
>>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
>>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
>>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
>>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
>>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
>>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
>>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
>>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
>>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
>>> [ 121.126395] systemd-shutdown[1]: All loop devices detached.
>>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
>>> [ 121.135824] systemd-shutdown[1]: All DM devices detached.
>>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
>>> [ 121.171739] systemd-shutdown[1]: Powering off.
>>> [ 121.182331] rebo�
>>>
>>>
>>>
>>> Best regards
>>> Michael Niewöhner
>>
>> I did some more tests with next-20161016. Reverting / commenting out
>> one part of your patch "solves" the lsusb hang, the reboot problem
>> and also the "debounce failed" message. [1]
>> Another "solution" is to call phy_power_off before phy_power_on. [2]
>>
>> Disclaimer: I have no idea what I was doing ;-) These were just some
>> simple trial-and-error attempts that maybe help to find the real
>> cause of the problems.
>>
>> [1]
>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
>> index 7287a76..5ef589d 100644
>> --- a/drivers/usb/dwc3/core.c
>> +++ b/drivers/usb/dwc3/core.c
>> @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
>> /* Adjust Frame Length */
>> dwc3_frame_length_adjustment(dwc);
>>
>> +/*
>> usb_phy_set_suspend(dwc->usb2_phy, 0);
>> usb_phy_set_suspend(dwc->usb3_phy, 0);
>> ret = phy_power_on(dwc->usb2_generic_phy);
>> @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
>> ret = phy_power_on(dwc->usb3_generic_phy);
>> if (ret < 0)
>> goto err3;
>> +*/
>>
>> ret = dwc3_event_buffers_setup(dwc);
>> if (ret) {
>>
>> [2]
>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
>> index 7287a76..f6c8e13 100644
>> --- a/drivers/usb/dwc3/core.c
>> +++ b/drivers/usb/dwc3/core.c
>> @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc)
>>
>> usb_phy_set_suspend(dwc->usb2_phy, 0);
>> usb_phy_set_suspend(dwc->usb3_phy, 0);
>> + phy_power_off(dwc->usb2_generic_phy);
>> + phy_power_off(dwc->usb3_generic_phy);
> This looks like a PHY driver bug to me. Which PHY driver are you using?
>
The exynos5-usbdrd phy driver is used for exynos platforms.
Looks like something is not right with the phy driver even
after applying the phy_calibrate patches.
Michael, are you using the last set of patches for phy calibration [1]?
[1] https://lkml.org/lkml/2015/2/2/257.
Thanks
Vivek
--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
2016-10-17 9:51 ` Vivek Gautam
@ 2016-10-18 12:20 ` Michael Niewöhner
0 siblings, 0 replies; 20+ messages in thread
From: Michael Niewöhner @ 2016-10-18 12:20 UTC (permalink / raw)
To: Vivek Gautam, Felipe Balbi, Kishon Vijay Abraham I
Cc: Alim Akhtar, Pankaj Dubey, Anand Moon, Mathias Nyman,
Greg Kroah-Hartman, Kukjin Kim, Krzysztof Kozlowski,
Linux USB Mailing List, linux-arm-kernel, linux-samsung-soc,
Linux Kernel, Vivek Gautam
Hi,
On Mon, 2016-10-17 at 15:21 +0530, Vivek Gautam wrote:
>
> On 10/17/2016 01:38 PM, Felipe Balbi wrote:
> > Hi,
> >
> > Michael Niewöhner <linux@mniewoehner.de> writes:
> > > Hi Felipe,
> > > On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote:
> > > > Hi Felipe,
> > > >
> > > > On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote:
> > > > > Hi,
> > > > >
> > > > > Michael Niewöhner <linux@mniewoehner.de> writes:
> > > > > > > The clocks are same across working/non-working.
> > > > > > > Is it possible to bisect the commit that's causing hang for 4.8x ?
> > > > > >
> > > > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths
> > > > > > This patch causes both the hang on reboot and the lsusb hang.
> > > > >
> > > > > How to reproduce? Why don't we see this on x86 and TI boards? I'm
> > > > > guessing this is failed bisection, as I can't see anything in that
> > > > > commit that would cause reboot hang. Also, that code path is *NOT*
> > > > > executed when you run lsusb.
> > > > >
> > > >
> > > > I've tested this procedure multiple times to be sure:
> > > >
> > > > - checkout c499ff71, compile, boot the odroid
> > > > - run lsusb -v => lsusb hangs, can't terminate with ctrl-c
> > > > - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below)
> > > > - revert c499ff71, mrproper, compile, boot the odroid
> > > > - run lsusb -v => shows full output, not hanging
> > > > - run reboot or poweroff => board powers off / reboots just fine
> > > >
> > > >
> > > > dmesg poweroff not working:
> > > > ...
> > > > [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
> > > > [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
> > > > [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
> > > > [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
> > > > [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
> > > > [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
> > > > [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
> > > > [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
> > > > [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
> > > > [ 121.126395] systemd-shutdown[1]: All loop devices detached.
> > > > [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
> > > > [ 121.135824] systemd-shutdown[1]: All DM devices detached.
> > > > [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
> > > > [ 121.171739] systemd-shutdown[1]: Powering off.
> > > >
> > > > => at this point removing the sd card would show a message
> > > > "removed mmc0" (not sure what the real message was...) so the board is not completely off.
> > > >
> > > >
> > > > dmesg poweroff working:
> > > > ...
> > > > [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144
> > > > [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
> > > > [ 120.769212] systemd-shutdown[1]: Unmounting file systems.
> > > > [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
> > > > [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.
> > > > [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> > > > [ 121.101014] systemd-shutdown[1]: All filesystems unmounted.
> > > > [ 121.106523] systemd-shutdown[1]: Deactivating swaps.
> > > > [ 121.111585] systemd-shutdown[1]: All swaps deactivated.
> > > > [ 121.116661] systemd-shutdown[1]: Detaching loop devices.
> > > > [ 121.126395] systemd-shutdown[1]: All loop devices detached.
> > > > [ 121.130525] systemd-shutdown[1]: Detaching DM devices.
> > > > [ 121.135824] systemd-shutdown[1]: All DM devices detached.
> > > > [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.
> > > > [ 121.171739] systemd-shutdown[1]: Powering off.
> > > > [ 121.182331] rebo�
> > > >
> > > >
> > > >
> > > > Best regards
> > > > Michael Niewöhner
> > >
> > > I did some more tests with next-20161016. Reverting / commenting out
> > > one part of your patch "solves" the lsusb hang, the reboot problem
> > > and also the "debounce failed" message. [1]
> > > Another "solution" is to call phy_power_off before phy_power_on. [2]
> > >
> > > Disclaimer: I have no idea what I was doing ;-) These were just some
> > > simple trial-and-error attempts that maybe help to find the real
> > > cause of the problems.
> > >
> > > [1]
> > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> > > index 7287a76..5ef589d 100644
> > > --- a/drivers/usb/dwc3/core.c
> > > +++ b/drivers/usb/dwc3/core.c
> > > @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
> > > /* Adjust Frame Length */
> > > dwc3_frame_length_adjustment(dwc);
> > >
> > > +/*
> > > usb_phy_set_suspend(dwc->usb2_phy, 0);
> > > usb_phy_set_suspend(dwc->usb3_phy, 0);
> > > ret = phy_power_on(dwc->usb2_generic_phy);
> > > @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
> > > ret = phy_power_on(dwc->usb3_generic_phy);
> > > if (ret < 0)
> > > goto err3;
> > > +*/
> > >
> > > ret = dwc3_event_buffers_setup(dwc);
> > > if (ret) {
> > >
> > > [2]
> > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> > > index 7287a76..f6c8e13 100644
> > > --- a/drivers/usb/dwc3/core.c
> > > +++ b/drivers/usb/dwc3/core.c
> > > @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc)
> > >
> > > usb_phy_set_suspend(dwc->usb2_phy, 0);
> > > usb_phy_set_suspend(dwc->usb3_phy, 0);
> > > + phy_power_off(dwc->usb2_generic_phy);
> > > + phy_power_off(dwc->usb3_generic_phy);
> >
> > This looks like a PHY driver bug to me. Which PHY driver are you using?
> >
>
> The exynos5-usbdrd phy driver is used for exynos platforms.
> Looks like something is not right with the phy driver even
> after applying the phy_calibrate patches.
>
> Michael, are you using the last set of patches for phy calibration [1]?
> [1] https://lkml.org/lkml/2015/2/2/257.
yes, I'm using the original LOS level patch.
The phy patch doesn't apply to next, so I use this adapted patch:
https://github.com/c0d3z3r0/linux/commit/8b7a0b2a19e235c308b9082a14ffe73477e2c9ed
>
>
> Thanks
> Vivek
>
Michael
^ permalink raw reply [flat|nested] 20+ messages in thread