This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB4041I: Hotplug USB device issue

Part Number: TUSB4041I
Other Parts Discussed in Thread: AM3352, DP83620, DP83630, PCA9555, TUSB8041

Hi team,

   My customer is using AM3352+TUSB4041, TUSB4041 connect with the different USB devices(A1-A4). They have done below test,

  • AM3352+TUSB4041+USB device, when do hotplug experiment for A1, the AM3352 will run away;
  • AM3352+USB device, when do hotplug experiment for A1, the AM3352 runs normally;

     Customer suspect that our device will cause AM3352 to run away, when do hotplug experiment, our device cannot report this information to 3352, which cause 3352 to enter an unknown state. Could you please help share me some suggestions to find the root cause?  Thanks. 

  • Hi,On this issue, I would like to add the following information.

    I using a LTE module through TUSB4041 connect  to AM3352 USB1, When LTE module power on, the linux enumerating USB correctly, kernel dmesg info print as follows:

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.38 (test@test-virtual-machine) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP PREEMPT Fri Aug 23 12:52:06 CST 2019
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: PDZ852-SENSOR
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] cma: Reserved 48 MiB at 0x8a800000
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x440 with crng_init=0
    [ 0.000000] percpu: Embedded 15 pages/cpu s31756 r8192 d21492 u61440
    [ 0.000000] pcpu-alloc: s31756 r8192 d21492 u61440 alloc=15*4096
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.0.2:/home/test/rootfs/rootfs-dev,nolock rw ip=192.168.0.15:192.168.0.2:192.168.0.1:255.255.255.0::eth0:off
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 199428K/262144K available (7168K kernel code, 232K rwdata, 1844K rodata, 1024K init, 253K bss, 13564K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .text : 0x(ptrval) - 0x(ptrval) (8160 kB)
    .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
    .data : 0x(ptrval) - 0x(ptrval) ( 233 kB)
    .bss : 0x(ptrval) - 0x(ptrval) ( 254 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000051] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000068] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000316] timer_probe: no matching timers found
    [ 0.000589] Console: colour dummy device 80x30
    [ 0.000683] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118666] pid_max: default: 32768 minimum: 301
    [ 0.118873] Security Framework initialized
    [ 0.118896] Yama: becoming mindful.
    [ 0.119026] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119049] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.120301] CPU: Testing write buffer coherency: ok
    [ 0.120396] CPU0: Spectre v2: using BPIALL workaround
    [ 0.120971] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [ 0.178771] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.198663] rcu: Hierarchical SRCU implementation.
    [ 0.238658] smp: Bringing up secondary CPUs ...
    [ 0.238682] smp: Brought up 1 node, 1 CPU
    [ 0.238698] SMP: Total of 1 processors activated (597.60 BogoMIPS).
    [ 0.238711] CPU: All CPU(s) started in SVC mode.
    [ 0.241021] devtmpfs: initialized
    [ 0.258930] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.259576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.259614] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.264267] pinctrl core: initialized pinctrl subsystem
    [ 0.266039] NET: Registered protocol family 16
    [ 0.271938] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.301796] l4_wkup_cm:clk:0010:0: failed to disable
    [ 0.357350] cpuidle: using governor ladder
    [ 0.357422] cpuidle: using governor menu
    [ 0.365237] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [ 0.365375] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [ 0.365450] OMAP GPIO hardware version 0.1
    [ 0.366369] gpio gpiochip1: Persistence not supported for GPIO 28
    [ 0.366389] GPIO line 60 (ETHPHY_RESET_CTRL) hogged as output/high
    [ 0.366694] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [ 0.366824] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [ 0.367886] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [ 0.368006] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [ 0.369281] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [ 0.369426] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [ 0.382263] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.426940] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.427934] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator0[0]'
    [ 0.428443] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator1[0]'
    [ 0.429114] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator2[0]'
    [ 0.431426] media: Linux media interface: v0.10
    [ 0.431505] videodev: Linux video capture interface: v2.00
    [ 0.431568] pps_core: LinuxPPS API ver. 1 registered
    [ 0.431582] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.431619] PTP clock support registered
    [ 0.431673] EDAC MC: Ver: 3.0.0
    [ 0.439539] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.441642] clocksource: Switched to clocksource timer1
    [ 0.456523] NET: Registered protocol family 2
    [ 0.457777] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [ 0.457832] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.457877] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [ 0.457934] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.458089] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.458129] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.458538] NET: Registered protocol family 1
    [ 0.489718] RPC: Registered named UNIX socket transport module.
    [ 0.489743] RPC: Registered udp transport module.
    [ 0.489756] RPC: Registered tcp transport module.
    [ 0.489768] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.491277] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.493553] Initialise system trusted keyrings
    [ 0.494024] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.502908] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.514091] NFS: Registering the id_resolver key type
    [ 0.514154] Key type id_resolver registered
    [ 0.514168] Key type id_legacy registered
    [ 0.514238] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.514893] pstore: using deflate compression
    [ 0.518316] Key type asymmetric registered
    [ 0.518343] Asymmetric key parser 'x509' registered
    [ 0.518448] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 0.528837] io scheduler noop registered
    [ 0.528860] io scheduler deadline registered
    [ 0.529150] io scheduler cfq registered (default)
    [ 0.529170] io scheduler mq-deadline registered
    [ 0.529185] io scheduler kyber registered
    [ 0.531980] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 0.618717] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.624364] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.624435] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.624476] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
    [ 1.305993] console [ttyO0] enabled
    [ 1.310539] omap_uart 48022000.serial: no wakeirq for uart1
    [ 1.316509] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@48022000[0]'
    [ 1.316671] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a OMAP UART1
    [ 1.327169] omap_uart 48024000.serial: no wakeirq for uart2
    [ 1.333125] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@48024000[0]'
    [ 1.333245] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a OMAP UART2
    [ 1.343700] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 1.349587] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a6000[0]'
    [ 1.349704] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a OMAP UART3
    [ 1.360280] omap_uart 481a8000.serial: no wakeirq for uart4
    [ 1.366304] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a8000[0]'
    [ 1.366422] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a OMAP UART4
    [ 1.376930] omap_uart 481aa000.serial: no wakeirq for uart5
    [ 1.382881] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481aa000[0]'
    [ 1.382998] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a OMAP UART5
    [ 1.394750] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.417947] brd: module loaded
    [ 1.434199] loop: module loaded
    [ 1.441021] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.441039] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.441052] mdio_bus fixed-0: No GPIO consumer reset found
    [ 1.441095] libphy: Fixed MDIO Bus: probed
    [ 1.461454] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [ 1.461469] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [ 1.461503] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.461528] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.461542] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [ 1.461554] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [ 1.511718] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.519781] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [ 1.539089] libphy: 4a101000.mdio: probed
    [ 1.543491] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NatSemi DP83620/DP83630/83640 Without PTP
    [ 1.555139] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver NatSemi DP83620/DP83630/83640 Without PTP
    [ 1.567832] cpsw 4a100000.ethernet: Detected MACID = 0c:ae:7d:73:e0:9d
    [ 1.575004] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.581786] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.587324] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.596601] cpsw 4a100000.ethernet: cpsw: Detected MACID = 0c:ae:7d:73:e0:9f
    [ 1.606052] i2c /dev entries driver
    [ 1.611537] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.619954] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
    [ 1.641964] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.649757] sdhci: Secure Digital Host Controller Interface driver
    [ 1.656420] sdhci: Copyright(c) Pierre Ossman
    [ 1.662047] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.662061] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.662121] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 1.662225] gpio gpiochip0: Persistence not supported for GPIO 6
    [ 1.662247] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [ 1.671396] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.676330] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.676341] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.676368] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 1.676390] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 1.676404] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.676416] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [ 1.677024] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
    [ 1.712192] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 1.712221] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.712281] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712325] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712351] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.712374] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found
    [ 1.712401] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 1.712420] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.712461] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712501] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712525] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.712545] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found
    [ 1.713636] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
    [ 1.745463] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.754388] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-sys/leds-sys0[0]' - status (0)
    [ 1.754538] gpio gpiochip2: Persistence not supported for GPIO 4
    [ 1.754553] no flags found for gpios
    [ 1.754934] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-sys/leds-sys1[0]' - status (0)
    [ 1.754974] gpio gpiochip2: Persistence not supported for GPIO 2
    [ 1.754987] no flags found for gpios
    [ 1.755892] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user0[0]' - status (0)
    [ 1.755999] gpio gpiochip3: Persistence not supported for GPIO 21
    [ 1.756013] no flags found for gpios
    [ 1.756363] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user1[0]' - status (0)
    [ 1.756402] gpio gpiochip2: Persistence not supported for GPIO 1
    [ 1.756414] no flags found for gpios
    [ 1.756706] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user2[0]' - status (0)
    [ 1.756744] gpio gpiochip3: Persistence not supported for GPIO 18
    [ 1.756896] no flags found for gpios
    [ 1.757326] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user3[0]' - status (0)
    [ 1.757369] gpio gpiochip0: Persistence not supported for GPIO 7
    [ 1.757381] no flags found for gpios
    [ 1.757826] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user4[0]' - status (0)
    [ 1.757867] gpio gpiochip1: Persistence not supported for GPIO 22
    [ 1.757879] no flags found for gpios
    [ 1.758297] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user5[0]' - status (0)
    [ 1.758337] gpio gpiochip1: Persistence not supported for GPIO 18
    [ 1.758350] no flags found for gpios
    [ 1.758773] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user6[0]' - status (0)
    [ 1.758813] gpio gpiochip1: Persistence not supported for GPIO 24
    [ 1.758950] no flags found for gpios
    [ 1.759380] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user7[0]' - status (0)
    [ 1.759419] gpio gpiochip0: Persistence not supported for GPIO 22
    [ 1.759432] no flags found for gpios
    [ 1.759854] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user8[0]' - status (0)
    [ 1.759892] gpio gpiochip0: Persistence not supported for GPIO 26
    [ 1.759905] no flags found for gpios
    [ 1.760351] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user9[0]' - status (0)
    [ 1.760390] gpio gpiochip1: Persistence not supported for GPIO 12
    [ 1.760403] no flags found for gpios
    [ 1.761362] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out0[0]' - status (0)
    [ 1.761406] gpio gpiochip1: Persistence not supported for GPIO 17
    [ 1.761418] no flags found for gpios
    [ 1.761888] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out1[0]' - status (0)
    [ 1.761931] gpio gpiochip1: Persistence not supported for GPIO 19
    [ 1.761944] no flags found for gpios
    [ 1.762368] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out2[0]' - status (0)
    [ 1.762408] gpio gpiochip1: Persistence not supported for GPIO 23
    [ 1.762421] no flags found for gpios
    [ 1.762875] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out3[0]' - status (0)
    [ 1.762915] gpio gpiochip2: Persistence not supported for GPIO 0
    [ 1.762928] no flags found for gpios
    [ 1.763229] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out4[0]' - status (0)
    [ 1.763267] gpio gpiochip0: Persistence not supported for GPIO 30
    [ 1.763280] no flags found for gpios
    [ 1.765377] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.774271] sc1161y_probe() function is called.
    [ 1.779088] of_get_named_gpiod_flags: parsed 'pwren-gpio' property of node '/ocp/spi@481a0000/encryption@0[0]' - status (0)
    [ 1.779137] of_get_named_gpiod_flags: parsed 'ctrlcs-gpio' property of node '/ocp/spi@481a0000/encryption@0[0]' - status (0)
    [ 1.779510] sc1161y encryption probe ok: got minor 63
    [ 1.786654] NET: Registered protocol family 10
    [ 1.804643] Segment Routing with IPv6
    [ 1.808735] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.816604] NET: Registered protocol family 17
    [ 1.821558] Key type dns_resolver registered
    [ 1.826359] mmc1: new high speed MMC card at address 0001
    [ 1.832374] Registering SWP/SWPB emulation handler
    [ 1.837419] omap_voltage_late_init: Voltage driver support not added
    [ 1.844147] random: fast init done
    [ 1.849998] Loading compiled-in X.509 certificates
    [ 1.859698] mmcblk1: mmc1:0001 IS004G 3.64 GiB
    [ 1.872740] mmcblk1boot0: mmc1:0001 IS004G partition 1 2.00 MiB
    [ 1.879750] mmcblk1boot1: mmc1:0001 IS004G partition 2 2.00 MiB
    [ 1.894351] mmcblk1rpmb: mmc1:0001 IS004G partition 3 512 KiB, chardev (244:0)
    [ 1.915311] mmcblk1: p1 p2 p3 p4
    [ 1.933155] rtc rtc0: alarm rollover: day
    [ 1.933867] rtc rtc0: rx8025: dev (252:0)
    [ 1.933904] rtc-rx8025 0-0032: rtc core: registered rx8025 as rtc0
    [ 1.940898] at24 0-0050: GPIO lookup for consumer wp
    [ 1.940912] at24 0-0050: using device tree for GPIO lookup
    [ 1.940948] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@44e0b000/baseboard_eeprom@50[0]'
    [ 1.940973] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@44e0b000/baseboard_eeprom@50[0]'
    [ 1.940988] at24 0-0050: using lookup tables for GPIO lookup
    [ 1.941001] at24 0-0050: No GPIO consumer wp found
    [ 1.941493] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [ 1.948791] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.956716] pca953x 1-0020: GPIO lookup for consumer reset
    [ 1.956733] pca953x 1-0020: using device tree for GPIO lookup
    [ 1.956766] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4802a000/pca9555@20[0]'
    [ 1.956788] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4802a000/pca9555@20[0]'
    [ 1.956803] pca953x 1-0020: using lookup tables for GPIO lookup
    [ 1.956814] pca953x 1-0020: No GPIO consumer reset found
    [ 1.956986] pca953x 1-0020: Linked as a consumer to regulator.3
    [ 1.993332] gpiochip_find_base: found new base at 496
    [ 1.993682] gpio gpiochip4: (pca9555): added GPIO chardev (254:4)
    [ 1.993824] gpiochip_setup_dev: registered GPIOs 496 to 511 on device: gpiochip4 (pca9555)
    [ 1.993918] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 2.000485] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out0[0]' - status (0)
    [ 2.000524] gpio gpiochip1: Persistence not supported for GPIO 17
    [ 2.000531] no flags found for gpios
    [ 2.000749] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out1[0]' - status (0)
    [ 2.000771] gpio gpiochip1: Persistence not supported for GPIO 19
    [ 2.000778] no flags found for gpios
    [ 2.000957] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out2[0]' - status (0)
    [ 2.000977] gpio gpiochip1: Persistence not supported for GPIO 23
    [ 2.000984] no flags found for gpios
    [ 2.001141] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out3[0]' - status (0)
    [ 2.001163] gpio gpiochip2: Persistence not supported for GPIO 0
    [ 2.001169] no flags found for gpios
    [ 2.001323] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out4[0]' - status (0)
    [ 2.001343] gpio gpiochip0: Persistence not supported for GPIO 30
    [ 2.001350] no flags found for gpios
    [ 2.001509] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out5[0]' - status (0)
    [ 2.002417] no flags found for gpios
    [ 2.003631] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out6[0]' - status (0)
    [ 2.004241] no flags found for gpios
    [ 2.005382] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out7[0]' - status (0)
    [ 2.005997] no flags found for gpios
    [ 2.007151] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out8[0]' - status (0)
    [ 2.007746] no flags found for gpios
    [ 2.009549] rtc-rx8025 0-0032: Starting synchronization hwclcok to system clock
    [ 2.017374] rtc-rx8025 0-0032: Synchronization ...

    [ 3.073300] rtc-rx8025 0-0032: Complete synchronization hwclcok to system clock(15)
    [ 3.081416] rtc-rx8025 0-0032: setting system clock to 2019-08-23 13:53:58 UTC (1566568438)
    [ 3.090354] rtc-rx8025 0-0032: Read system clock:tv_sec=(1566568438), tv_usec=208972
    [ 3.116124] net eth0: initializing cpsw version 1.12 (0)
    [ 3.222138] NatSemi DP83620/DP83630/83640 Without PTP 4a101000.mdio:01: attached PHY driver [NatSemi DP83620/DP83630/83640 Without PTP] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    [ 3.246801] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 6.322855] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 6.341842] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 6.371853] IP-Config: Complete:
    [ 6.375268] device=eth0, hwaddr=0c:ae:7d:73:e0:9d, ipaddr=192.168.0.15, mask=255.255.255.0, gw=192.168.0.1
    [ 6.386210] host=192.168.0.15, domain=, nis-domain=(none)
    [ 6.392538] bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
    [ 6.429695] VFS: Mounted root (nfs filesystem) on device 0:14.
    [ 6.437522] devtmpfs: mounted
    [ 6.443808] Freeing unused kernel memory: 1024K
    [ 6.449180] Run /sbin/init as init process
    [ 7.933382] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [ 7.965395] systemd[1]: Detected architecture arm.
    [ 8.045266] systemd[1]: Set hostname to <>.
    [ 8.068268] systemd[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [ 8.076899] systemd[1]: Set hardware watchdog to 20s.
    [ 9.998739] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.007115] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 10.043231] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.062361] systemd[1]: Created slice System Slice.
    [ 10.092491] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.105719] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ 10.145663] systemd[1]: Listening on Syslog Socket.
    [ 10.184320] systemd[1]: Listening on Journal Socket.
    [ 10.482495] random: crng init done
    [ 10.487517] random: 7 urandom warning(s) missed due to ratelimiting
    [ 12.519279] systemd-journald[81]: Received request to flush runtime journal from PID 1
    [ 20.108488] CAN device driver interface
    [ 20.743188] c_can_platform 481cc000.can: c_can_platform device registered (regs=baa7f7cc, irq=41)
    [ 22.583761] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 23.055889] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
    [ 23.248791] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 23.439278] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 29.869212] net eth1: initializing cpsw version 1.12 (0)
    [ 29.983004] NatSemi DP83620/DP83630/83640 Without PTP 4a101000.mdio:03: attached PHY driver [NatSemi DP83620/DP83630/83640 Without PTP] (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
    [ 29.986035] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 37.075945] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 37.075969] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 37.076014] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076040] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076057] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 37.076070] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [ 37.076083] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 37.076092] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 37.076115] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076137] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076149] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 37.076159] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
    [ 37.076516] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.2
    [ 37.217044] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 37.217069] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 37.217123] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217148] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217167] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 37.217180] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
    [ 37.217194] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 37.217203] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 37.217226] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217247] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217260] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 37.217270] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found
    [ 37.217623] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.2
    [ 38.529858] usbcore: registered new interface driver usbfs
    [ 38.529977] usbcore: registered new interface driver hub
    [ 38.552789] usbcore: registered new device driver usb
    [ 39.184765] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 39.184861] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [ 39.245144] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 39.245170] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 39.245181] usb usb1: Product: MUSB HDRC host driver
    [ 39.245192] usb usb1: Manufacturer: Linux 4.19.38 musb-hcd
    [ 39.245202] usb usb1: SerialNumber: musb-hdrc.0
    [ 39.253378] hub 1-0:1.0: USB hub found
    [ 39.253539] hub 1-0:1.0: 1 port detected
    [ 39.303383] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 39.303475] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [ 39.311155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 39.311178] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 39.311189] usb usb2: Product: MUSB HDRC host driver
    [ 39.311200] usb usb2: Manufacturer: Linux 4.19.38 musb-hcd
    [ 39.311210] usb usb2: SerialNumber: musb-hdrc.1
    [ 39.334449] hub 2-0:1.0: USB hub found
    [ 39.359201] hub 2-0:1.0: 1 port detected
    [ 39.822074] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 40.002604] usb 2-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [ 40.002628] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [ 40.002640] usb 2-1: SerialNumber: DB0000712C4B
    [ 40.005172] hub 2-1:1.0: USB hub found
    [ 40.005603] hub 2-1:1.0: 4 ports detected
    [ 59.516099] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [ 59.645613] Bridge firewalling registered
    [ 63.412216] Initializing XFRM netlink socket
    [ 65.297560] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
    [ 142.701749] usb 2-1.4: new high-speed USB device number 3 using musb-hdrc
    [ 142.844960] usb 2-1.4: New USB device found, idVendor=3763, idProduct=3c93, bcdDevice= 3.18
    [ 142.845000] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 142.845022] usb 2-1.4: Product: Android
    [ 142.845042] usb 2-1.4: Manufacturer: Android
    [ 142.845063] usb 2-1.4: SerialNumber: 20ae3d01
    [ 143.606949] usbcore: registered new interface driver option
    [ 143.627659] usbserial: USB Serial support registered for GSM modem (1-port)
    [ 143.628734] option 2-1.4:1.0: GSM modem (1-port) converter detected
    [ 143.659818] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
    [ 143.685703] option 2-1.4:1.1: GSM modem (1-port) converter detected
    [ 143.716096] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
    [ 143.754958] option 2-1.4:1.2: GSM modem (1-port) converter detected
    [ 143.775886] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
    [ 143.823364] cdc_ether 2-1.4:1.3 usb0: register 'cdc_ether' at usb-musb-hdrc.1-1.4, CDC Ethernet Device, 7a:22:a9:af:4f:ad
    [ 143.827125] option 2-1.4:1.5: GSM modem (1-port) converter detected
    [ 143.827899] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB3
    [ 143.867902] usbcore: registered new interface driver cdc_ether
    [ 149.993438] cdc_ether 2-1.4:1.3 lte0: renamed from usb0

    linux enumerate for ttyUSB ports and one CDC Ethernet Device.

    lsusb info as follows:

    root@test# lsusb
    Bus 002 Device 005: ID 3763:3c93
    Bus 002 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@test# lsusb -t
    /: Bus 02.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 4, If 0, class="Hub", Driver=hub/4p, 480M
    |__ Port 4: Dev 5, If 0, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 1, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 2, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 3, class="Communications", Driver=cdc_ether, 480M
    |__ Port 4: Dev 5, If 4, class="CDC" Data, Driver=cdc_ether, 480M
    |__ Port 4: Dev 5, If 5, class="Vendor" Specific Class, Driver=option, 480M
    /: Bus 01.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M

    Then, I power off (or unplug )the LTE module, linux Kernel stop running,ttyO0 termial and networking both no response ,kernel heartbeat led stop flashing,  kernel don't print any more dmesg info.

    In this state,When I unplug  TUSB4041 from Am3352 USB1, linux kernel recovery  to normal working, heartbeat led begin flashing, termial and networking both return to working, and dmesg  print usb disconnect info

    [ 260.966850] usb 2-1: USB disconnect, device number 2
    [ 260.966898] usb 2-1.4: USB disconnect, device number 3
    [ 260.980230] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 260.980577] option 2-1.4:1.0: device disconnected
    [ 260.988297] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 260.988598] option 2-1.4:1.1: device disconnected
    [ 261.003237] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 261.003471] option 2-1.4:1.2: device disconnected
    [ 261.004611] cdc_ether 2-1.4:1.3 lte0: unregister 'cdc_ether' usb-musb-hdrc.1-1.4, CDC Ethernet Device
    [ 261.034563] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [ 261.034718] option 2-1.4:1.5: device disconnected

    After this operation,I did two extra tests:

    1) AM3352+TUSB4041+LTE module, When LTE module working  fine, before power off the LTE module, I do  follows  two steps:

    dhcpcd -k lte0
    close all open ttyUSB

     Then ,I power off  LTE module, Kernel don't enter stop status, every thing work fine,  dmesg can print usb disconnected info:

    [ 3298.326609] usb 2-1.4: USB disconnect, device number 5
    [ 3298.332465] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 3298.332700] option 2-1.4:1.0: device disconnected
    [ 3298.337618] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 3298.337788] option 2-1.4:1.1: device disconnected
    [ 3298.343423] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 3298.343604] option 2-1.4:1.2: device disconnected
    [ 3298.344022] cdc_ether 2-1.4:1.3 lte0: unregister 'cdc_ether' usb-musb-hdrc.1-1.4, CDC Ethernet Device
    [ 3298.384089] option1 ttyUSB5: GSM modem (1-port) converter now disconnected from ttyUSB5
    [ 3298.384243] option 2-1.4:1.5: device disconnected

      USB hub still working

    root@test# lsusb
    Bus 002 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@test# lsusb -t
    /: Bus 02.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 4, If 0, class="Hub", Driver=hub/4p, 480M
    /: Bus 01.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M

    2) AM3352+LTE module,  at this time, I connect LTE module direct to AM3352,When LTE module working, I power off the LTE module, kernel don't enter stop status, every thing work fine.

    PS. I have tested on PROCESSOR-SDK-LINUX-AM335X 06.00.00.07, 05.03.00.07, 04.03.00.05, both same problem occured

    After above test, my question is why disnonect LTE module from TUSB4041 cause kernel crash, is kernel  driver bug?

     

  • Hi,On this issue, I will describe it in detail.
    I using a LTE module through TUSB4041 connect to AM3352 USB1, when power on LTE module, Linux Kernel can correct enumerate every usb devices,dmesg as follow:
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.38 (test@test-virtual-machine) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP PREEMPT Fri Aug 23 12:52:06 CST 2019
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: PDZ852-SENSOR
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] cma: Reserved 48 MiB at 0x8a800000
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x440 with crng_init=0
    [ 0.000000] percpu: Embedded 15 pages/cpu s31756 r8192 d21492 u61440
    [ 0.000000] pcpu-alloc: s31756 r8192 d21492 u61440 alloc=15*4096
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.0.2:/home/test/rootfs/rootfs-dev,nolock rw ip=192.168.0.15:192.168.0.2:192.168.0.1:255.255.255.0::eth0:off
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 199428K/262144K available (7168K kernel code, 232K rwdata, 1844K rodata, 1024K init, 253K bss, 13564K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .text : 0x(ptrval) - 0x(ptrval) (8160 kB)
    .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
    .data : 0x(ptrval) - 0x(ptrval) ( 233 kB)
    .bss : 0x(ptrval) - 0x(ptrval) ( 254 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000051] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000068] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000316] timer_probe: no matching timers found
    [ 0.000589] Console: colour dummy device 80x30
    [ 0.000683] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118666] pid_max: default: 32768 minimum: 301
    [ 0.118873] Security Framework initialized
    [ 0.118896] Yama: becoming mindful.
    [ 0.119026] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119049] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.120301] CPU: Testing write buffer coherency: ok
    [ 0.120396] CPU0: Spectre v2: using BPIALL workaround
    [ 0.120971] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [ 0.178771] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.198663] rcu: Hierarchical SRCU implementation.
    [ 0.238658] smp: Bringing up secondary CPUs ...
    [ 0.238682] smp: Brought up 1 node, 1 CPU
    [ 0.238698] SMP: Total of 1 processors activated (597.60 BogoMIPS).
    [ 0.238711] CPU: All CPU(s) started in SVC mode.
    [ 0.241021] devtmpfs: initialized
    [ 0.258930] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.259576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.259614] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.264267] pinctrl core: initialized pinctrl subsystem
    [ 0.266039] NET: Registered protocol family 16
    [ 0.271938] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.301796] l4_wkup_cm:clk:0010:0: failed to disable
    [ 0.357350] cpuidle: using governor ladder
    [ 0.357422] cpuidle: using governor menu
    [ 0.365237] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [ 0.365375] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [ 0.365450] OMAP GPIO hardware version 0.1
    [ 0.366369] gpio gpiochip1: Persistence not supported for GPIO 28
    [ 0.366389] GPIO line 60 (ETHPHY_RESET_CTRL) hogged as output/high
    [ 0.366694] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [ 0.366824] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [ 0.367886] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [ 0.368006] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [ 0.369281] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [ 0.369426] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [ 0.382263] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.426940] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.427934] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator0[0]'
    [ 0.428443] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator1[0]'
    [ 0.429114] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulators/fixedregulator2[0]'
    [ 0.431426] media: Linux media interface: v0.10
    [ 0.431505] videodev: Linux video capture interface: v2.00
    [ 0.431568] pps_core: LinuxPPS API ver. 1 registered
    [ 0.431582] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.431619] PTP clock support registered
    [ 0.431673] EDAC MC: Ver: 3.0.0
    [ 0.439539] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.441642] clocksource: Switched to clocksource timer1
    [ 0.456523] NET: Registered protocol family 2
    [ 0.457777] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [ 0.457832] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.457877] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [ 0.457934] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.458089] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.458129] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.458538] NET: Registered protocol family 1
    [ 0.489718] RPC: Registered named UNIX socket transport module.
    [ 0.489743] RPC: Registered udp transport module.
    [ 0.489756] RPC: Registered tcp transport module.
    [ 0.489768] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.491277] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.493553] Initialise system trusted keyrings
    [ 0.494024] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.502908] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.514091] NFS: Registering the id_resolver key type
    [ 0.514154] Key type id_resolver registered
    [ 0.514168] Key type id_legacy registered
    [ 0.514238] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.514893] pstore: using deflate compression
    [ 0.518316] Key type asymmetric registered
    [ 0.518343] Asymmetric key parser 'x509' registered
    [ 0.518448] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 0.528837] io scheduler noop registered
    [ 0.528860] io scheduler deadline registered
    [ 0.529150] io scheduler cfq registered (default)
    [ 0.529170] io scheduler mq-deadline registered
    [ 0.529185] io scheduler kyber registered
    [ 0.531980] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 0.618717] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.624364] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.624435] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.624476] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
    [ 1.305993] console [ttyO0] enabled
    [ 1.310539] omap_uart 48022000.serial: no wakeirq for uart1
    [ 1.316509] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@48022000[0]'
    [ 1.316671] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a OMAP UART1
    [ 1.327169] omap_uart 48024000.serial: no wakeirq for uart2
    [ 1.333125] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@48024000[0]'
    [ 1.333245] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a OMAP UART2
    [ 1.343700] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 1.349587] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a6000[0]'
    [ 1.349704] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a OMAP UART3
    [ 1.360280] omap_uart 481a8000.serial: no wakeirq for uart4
    [ 1.366304] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a8000[0]'
    [ 1.366422] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a OMAP UART4
    [ 1.376930] omap_uart 481aa000.serial: no wakeirq for uart5
    [ 1.382881] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481aa000[0]'
    [ 1.382998] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a OMAP UART5
    [ 1.394750] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.417947] brd: module loaded
    [ 1.434199] loop: module loaded
    [ 1.441021] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.441039] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.441052] mdio_bus fixed-0: No GPIO consumer reset found
    [ 1.441095] libphy: Fixed MDIO Bus: probed
    [ 1.461454] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [ 1.461469] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [ 1.461503] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.461528] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [ 1.461542] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [ 1.461554] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [ 1.511718] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.519781] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [ 1.539089] libphy: 4a101000.mdio: probed
    [ 1.543491] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NatSemi DP83620/DP83630/83640 Without PTP
    [ 1.555139] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver NatSemi DP83620/DP83630/83640 Without PTP
    [ 1.567832] cpsw 4a100000.ethernet: Detected MACID = 0c:ae:7d:73:e0:9d
    [ 1.575004] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.581786] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.587324] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.596601] cpsw 4a100000.ethernet: cpsw: Detected MACID = 0c:ae:7d:73:e0:9f
    [ 1.606052] i2c /dev entries driver
    [ 1.611537] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.619954] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
    [ 1.641964] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.649757] sdhci: Secure Digital Host Controller Interface driver
    [ 1.656420] sdhci: Copyright(c) Pierre Ossman
    [ 1.662047] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.662061] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.662121] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 1.662225] gpio gpiochip0: Persistence not supported for GPIO 6
    [ 1.662247] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [ 1.671396] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.676330] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.676341] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.676368] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 1.676390] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 1.676404] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.676416] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [ 1.677024] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
    [ 1.712192] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 1.712221] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.712281] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712325] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712351] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.712374] omap_hsmmc 481d8000.mmc: No GPIO consumer cd found
    [ 1.712401] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 1.712420] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 1.712461] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712501] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 1.712525] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 1.712545] omap_hsmmc 481d8000.mmc: No GPIO consumer wp found
    [ 1.713636] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
    [ 1.745463] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.754388] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-sys/leds-sys0[0]' - status (0)
    [ 1.754538] gpio gpiochip2: Persistence not supported for GPIO 4
    [ 1.754553] no flags found for gpios
    [ 1.754934] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-sys/leds-sys1[0]' - status (0)
    [ 1.754974] gpio gpiochip2: Persistence not supported for GPIO 2
    [ 1.754987] no flags found for gpios
    [ 1.755892] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user0[0]' - status (0)
    [ 1.755999] gpio gpiochip3: Persistence not supported for GPIO 21
    [ 1.756013] no flags found for gpios
    [ 1.756363] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user1[0]' - status (0)
    [ 1.756402] gpio gpiochip2: Persistence not supported for GPIO 1
    [ 1.756414] no flags found for gpios
    [ 1.756706] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user2[0]' - status (0)
    [ 1.756744] gpio gpiochip3: Persistence not supported for GPIO 18
    [ 1.756896] no flags found for gpios
    [ 1.757326] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user3[0]' - status (0)
    [ 1.757369] gpio gpiochip0: Persistence not supported for GPIO 7
    [ 1.757381] no flags found for gpios
    [ 1.757826] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user4[0]' - status (0)
    [ 1.757867] gpio gpiochip1: Persistence not supported for GPIO 22
    [ 1.757879] no flags found for gpios
    [ 1.758297] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user5[0]' - status (0)
    [ 1.758337] gpio gpiochip1: Persistence not supported for GPIO 18
    [ 1.758350] no flags found for gpios
    [ 1.758773] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user6[0]' - status (0)
    [ 1.758813] gpio gpiochip1: Persistence not supported for GPIO 24
    [ 1.758950] no flags found for gpios
    [ 1.759380] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user7[0]' - status (0)
    [ 1.759419] gpio gpiochip0: Persistence not supported for GPIO 22
    [ 1.759432] no flags found for gpios
    [ 1.759854] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user8[0]' - status (0)
    [ 1.759892] gpio gpiochip0: Persistence not supported for GPIO 26
    [ 1.759905] no flags found for gpios
    [ 1.760351] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-user/led-user9[0]' - status (0)
    [ 1.760390] gpio gpiochip1: Persistence not supported for GPIO 12
    [ 1.760403] no flags found for gpios
    [ 1.761362] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out0[0]' - status (0)
    [ 1.761406] gpio gpiochip1: Persistence not supported for GPIO 17
    [ 1.761418] no flags found for gpios
    [ 1.761888] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out1[0]' - status (0)
    [ 1.761931] gpio gpiochip1: Persistence not supported for GPIO 19
    [ 1.761944] no flags found for gpios
    [ 1.762368] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out2[0]' - status (0)
    [ 1.762408] gpio gpiochip1: Persistence not supported for GPIO 23
    [ 1.762421] no flags found for gpios
    [ 1.762875] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out3[0]' - status (0)
    [ 1.762915] gpio gpiochip2: Persistence not supported for GPIO 0
    [ 1.762928] no flags found for gpios
    [ 1.763229] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out4[0]' - status (0)
    [ 1.763267] gpio gpiochip0: Persistence not supported for GPIO 30
    [ 1.763280] no flags found for gpios
    [ 1.765377] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.774271] sc1161y_probe() function is called.
    [ 1.779088] of_get_named_gpiod_flags: parsed 'pwren-gpio' property of node '/ocp/spi@481a0000/encryption@0[0]' - status (0)
    [ 1.779137] of_get_named_gpiod_flags: parsed 'ctrlcs-gpio' property of node '/ocp/spi@481a0000/encryption@0[0]' - status (0)
    [ 1.779510] sc1161y encryption probe ok: got minor 63
    [ 1.786654] NET: Registered protocol family 10
    [ 1.804643] Segment Routing with IPv6
    [ 1.808735] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.816604] NET: Registered protocol family 17
    [ 1.821558] Key type dns_resolver registered
    [ 1.826359] mmc1: new high speed MMC card at address 0001
    [ 1.832374] Registering SWP/SWPB emulation handler
    [ 1.837419] omap_voltage_late_init: Voltage driver support not added
    [ 1.844147] random: fast init done
    [ 1.849998] Loading compiled-in X.509 certificates
    [ 1.859698] mmcblk1: mmc1:0001 IS004G 3.64 GiB
    [ 1.872740] mmcblk1boot0: mmc1:0001 IS004G partition 1 2.00 MiB
    [ 1.879750] mmcblk1boot1: mmc1:0001 IS004G partition 2 2.00 MiB
    [ 1.894351] mmcblk1rpmb: mmc1:0001 IS004G partition 3 512 KiB, chardev (244:0)
    [ 1.915311] mmcblk1: p1 p2 p3 p4
    [ 1.933155] rtc rtc0: alarm rollover: day
    [ 1.933867] rtc rtc0: rx8025: dev (252:0)
    [ 1.933904] rtc-rx8025 0-0032: rtc core: registered rx8025 as rtc0
    [ 1.940898] at24 0-0050: GPIO lookup for consumer wp
    [ 1.940912] at24 0-0050: using device tree for GPIO lookup
    [ 1.940948] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@44e0b000/baseboard_eeprom@50[0]'
    [ 1.940973] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@44e0b000/baseboard_eeprom@50[0]'
    [ 1.940988] at24 0-0050: using lookup tables for GPIO lookup
    [ 1.941001] at24 0-0050: No GPIO consumer wp found
    [ 1.941493] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [ 1.948791] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.956716] pca953x 1-0020: GPIO lookup for consumer reset
    [ 1.956733] pca953x 1-0020: using device tree for GPIO lookup
    [ 1.956766] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4802a000/pca9555@20[0]'
    [ 1.956788] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4802a000/pca9555@20[0]'
    [ 1.956803] pca953x 1-0020: using lookup tables for GPIO lookup
    [ 1.956814] pca953x 1-0020: No GPIO consumer reset found
    [ 1.956986] pca953x 1-0020: Linked as a consumer to regulator.3
    [ 1.993332] gpiochip_find_base: found new base at 496
    [ 1.993682] gpio gpiochip4: (pca9555): added GPIO chardev (254:4)
    [ 1.993824] gpiochip_setup_dev: registered GPIOs 496 to 511 on device: gpiochip4 (pca9555)
    [ 1.993918] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 2.000485] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out0[0]' - status (0)
    [ 2.000524] gpio gpiochip1: Persistence not supported for GPIO 17
    [ 2.000531] no flags found for gpios
    [ 2.000749] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out1[0]' - status (0)
    [ 2.000771] gpio gpiochip1: Persistence not supported for GPIO 19
    [ 2.000778] no flags found for gpios
    [ 2.000957] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out2[0]' - status (0)
    [ 2.000977] gpio gpiochip1: Persistence not supported for GPIO 23
    [ 2.000984] no flags found for gpios
    [ 2.001141] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out3[0]' - status (0)
    [ 2.001163] gpio gpiochip2: Persistence not supported for GPIO 0
    [ 2.001169] no flags found for gpios
    [ 2.001323] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out4[0]' - status (0)
    [ 2.001343] gpio gpiochip0: Persistence not supported for GPIO 30
    [ 2.001350] no flags found for gpios
    [ 2.001509] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out5[0]' - status (0)
    [ 2.002417] no flags found for gpios
    [ 2.003631] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out6[0]' - status (0)
    [ 2.004241] no flags found for gpios
    [ 2.005382] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out7[0]' - status (0)
    [ 2.005997] no flags found for gpios
    [ 2.007151] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds-iio/led-out8[0]' - status (0)
    [ 2.007746] no flags found for gpios
    [ 2.009549] rtc-rx8025 0-0032: Starting synchronization hwclcok to system clock
    [ 2.017374] rtc-rx8025 0-0032: Synchronization ...

    [ 3.073300] rtc-rx8025 0-0032: Complete synchronization hwclcok to system clock(15)
    [ 3.081416] rtc-rx8025 0-0032: setting system clock to 2019-08-23 13:53:58 UTC (1566568438)
    [ 3.090354] rtc-rx8025 0-0032: Read system clock:tv_sec=(1566568438), tv_usec=208972
    [ 3.116124] net eth0: initializing cpsw version 1.12 (0)
    [ 3.222138] NatSemi DP83620/DP83630/83640 Without PTP 4a101000.mdio:01: attached PHY driver [NatSemi DP83620/DP83630/83640 Without PTP] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    [ 3.246801] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 6.322855] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 6.341842] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 6.371853] IP-Config: Complete:
    [ 6.375268] device=eth0, hwaddr=0c:ae:7d:73:e0:9d, ipaddr=192.168.0.15, mask=255.255.255.0, gw=192.168.0.1
    [ 6.386210] host=192.168.0.15, domain=, nis-domain=(none)
    [ 6.392538] bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
    [ 6.429695] VFS: Mounted root (nfs filesystem) on device 0:14.
    [ 6.437522] devtmpfs: mounted
    [ 6.443808] Freeing unused kernel memory: 1024K
    [ 6.449180] Run /sbin/init as init process
    [ 7.933382] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [ 7.965395] systemd[1]: Detected architecture arm.
    [ 8.045266] systemd[1]: Set hostname to <>.
    [ 8.068268] systemd[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [ 8.076899] systemd[1]: Set hardware watchdog to 20s.
    [ 9.998739] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.007115] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 10.043231] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.062361] systemd[1]: Created slice System Slice.
    [ 10.092491] random: systemd: uninitialized urandom read (16 bytes read)
    [ 10.105719] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ 10.145663] systemd[1]: Listening on Syslog Socket.
    [ 10.184320] systemd[1]: Listening on Journal Socket.
    [ 10.482495] random: crng init done
    [ 10.487517] random: 7 urandom warning(s) missed due to ratelimiting
    [ 12.519279] systemd-journald[81]: Received request to flush runtime journal from PID 1
    [ 20.108488] CAN device driver interface
    [ 20.743188] c_can_platform 481cc000.can: c_can_platform device registered (regs=baa7f7cc, irq=41)
    [ 22.583761] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 23.055889] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
    [ 23.248791] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 23.439278] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 29.869212] net eth1: initializing cpsw version 1.12 (0)
    [ 29.983004] NatSemi DP83620/DP83630/83640 Without PTP 4a101000.mdio:03: attached PHY driver [NatSemi DP83620/DP83630/83640 Without PTP] (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
    [ 29.986035] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 37.075945] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 37.075969] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 37.076014] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076040] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076057] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 37.076070] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [ 37.076083] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 37.076092] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 37.076115] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076137] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 37.076149] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 37.076159] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
    [ 37.076516] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.2
    [ 37.217044] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 37.217069] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 37.217123] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217148] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217167] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 37.217180] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
    [ 37.217194] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 37.217203] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 37.217226] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217247] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 37.217260] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 37.217270] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found
    [ 37.217623] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.2
    [ 38.529858] usbcore: registered new interface driver usbfs
    [ 38.529977] usbcore: registered new interface driver hub
    [ 38.552789] usbcore: registered new device driver usb
    [ 39.184765] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 39.184861] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [ 39.245144] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 39.245170] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 39.245181] usb usb1: Product: MUSB HDRC host driver
    [ 39.245192] usb usb1: Manufacturer: Linux 4.19.38 musb-hcd
    [ 39.245202] usb usb1: SerialNumber: musb-hdrc.0
    [ 39.253378] hub 1-0:1.0: USB hub found
    [ 39.253539] hub 1-0:1.0: 1 port detected
    [ 39.303383] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 39.303475] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [ 39.311155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 39.311178] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 39.311189] usb usb2: Product: MUSB HDRC host driver
    [ 39.311200] usb usb2: Manufacturer: Linux 4.19.38 musb-hcd
    [ 39.311210] usb usb2: SerialNumber: musb-hdrc.1
    [ 39.334449] hub 2-0:1.0: USB hub found
    [ 39.359201] hub 2-0:1.0: 1 port detected
    [ 39.822074] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 40.002604] usb 2-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [ 40.002628] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [ 40.002640] usb 2-1: SerialNumber: DB0000712C4B
    [ 40.005172] hub 2-1:1.0: USB hub found
    [ 40.005603] hub 2-1:1.0: 4 ports detected
    [ 59.516099] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [ 59.645613] Bridge firewalling registered
    [ 63.412216] Initializing XFRM netlink socket
    [ 65.297560] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
    [ 142.701749] usb 2-1.4: new high-speed USB device number 3 using musb-hdrc
    [ 142.844960] usb 2-1.4: New USB device found, idVendor=3763, idProduct=3c93, bcdDevice= 3.18
    [ 142.845000] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 142.845022] usb 2-1.4: Product: Android
    [ 142.845042] usb 2-1.4: Manufacturer: Android
    [ 142.845063] usb 2-1.4: SerialNumber: 20ae3d01
    [ 143.606949] usbcore: registered new interface driver option
    [ 143.627659] usbserial: USB Serial support registered for GSM modem (1-port)
    [ 143.628734] option 2-1.4:1.0: GSM modem (1-port) converter detected
    [ 143.659818] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
    [ 143.685703] option 2-1.4:1.1: GSM modem (1-port) converter detected
    [ 143.716096] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
    [ 143.754958] option 2-1.4:1.2: GSM modem (1-port) converter detected
    [ 143.775886] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
    [ 143.823364] cdc_ether 2-1.4:1.3 usb0: register 'cdc_ether' at usb-musb-hdrc.1-1.4, CDC Ethernet Device, 7a:22:a9:af:4f:ad
    [ 143.827125] option 2-1.4:1.5: GSM modem (1-port) converter detected
    [ 143.827899] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB3
    [ 143.867902] usbcore: registered new interface driver cdc_ether
    [ 149.993438] cdc_ether 2-1.4:1.3 lte0: renamed from usb0

    Linux Kernel enumerate four ttyUSB and one CDC Ethernet Device, both devices working fine. lsusb info as follow:
    root@test# lsusb
    Bus 002 Device 005: ID 3763:3c93
    Bus 002 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@test# lsusb -t
    /: Bus 02.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 4, If 0, class="Hub", Driver=hub/4p, 480M
    |__ Port 4: Dev 5, If 0, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 1, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 2, class="Vendor" Specific Class, Driver=option, 480M
    |__ Port 4: Dev 5, If 3, class="Communications", Driver=cdc_ether, 480M
    |__ Port 4: Dev 5, If 4, class="CDC" Data, Driver=cdc_ether, 480M
    |__ Port 4: Dev 5, If 5, class="Vendor" Specific Class, Driver=option, 480M
    /: Bus 01.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M

    When I do this operation : power off (or unplug)LTE module when usb devices using, the kernel enter stop status. ttyO0 Console and networing stop , have no response , kernel heartbeat led stop flashing. Also dmesg don't print any more info about this errors.

    But, in this status, I unplug TUSB4041 form AM3352 USB1, the kernel return to normal working immediately,heartbeat led start flashing. ttyO0 Console and networing return to work fine.dmesg also print usb disconnect info now.
    [ 260.966850] usb 2-1: USB disconnect, device number 2
    [ 260.966898] usb 2-1.4: USB disconnect, device number 3
    [ 260.980230] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 260.980577] option 2-1.4:1.0: device disconnected
    [ 260.988297] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 260.988598] option 2-1.4:1.1: device disconnected
    [ 261.003237] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 261.003471] option 2-1.4:1.2: device disconnected
    [ 261.004611] cdc_ether 2-1.4:1.3 lte0: unregister 'cdc_ether' usb-musb-hdrc.1-1.4, CDC Ethernet Device
    [ 261.034563] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [ 261.034718] option 2-1.4:1.5: device disconnected

    On this issue, I did two additional tests:
    1)AM3352 + TUSB4041 + LTE module , Before power off the module , i do two steps:
    1.dhcpcd -k usb0
    2.close all opened ttyUSB device
    After this operations, I power off the module, the kernel don't enter stop , eveything working fine, dmesg print usb disconnect info immediately:
    [ 3298.326609] usb 2-1.4: USB disconnect, device number 5
    [ 3298.332465] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 3298.332700] option 2-1.4:1.0: device disconnected
    [ 3298.337618] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 3298.337788] option 2-1.4:1.1: device disconnected
    [ 3298.343423] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 3298.343604] option 2-1.4:1.2: device disconnected
    [ 3298.344022] cdc_ether 2-1.4:1.3 lte0: unregister 'cdc_ether' usb-musb-hdrc.1-1.4, CDC Ethernet Device
    [ 3298.384089] option1 ttyUSB5: GSM modem (1-port) converter now disconnected from ttyUSB5
    [ 3298.384243] option 2-1.4:1.5: device disconnected
    and usb hub still working fine:
    root@test# lsusb
    Bus 002 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@test# lsusb -t
    /: Bus 02.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 4, If 0, class="Hub", Driver=hub/4p, 480M
    /: Bus 01.Port 1: Dev 1, class="root_hub", Driver=musb-hdrc/1p, 480M

    2)AM3352 + LTE module , I connect LTE module direct to AM3352 USB1 with no usb hub,at this time, When USB devices working,I power off (or unplug)LTE module , kernel still working fine, don't enter stop , eveything working fine, dmesg print usb disconnect info immediately.

    PS.I did all tests on PROCESSOR-SDK-LINUX-AM335X 06_00_00_07 , 05.03.00.07, 04.03.00.05, the same problem happened.

    So, after doing these tests, My question is this a kernel driver bug, how can i fix it?

  • Hi Charles,

    What is the Processor SDK version running on AM3352?

    Please run the command 'lsusb -v' on the AM3352 board with both hub and usb device attached and post the log file.

  • Hi ,

    I used Processor SDK 06_00_00_07,also 05.03.00.07, 04.03.00.05, I test the same problem happened.

    lsusb -v
    Bus 002 Device 006: ID 3763:3c93
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x3763
    idProduct 0x3c93
    bcdDevice 3.18
    iManufacturer 1 Android
    iProduct 2 Android
    iSerial 3 20ae3d01
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 258
    bNumInterfaces 6
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 3
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    ** UNRECOGNIZED: 05 24 00 10 01
    ** UNRECOGNIZED: 05 24 01 00 00
    ** UNRECOGNIZED: 04 24 02 02
    ** UNRECOGNIZED: 05 24 06 00 00
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 EP 2 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x000a 1x 10 bytes
    bInterval 9
    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 0x01 EP 1 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 0
    bNumEndpoints 3
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    ** UNRECOGNIZED: 05 24 00 10 01
    ** UNRECOGNIZED: 05 24 01 00 00
    ** UNRECOGNIZED: 04 24 02 02
    ** UNRECOGNIZED: 05 24 06 00 00
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x84 EP 4 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x000a 1x 10 bytes
    bInterval 9
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 EP 3 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
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 2
    bAlternateSetting 0
    bNumEndpoints 3
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    ** UNRECOGNIZED: 05 24 00 10 01
    ** UNRECOGNIZED: 05 24 01 00 00
    ** UNRECOGNIZED: 04 24 02 02
    ** UNRECOGNIZED: 05 24 06 00 00
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x86 EP 6 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x000a 1x 10 bytes
    bInterval 9
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x85 EP 5 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 0x03 EP 3 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Interface Association:
    bLength 8
    bDescriptorType 11
    bFirstInterface 3
    bInterfaceCount 2
    bFunctionClass 2 Communications
    bFunctionSubClass 6 Ethernet Networking
    bFunctionProtocol 0
    iFunction 10 CDC ECM
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 3
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 2 Communications
    bInterfaceSubClass 6 Ethernet Networking
    bInterfaceProtocol 0
    iInterface 7 CDC Ethernet Control Model (ECM)
    CDC Header:
    bcdCDC 1.10
    CDC Union:
    bMasterInterface 3
    bSlaveInterface 4
    CDC Ethernet:
    iMacAddress 8 3a2c83978cb0
    bmEthernetStatistics 0x00000000
    wMaxSegmentSize 1514
    wNumberMCFilters 0x0000
    bNumberPowerFilters 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x88 EP 8 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0010 1x 16 bytes
    bInterval 9
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 4
    bAlternateSetting 0
    bNumEndpoints 0
    bInterfaceClass 10 CDC Data
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0
    iInterface 0
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 4
    bAlternateSetting 1
    bNumEndpoints 2
    bInterfaceClass 10 CDC Data
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0
    iInterface 9 CDC Ethernet Data
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x87 EP 7 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 0x04 EP 4 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 5
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 255 Vendor Specific Subclass
    bInterfaceProtocol 255 Vendor Specific Protocol
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x89 EP 9 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 0x05 EP 5 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0000
    (Bus Powered)

    Bus 002 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 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 0x0451 Texas Instruments, Inc.
    idProduct 0x8142 TUSB8041 4-Port Hub
    bcdDevice 1.00
    iManufacturer 0
    iProduct 0
    iSerial 1 DB0000712C4B
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 41
    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 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 4
    wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 50 * 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
    Port 4: 0000.0503 highspeed power enable connect
    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 10 micro seconds
    bU2DevExitLat 10 micro seconds
    Container ID Device Capability:
    bLength 20
    bDescriptorType 16
    bDevCapabilityType 4
    bReserved 0
    ContainerID {02800dc1-c559-4729-ac16-a612272d0300}
    Device Status: 0x0001
    Self Powered

    Bus 002 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.19
    iManufacturer 3 Linux 4.19.38 musb-hcd
    iProduct 2 MUSB HDRC host driver
    iSerial 1 musb-hdrc.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
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 1
    wHubCharacteristic 0x0011
    Per-port power switching
    No overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 5 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x02
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    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 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x1d6b Linux Foundation
    idProduct 0x0002 2.0 root hub
    bcdDevice 4.19
    iManufacturer 3 Linux 4.19.38 musb-hcd
    iProduct 2 MUSB HDRC host driver
    iSerial 1 musb-hdrc.0
    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 0x0011
    Per-port power switching
    No overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 5 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x02
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0104 power suspend
    Device Status: 0x0001
    Self Powered

  • Hi,

    This seems to be duplicate to https://e2e.ti.com/support/processors/f/791/t/832856

    Please check my response in that thread.