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.

AM4378: USB drive error

Part Number: AM4378

Tool/software: TI C/C++ Compiler

[ 1722.213901] usb 3-1: new high-speed USB device number 3 using xhci-hcd
[ 1722.502139] usb 3-1: New USB device found, idVendor=0951, idProduct=1666
[ 1722.516123] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1722.536141] usb 3-1: Product: DataTraveler 3.0
[ 1722.546705] usb 3-1: Manufacturer: Kingston
[ 1722.557046] usb 3-1: SerialNumber: 60A44C41388DBEC0A9860056
[ 1722.576590] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 1722.610216] scsi host0: usb-storage 3-1:1.0
[ 1723.686740] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[ 1723.690512] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
[ 1723.690531] sd 0:0:0:0: [sda] 1 512-byte logical blocks: (512 B/512 B)
[ 1723.690535] sd 0:0:0:0: [sda] 0-byte physical blocks
[ 1723.692270] sd 0:0:0:0: [sda] Write Protect is off
[ 1723.694091] sd 0:0:0:0: [sda] Asking for cache data failed
[ 1723.694099] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1723.695896] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1723.697174] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
[ 1723.774259] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 1723.774270] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
[ 1723.774275] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
[ 1723.774286] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
[ 1723.774294] print_req_error: critical medium error, dev sda, sector 0
[ 1723.990337] Buffer I/O error on dev sda, logical block 0, async page read
[ 1724.086607] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 1724.086618] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
[ 1724.086624] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
[ 1724.086633] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
[ 1724.086641] print_req_error: critical medium error, dev sda, sector 0
[ 1724.144453] Buffer I/O error on dev sda, logical block 0, async page read
[ 1724.154712] sda: unable to read partition table
[ 1724.174515] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
[ 1724.186367] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1724.436413] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 1724.436477] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
[ 1724.436483] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
[ 1724.436493] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
[ 1724.436502] print_req_error: critical medium error, dev sda, sector 0
[ 1724.556492] FAT-fs (sda): unable to read boot sector

SDK: am437x-evm-linux-rt-sdk-src-06.00.00.07

&dwc3_1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&usb1_pins_default>;
pinctrl-1 = <&usb1_pins_sleep>;
status = "okay";
};

&usb2_phy1 {
status = "okay";
};

&usb1 {
dr_mode = "host";
status = "okay";
};

&dwc3_2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&usb2_pins_default>;
pinctrl-1 = <&usb2_pins_sleep>;
status = "okay";
};

&usb2_phy2 {
status = "okay";
};

&usb2 {
dr_mode = "host";
status = "okay";
};

    • It is also not recognized in the u-boot,

    • We made two kinds of boards, designed by the same engineer. The main components in the schematic part are the same, but the size of the boards is different. As a result, the USB of one of the boards cannot work normally

  • Hi,

    Is only this thumb drive failed? Or you have tested multiple different vendor's thumb drives which are all failed?

    Does the failure also happen if you connect a high-speed usb hub then connect the thumb drive behind the hub?

  • I've tested a lot of usb sticks, but the error message is different

  • Compared with the TI reference design, we did not add a device to suppress the common mode signal on the differential data line,Does it matter?

  • How should I continue to check this problem, software or hardware?

  • Hi Jun,

    We don't have enough information yet to conclude it is software or hardware issue, but if both board designs are similar and one board works the other doesn't, I would recommend to check the signal integrity first, especially you tested multiple usb thumb drives and seems they all failed. Can you please capture the usb EyeDiagram on the failure board?

  • Our main business is more inclined to use program research and development, so there is no relevant test equipment.In addition, our schematic diagram completely follows the reference design. In terms of PCB wiring, we also designed impedance matching and PCB manufacturers also did impedance matching.

  • [root@pp ~]# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-rt47-TI (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #12 PREEMPT RT Tue Sep 24 16:50:55 CST 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: LCKJ PLC
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x9d000000
    [ 0.000000] On node 0 totalpages: 131072
    [ 0.000000] free_area_init_node: node 0, pgdat c0d4ffec, node_mem_map dcb61000
    [ 0.000000] Normal zone: 1152 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 131072 pages, LIFO batch:31
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (sgx neon)
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.rootfs,2048 rootfstype=ubifs rootwait=1
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 456824K/524288K available (8192K kernel code, 323K rwdata, 2568K rodata, 1024K init, 293K bss, 18312K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
    [ 0.000000] .data : 0xc0d00000 - 0xc0d50f80 ( 324 kB)
    [ 0.000000] .bss : 0xc0d50f80 - 0xc0d9a6e4 ( 294 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU priority boosting: priority 1 delay 500 ms.
    [ 0.000000] No expedited grace period (rcu_normal_after_boot).
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000030] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000037] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000209] sched_clock: 64 bits at 300MHz, resolution 3ns, wraps every 2199023255551ns
    [ 0.000223] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x45306eca54, max_idle_ns: 440795215369 ns
    [ 0.000244] Switching to timer-based delay loop, resolution 3ns
    [ 0.000838] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000844] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.001432] Console: colour dummy device 80x30
    [ 0.001612] Calibrating delay loop (skipped), value calculated using timer frequency.. 600.00 BogoMIPS (lpj=3000000)
    [ 0.001624] pid_max: default: 32768 minimum: 301
    [ 0.001834] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.001847] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.002861] CPU: Testing write buffer coherency: ok
    [ 0.002919] CPU0: Spectre v2: using BPIALL workaround
    [ 0.003778] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.004086] Hierarchical SRCU implementation.
    [ 0.004940] EFI services will not be available.
    [ 0.006107] devtmpfs: initialized
    [ 0.021638] random: get_random_u32 called from bucket_table_alloc+0x124/0x27c with crng_init=0
    [ 0.022175] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.022568] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.022599] futex hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.026759] pinctrl core: initialized pinctrl subsystem
    [ 0.027655] DMI not present or invalid.
    [ 0.028247] NET: Registered protocol family 16
    [ 0.030743] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.119217] cpuidle: using governor ladder
    [ 0.119335] cpuidle: using governor menu
    [ 0.129527] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [ 0.129660] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [ 0.129939] OMAP GPIO hardware version 0.1
    [ 0.130786] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [ 0.131695] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [ 0.131809] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [ 0.133053] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [ 0.133164] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [ 0.133984] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio4_pins_default, deferring probe
    [ 0.134463] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [ 0.138345] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/sram_x16_default, deferring probe
    [ 0.142186] No ATAGs?
    [ 0.142212] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.142232] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.163794] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.164565] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vtt[0]'
    [ 0.168741] SCSI subsystem initialized
    [ 0.169066] usbcore: registered new interface driver usbfs
    [ 0.169142] usbcore: registered new interface driver hub
    [ 0.169319] usbcore: registered new device driver usb
    [ 0.169909] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.170041] media: Linux media interface: v0.10
    [ 0.170098] Linux video capture interface: v2.00
    [ 0.170218] pps_core: LinuxPPS API ver. 1 registered
    [ 0.170230] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.170260] PTP clock support registered
    [ 0.170316] EDAC MC: Ver: 3.0.0
    [ 0.171078] dmi: Firmware registration failed.
    [ 0.171569] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.174194] clocksource: Switched to clocksource timer1
    [ 0.186086] NET: Registered protocol family 2
    [ 0.187039] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.187120] TCP bind hash table entries: 4096 (order: 4, 98304 bytes)
    [ 0.187397] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.187594] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.187669] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.187992] NET: Registered protocol family 1
    [ 0.188618] RPC: Registered named UNIX socket transport module.
    [ 0.188635] RPC: Registered udp transport module.
    [ 0.188643] RPC: Registered tcp transport module.
    [ 0.188651] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.188667] PCI: CLS 0 bytes, default 64
    [ 0.191302] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.196774] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.197858] NFS: Registering the id_resolver key type
    [ 0.197915] Key type id_resolver registered
    [ 0.197927] Key type id_legacy registered
    [ 0.197985] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.205190] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.205214] io scheduler noop registered
    [ 0.205225] io scheduler deadline registered
    [ 0.205444] io scheduler cfq registered (default)
    [ 0.205459] io scheduler mq-deadline registered
    [ 0.205469] io scheduler kyber registered
    [ 0.209448] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.215457] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.215492] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp@44000000/serial@44e09000[0]'
    [ 0.215508] omap_uart 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.215697] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
    [ 1.016361] console [ttyO0] enabled
    [ 1.020693] omap_uart 48022000.serial: no wakeirq for uart1
    [ 1.026673] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp@44000000/serial@48022000[0]'
    [ 1.026689] omap_uart 48022000.serial: No clock speed specified: using default: 48000000
    [ 1.035368] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a OMAP UART1
    [ 1.045708] omap_uart 48024000.serial: no wakeirq for uart2
    [ 1.051622] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp@44000000/serial@48024000[0]'
    [ 1.051636] omap_uart 48024000.serial: No clock speed specified: using default: 48000000
    [ 1.060340] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a OMAP UART2
    [ 1.070654] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 1.076555] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp@44000000/serial@481a6000[0]'
    [ 1.076570] omap_uart 481a6000.serial: No clock speed specified: using default: 48000000
    [ 1.085257] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a OMAP UART3
    [ 1.095561] omap_uart 481a8000.serial: no wakeirq for uart4
    [ 1.101476] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp@44000000/serial@481a8000[0]'
    [ 1.101489] omap_uart 481a8000.serial: No clock speed specified: using default: 48000000
    [ 1.110157] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a OMAP UART4
    [ 1.136921] brd: module loaded
    [ 1.151096] loop: module loaded
    [ 1.158335] mdio_bus fixed-0: GPIO lookup for consumer reset
    [ 1.158347] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [ 1.158356] mdio_bus fixed-0: lookup for GPIO reset failed
    [ 1.158386] libphy: Fixed MDIO Bus: probed
    [ 1.163973] CAN device driver interface
    [ 1.169540] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=59)
    [ 1.180069] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=60)
    [ 1.205665] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [ 1.205679] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [ 1.205687] mdio_bus 4a101000.mdio: lookup for GPIO reset failed
    [ 1.264281] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.272430] davinci_mdio 4a101000.mdio: detected phy mask ffffffd7
    [ 1.281415] libphy: 4a101000.mdio: probed
    [ 1.285810] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver Micrel KSZ9031 Gigabit PHY
    [ 1.296016] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver Micrel KSZ9031 Gigabit PHY
    [ 1.307453] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:02:48:28
    [ 1.314529] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.321279] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.326923] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.335609] cpsw 4a100000.ethernet: cpsw: Detected MACID = 60:64:05:02:48:2a
    [ 1.344817] PPP generic driver version 2.4.2
    [ 1.351738] dwc3 48390000.usb: Configuration mismatch. dr_mode forced to host
    [ 1.363521] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.370549] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.376952] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 1.383122] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 1.391830] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
    [ 1.401331] xhci-hcd xhci-hcd.0.auto: irq 93, io mem 0x48390000
    [ 1.407906] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.415104] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.422782] usb usb1: Product: xHCI Host Controller
    [ 1.427960] usb usb1: Manufacturer: Linux 4.14.79-rt47-TI xhci-hcd
    [ 1.434801] usb usb1: SerialNumber: xhci-hcd.0.auto
    [ 1.440827] hub 1-0:1.0: USB hub found
    [ 1.444919] hub 1-0:1.0: 1 port detected
    [ 1.449650] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 1.455746] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 1.463844] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [ 1.470998] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 1.479746] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 1.486930] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.494587] usb usb2: Product: xHCI Host Controller
    [ 1.499732] usb usb2: Manufacturer: Linux 4.14.79-rt47-TI xhci-hcd
    [ 1.506552] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 1.512468] hub 2-0:1.0: USB hub found
    [ 1.516527] hub 2-0:1.0: 1 port detected
    [ 1.521493] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 1.527698] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [ 1.536343] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
    [ 1.545810] xhci-hcd xhci-hcd.1.auto: irq 94, io mem 0x483d0000
    [ 1.552305] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.559644] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.567268] usb usb3: Product: xHCI Host Controller
    [ 1.572412] usb usb3: Manufacturer: Linux 4.14.79-rt47-TI xhci-hcd
    [ 1.579234] usb usb3: SerialNumber: xhci-hcd.1.auto
    [ 1.585249] hub 3-0:1.0: USB hub found
    [ 1.589283] hub 3-0:1.0: 1 port detected
    [ 1.593987] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 1.600222] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [ 1.608409] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [ 1.615608] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 1.624562] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    [ 1.631758] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.639401] usb usb4: Product: xHCI Host Controller
    [ 1.644587] usb usb4: Manufacturer: Linux 4.14.79-rt47-TI xhci-hcd
    [ 1.651375] usb usb4: SerialNumber: xhci-hcd.1.auto
    [ 1.657346] hub 4-0:1.0: USB hub found
    [ 1.661378] hub 4-0:1.0: 1 port detected
    [ 1.666319] usbcore: registered new interface driver cdc_wdm
    [ 1.672488] usbcore: registered new interface driver usb-storage
    [ 1.679037] usbcore: registered new interface driver usbserial
    [ 1.685329] usbcore: registered new interface driver ftdi_sio
    [ 1.691472] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 1.699600] usbcore: registered new interface driver option
    [ 1.705577] usbserial: USB Serial support registered for GSM modem (1-port)
    [ 1.713770] mousedev: PS/2 mouse device common for all mice
    [ 1.721057] omap_rtc 44e3e000.rtc: already running
    [ 1.727116] omap_rtc 44e3e000.rtc: char device (253:0)
    [ 1.727260] omap_rtc 44e3e000.rtc: registered as rtc0
    [ 1.733240] i2c /dev entries driver
    [ 1.739484] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.748913] sdhci: Secure Digital Host Controller Interface driver
    [ 1.755474] sdhci: Copyright(c) Pierre Ossman
    [ 1.760808] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.760818] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.760883] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
    [ 1.760953] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.765938] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.765946] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.765962] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
    [ 1.765972] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
    [ 1.765980] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.765989] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 1.767135] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.776796] NET: Registered protocol family 10
    [ 1.783225] Segment Routing with IPv6
    [ 1.787299] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.794620] NET: Registered protocol family 17
    [ 1.799355] can: controller area network core (rev 20170425 abi 9)
    [ 1.806640] NET: Registered protocol family 29
    [ 1.811412] can: raw protocol (rev 20170425)
    [ 1.816079] can: broadcast manager protocol (rev 20170425 t)
    [ 1.822083] can: netlink gateway (rev 20170425) max_hops=1
    [ 1.828462] Key type dns_resolver registered
    [ 1.833285] omap_voltage_late_init: Voltage driver support not added
    [ 1.851374] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [ 1.851515] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [ 1.852606] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [ 1.852740] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [ 1.853672] GPIO line 173 (Sel_CI_or_FIFO) hogged as output/high
    [ 1.860430] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [ 1.860553] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [ 1.861467] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.866991] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.873464] gpiochip_find_base: found new base at 510
    [ 1.873776] gpio gpiochip6: (omap-gpmc): added GPIO chardev (254:6)
    [ 1.873908] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip6 (omap-gpmc)
    [ 1.875520] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [ 1.875533] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [ 1.875595] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp@44000000/gpmc@50000000/nand@1,0[0]' - status (0)
    [ 1.875782] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 1.882522] nand: Micron MT29F2G08ABAEAWP
    [ 1.886981] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.895109] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 1.900877] 10 ofpart partitions found on MTD device omap2-nand.0
    [ 1.907361] Creating 10 MTD partitions on "omap2-nand.0":
    [ 1.913050] 0x000000000000-0x000000040000 : "NAND.SPL"
    [ 1.919926] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [ 1.927398] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [ 1.934907] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [ 1.942335] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [ 1.950165] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [ 1.954290] usb 3-1: new high-speed USB device number 2 using xhci-hcd
    [ 1.964804] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [ 1.972142] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [ 1.980312] 0x000000300000-0x000000800000 : "NAND.kernel"
    [ 1.989430] 0x000000800000-0x000010000000 : "NAND.rootfs"
    [ 2.105282] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [ 2.142174] usb 3-1: New USB device found, idVendor=058f, idProduct=6387
    [ 2.149323] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 2.157576] usb 3-1: Product: DataTraveler 2.0
    [ 2.162856] usb 3-1: Manufacturer: Kingston
    [ 2.165555] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [ 2.174683] usb 3-1: SerialNumber: F6EFF7AA
    [ 2.182534] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 2.182550] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 2.182654] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
    [ 2.182762] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 2.186986] usb-storage 3-1:1.0: USB Mass Storage device detected
    [ 2.202513] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 2.202522] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 2.202550] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
    [ 2.202562] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
    [ 2.202570] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 2.202581] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 2.203589] scsi host0: usb-storage 3-1:1.0
    [ 2.304094] ubi0: attaching mtd9
    [ 3.498338] ubi0: scanning is finished
    [ 3.516476] ubi0: attached mtd9 (name "NAND.rootfs", size 248 MiB)
    [ 3.527453] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [ 3.539482] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 3.551206] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [ 3.563402] ubi0: good PEBs: 1984, bad PEBs: 0, corrupted PEBs: 0
    [ 3.574059] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [ 3.586699] ubi0: max/mean erase counter: 20/9, WL threshold: 4096, image sequence number: 1322771372
    [ 3.602837] ubi0: available PEBs: 0, total reserved PEBs: 1984, PEBs reserved for bad PEB handling: 40
    [ 3.619132] ubi0: background thread "ubi_bgt0d" started, PID 93
    [ 3.630158] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 03:20:58 UTC (946696858)
    [ 3.646390] vmmcwl_fixed: disabling
    [ 3.669668] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 95
    [ 3.704153] UBIFS (ubi0:0): recovery needed
    [ 3.839265] UBIFS (ubi0:0): recovery completed
    [ 3.847556] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 3.860573] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 3.877943] UBIFS (ubi0:0): FS size: 201764864 bytes (192 MiB, 1589 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 3.889239] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 8.07 PQ: 0 ANSI: 4
    [ 3.891053] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 3.891746] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    [ 3.891774] sd 0:0:0:0: [sda] 1 512-byte logical blocks: (512 B/512 B)
    [ 3.891781] sd 0:0:0:0: [sda] 0-byte physical blocks
    [ 3.892373] sd 0:0:0:0: [sda] Write Protect is off
    [ 3.892386] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
    [ 3.892929] sd 0:0:0:0: [sda] Asking for cache data failed
    [ 3.892939] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 3.895391] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    [ 3.998595] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [ 4.008843] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID EBC7BE4D-DB58-4245-98CF-D764B1487259, small LPT model
    [ 4.030109] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [ 4.036857] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
    [ 4.036873] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
    [ 4.036882] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
    [ 4.036899] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
    [ 4.036909] print_req_error: critical medium error, dev sda, sector 0
    [ 4.036925] Buffer I/O error on dev sda, logical block 0, async page read
    [ 4.113335] devtmpfs: mounted
    [ 4.170196] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
    [ 4.170211] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
    [ 4.170221] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
    [ 4.170238] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
    [ 4.170247] print_req_error: critical medium error, dev sda, sector 0
    [ 4.228340] Buffer I/O error on dev sda, logical block 0, async page read
    [ 4.240271] sda: unable to read partition table
    [ 4.250783] sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    [ 4.251866] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 4.255132] Freeing unused kernel memory: 1024K
    [ 4.663927] udevd[106]: starting version 1.5.3
    [ 4.702482] random: udevd: uninitialized urandom read (16 bytes read)
    [ 6.329310] 8821cu: loading out-of-tree module taints kernel.
    [ 6.337278] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
    [ 6.337294] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current]
    [ 6.337303] sd 0:0:0:0: [sda] tag#0 ASC=0x14 ASCQ=0x0
    [ 6.337319] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
    [ 6.337330] print_req_error: critical medium error, dev sda, sector 0
    [ 6.337504] FAT-fs (sda): unable to read boot sector
    [ 6.859254] usbcore: registered new interface driver rtl8821cu
    [ 7.352934] net eth0: initializing cpsw version 1.15 (0)
    [ 7.526653] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
    [ 7.561402] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 7.819621] net eth1: initializing cpsw version 1.15 (0)
    [ 7.993325] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:05: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:05, irq=POLL)
    [ 8.022425] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 10.955761] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 10.969938] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 12.364617] gpio-145 (sysfs): gpiod_request: status -16
    [ 12.364633] export_store: status -16
    [ 12.365207] gpio-146 (sysfs): gpiod_request: status -16
    [ 12.365216] export_store: status -16
    [ 12.365744] gpio-137 (sysfs): gpiod_request: status -16
    [ 12.365753] export_store: status -16
    [ 12.366086] gpio-135 (sysfs): gpiod_request: status -16
    [ 12.366094] export_store: status -16
    [ 12.376567] gpio-136 (sysfs): gpiod_request: status -16
    [ 12.376583] export_store: status -16
    [ 12.376845] gpio-140 (sysfs): gpiod_request: status -16
    [ 12.376853] export_store: status -16
    [ 14.955866] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 14.969794] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 83.874441] net can0: c_can_hw_raminit_wait_syscon: time out
    [ 83.884896] c_can_platform 481cc000.can can0: setting BTR=2701 BRPE=0000

  • Hi,

    Given that you use the same software on two different but similar hardware designs, but one has no issue and the other does, and it fails with all the USB devices you tested, this all indicates board layout and signal integrity problem.