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.

Linux/AM3354: USB error

Part Number: AM3354
Other Parts Discussed in Thread: AM3352, TPS65910

Tool/software: Linux

Getting Error at USB2-1 on AM335x-evm board:

 

Log:

 

USB1 is not working, it is not able to load the drivers successfully.

 

root@am335x-evm:~# dmesg | tail

[ 316.801076] FAT-fs (sda): FAT read failed (blocknr 1150)

[ 395.808379] usb 2-1: new low-speed USB device number 2 using musb-hdrc

[ 395.938418] usb 2-1: device descriptor read/64, error -71

[ 396.168510] usb 2-1: device descriptor read/64, error -71

[ 396.398376] usb 2-1: new low-speed USB device number 3 using musb-hdrc

[ 396.528547] usb 2-1: device descriptor read/64, error -71

[ 396.758370] usb 2-1: device descriptor read/64, error -71

[ 396.988687] usb 2-1: new low-speed USB device number 4 using musb-hdrc

[ 397.408381] usb 2-1: device not accepting address 4, error -71

[ 397.528377] usb 2-1: new low-speed USB device number 5 using musb-hdrc

[ 397.948673] usb 2-1: device not accepting address 5, error -71

[ 397.954878] usb usb2-port1: unable to enumerate USB device

 

 

For Kernel config:

Used Link:

 

processors.wiki.ti.com/.../UsbgeneralpageLinux-v3p1

processors.wiki.ti.com/.../UserGuideUsbDriver_PSP_03.00.00.05

 

 

In DTS File:

 

&am33xx_pinmux {

 

       usb0_drvvbus: usb0_drvvbus {

               pinctrl-single,pins = <

                        0x21c (PIN_OUTPUT_PULLUP | MUX_MODE0)

               >;

       };

 

       usb1_drvvbus: usb1_drvvbus {

               pinctrl-single,pins = <

                       0x234 ( PIN_OUTPUT_PULLUP | MUX_MODE0 )

               >;

       };

 

};

 

 

&usb {

       status = "okay";

};

 

&usb_ctrl_mod {

       status = "okay";

};

 

&usb0_phy {

       status = "okay";

};

 

&usb1_phy {

       status = "okay";

};

 

&usb1 {

       pinctrl-0 = <&usb1_drvvbus>;

       dr_mode = "host";

       status = "okay";

};

 

&usb0 {

       pinctrl-names = "default";

       pinctrl-0 = <&usb0_drvvbus>;

       status = "okay";

       dr_mode = "otg";

};

 

Schmatic connections are:

   Typical connections for a USB host:

       USBx_DP and USBx_DM are connected directly to the USB connector

       USBx_CE is typically not used and can be left unconnected

       USDx_ID should be grounded

       USBx_DRVVBUS should be connected to the enable of the 5V VBUS power source.

       USBx_VBUS should be connected to the output of the 5V VBUS power source

 

 

DMESG Message Log on Host (AM335x-evm board):

 

root@am335x-evm:~# dmesg| grep usb

[   9.545538] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset

[   9.545576] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup

[   9.545599] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

[   9.545614] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

[   9.545627] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup

[   9.545643] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed

[   9.545659] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect

[   9.545672] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup

[   9.545686] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

[   9.545699] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

[   9.545712] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup

[   9.545726] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed

[   9.545819] 47401300.usb-phy supply vcc not found, using dummy regulator

[   9.670560] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset

[   9.670597] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup

[   9.670620] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

[   9.670634] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

[   9.670648] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup

[   9.670663] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed

[   9.670677] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect

[    9.670690] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup

[   9.670704] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

[   9.670717] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

[   9.670730] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup

[   9.670743] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed

[   9.670837] 47401b00.usb-phy supply vcc not found, using dummy regulator

[   19.309693] usbcore: registered new interface driver usbfs

[   19.315335] usbcore: registered new interface driver hub

[   19.395983] usbcore: registered new device driver usb

[   19.535444] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[   19.535479] musb-hdrc: MHDRC RTL version 2.0

[   19.535492] musb-hdrc: setup fifo_mode 4

[   19.535519] musb-hdrc: 28/31 max ep, 16384/16384 memory

[   19.535716] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

[   19.602235] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1

[   19.757245] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[   19.757278] musb-hdrc: MHDRC RTL version 2.0

[   19.757290] musb-hdrc: setup fifo_mode 4

[   19.757312] musb-hdrc: 28/31 max ep, 16384/16384 memory

[   19.757494] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

[ 19.814970] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2

[   22.248806] usb0: HOST MAC 6c:ec:eb:f9:6f:f5

[   22.281596] usb0: MAC 4a:c9:fb:ce:23:8c

[   23.505125] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

 

 

USB0 is working fine, it is able to mount the USB storage.

 

root@am335x-evm:~# dmesg | tail -n 15                                                                                                                                  

[   32.220637] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

[ 186.508652] usb 1-1: new high-speed USB device number 2 using musb-hdrc

[ 187.063382] SCSI subsystem initialized

[ 187.106821] usb-storage 1-1:1.0: USB Mass Storage device detected

[ 187.114631] scsi host0: usb-storage 1-1:1.0

[ 187.131664] usbcore: registered new interface driver usb-storage

[ 188.444225] scsi 0:0:0:0: Direct-Access     General USB Flash Disk   1100 PQ: 0 ANSI: 0 CCS

[ 188.513994] sd 0:0:0:0: [sda] 7815168 512-byte logical blocks: (4.00 GB/3.73 GiB)

[ 188.556174] sd 0:0:0:0: [sda] Write Protect is off

[ 188.567790] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00

[ 188.575460] sd 0:0:0:0: [sda] No Caching mode page found

[ 188.584751] sd 0:0:0:0: [sda] Assuming drive cache: write through

[ 188.614796] sda:

[ 188.626824] sd 0:0:0:0: [sda] Attached SCSI removable disk

[ 189.066832] FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

 

  • What Linux version is this?
  • Hi Thejeswarareddy, we haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). thanks.
  • $ Uname -a Linux am335x-evm 4.4.41-gf9f6f0db2d #2 PREEMPT Wed Jan 24 19:52:57 UTC 2018 armv7l GNU/Linux
  • $ Uname -a
    ... Output
    $Linux am335x-evm 4.4.41-gf9f6f0db2d #2 PREEMPT Wed Jan 24 19:52:57 UTC 2018 armv7l GNU/Linux
  • Since this is on AM335x EVM, the default DTS and kernel config in the Processor SDK should make USB1 work, why you have to modify DTS and re-configure kernel?

    Please test the pre-built images in the Processor SDK and let me know if you still see the issue.
  • Hi Bin Liu,

    Sorry for typo, we are using custom board (not EVM)

    We are using custom am3354 board so we changed dts file as per the pin mux we used for our board.
  • The drvvbus pinmux you added in dts is not correct. You can simply remove them out of dts, the pin is in mode0 by default, you don't have to specifically set to mode0 in dts (I know it is a good practice to specify them even if mode0 is used...).

    Please post the usb portion of the schematics, including both usb0 and usb1.
  • Hi, I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). thanks.
  • Hi,

    Sorry for late replay.

    Please find the below schmatic for USB.

  • TP74 and TP75 should be removed.

    Please post the rest of section of the USB schematics, including the connections to the USB receptacle.
  • Hi, I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). thanks.
  • Hi Bin Liu,

    Yes, we removed those Test Point though it is not working. I'm seeing the same issue with USB2 but USB1 is working fine.

    Error is :
    [ 316.801076] FAT-fs (sda): FAT read failed (blocknr 1150)
    [ 395.808379] usb 2-1: new low-speed USB device number 2 using musb-hdrc
    [ 395.938418] usb 2-1: device descriptor read/64, error -71
  • Thejeswarareddy,

    The schematic you provided previously is not complete, I asked for the rest of section of the USB schematics, including the connections to the USB receptacle. Please post it.

    Thejeswarareddy R said:
    [ 395.808379] usb 2-1: new low-speed USB device number 2 using musb-hdrc
    [ 395.938418] usb 2-1: device descriptor read/64, error -71

    I assume you connected a high-speed usb device, but it is detected as a low-speed device. Can you please check your board layout in case the DM/DP lines got swapped?

  • Hi Bin Liu,

    The other part of scematic is attached below.

    Thanks in advance.

  • In your first post

    Thejeswarareddy R said:

    USB1 is not working, it is not able to load the drivers successfully.

     root@am335x-evm:~# dmesg | tail

    [ 316.801076] FAT-fs (sda): FAT read failed (blocknr 1150)

    [ 395.808379] usb 2-1: new low-speed USB device number 2 using musb-hdrc

    the message highlighted above is interesting. Please attach the full dmesg log to show what was happening in the failure case.

  • Hi, I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). thanks.
  • [Moderator deleted the malformed log in this post.]

  • The log in your last post is not readable. Please modify your post to attach the log file instead.
  • Sorry for inconvenience, My Linux auto-formatted the log.. Here is the dmesg log:

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 4.9.59-ga75d8e9305 (root@BLTSP01211) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #82 PREEMPT Thu Apr 12 11:29:47 IST 2018

    [    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: TI AM335x EVM

    [    0.000000] efi: Getting EFI parameters from FDT:

    [    0.000000] efi: UEFI not found.

    [    0.000000] cma: Reserved 48 MiB at 0x9d000000

    [    0.000000] Memory policy: Data cache writeback

    [    0.000000] On node 0 totalpages: 131072

    [    0.000000] free_area_init_node: node 0, pgdat c0c42cf4, 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] AM335X ES2.1 (sgx neon)

    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

    [    0.000000] pcpu-alloc: [0] 0

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=5fa8044e-02 rw rootfstype=ext4 rootwait

    [    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: 457976K/524288K available (7168K kernel code, 277K rwdata, 2288K rodata, 1024K init, 269K bss, 17160K reserved, 49152K cma-reserved, 0K highmem)

    [    0.000000] Virtual kernel memory layout:

                      vector  : 0xffff0000 - 0xffff1000   (   4 kB)

                      fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

                      vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)

                      lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

                      pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

                      modules : 0xbf000000 - 0xbfe00000   (  14 MB)

                        .text : 0xc0008000 - 0xc0800000   (8160 kB)

                        .init : 0xc0b00000 - 0xc0c00000   (1024 kB)

                        .data : 0xc0c00000 - 0xc0c454d0   ( 278 kB)

                         .bss : 0xc0c454d0 - 0xc0c889b4   ( 270 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    [    0.000000] Preemptible hierarchical RCU implementation.

    [    0.000000] Build-time adjustment of leaf fanout to 32.

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

    [    0.000047] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

    [    0.000060] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000304] clocksource_probe: no matching clocksources found

    [    0.000534] Console: colour dummy device 80x30

    [    0.000569] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'

    [    0.000579] This ensures that you still see kernel messages. Please

    [    0.000587] update your kernel commandline.

    [    0.000616] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)

    [    0.118738] pid_max: default: 32768 minimum: 301

    [    0.118917] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.118933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.120003] CPU: Testing write buffer coherency: ok

    [    0.120489] Setting up static identity map for 0x80100000 - 0x80100060

    [    0.121628] EFI services will not be available.

    [    0.123474] devtmpfs: initialized

    [    0.141165] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    0.141633] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.141670] futex hash table entries: 256 (order: -1, 3072 bytes)

    [    0.146423] pinctrl core: initialized pinctrl subsystem

    [    0.148133] NET: Registered protocol family 16

    [    0.150919] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.170730] omap_hwmod: debugss: _wait_target_disable failed

    [    0.248744] cpuidle: using governor ladder

    [    0.278730] cpuidle: using governor menu

    [    0.284760] gpio gpiochip0: (gpio): added GPIO chardev (254:0)

    [    0.285275] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)

    [    0.287342] OMAP GPIO hardware version 0.1

    [    0.288482] gpio gpiochip1: (gpio): added GPIO chardev (254:1)

    [    0.289021] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)

    [    0.291700] gpio gpiochip2: (gpio): added GPIO chardev (254:2)

    [    0.292259] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)

    [    0.295078] gpio gpiochip3: (gpio): added GPIO chardev (254:3)

    [    0.295486] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)

    [    0.307197] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe

    [    0.311221] No ATAGs?

    [    0.311249] hw-breakpoint: debug architecture 0x4 unsupported.

    [    0.360532] edma 49000000.edma: TI EDMA DMA engine driver

    [    0.361036] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'

    [    0.361463] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator1[0]'

    [    0.364743] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe

    [    0.364826] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe

    [    0.365011] media: Linux media interface: v0.10

    [    0.365091] Linux video capture interface: v2.00

    [    0.365159] pps_core: LinuxPPS API ver. 1 registered

    [    0.365170] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.365203] PTP clock support registered

    [    0.365256] EDAC MC: Ver: 3.0.0

    [    0.366809] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

    [    0.367291] Advanced Linux Sound Architecture Driver Initialized.

    [    0.369027] clocksource: Switched to clocksource timer1

    [    0.383499] NET: Registered protocol family 2

    [    0.384558] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.384630] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.384694] TCP: Hash tables configured (established 4096 bind 4096)

    [    0.384792] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.384817] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.384993] NET: Registered protocol family 1

    [    0.385566] RPC: Registered named UNIX socket transport module.

    [    0.385585] RPC: Registered udp transport module.

    [    0.385594] RPC: Registered tcp transport module.

    [    0.385603] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.385623] PCI: CLS 0 bytes, default 64

    [    0.386825] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available

    [    0.390259] workingset: timestamp_bits=14 max_order=17 bucket_order=3

    [    0.401317] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.402655] NFS: Registering the id_resolver key type

    [    0.402716] Key type id_resolver registered

    [    0.402727] Key type id_legacy registered

    [    0.402789] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.405378] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)

    [    0.405407] io scheduler noop registered

    [    0.405417] io scheduler deadline registered

    [    0.405646] io scheduler cfq registered (default)

    [    0.407644] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [    0.412119] pwm-backlight backlight: GPIO lookup for consumer enable

    [    0.412137] pwm-backlight backlight: using device tree for GPIO lookup

    [    0.412152] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'

    [    0.412162] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'

    [    0.412170] pwm-backlight backlight: using lookup tables for GPIO lookup

    [    0.412181] pwm-backlight backlight: lookup for GPIO enable failed

    [    0.412209] backlight supply power not found, using dummy regulator

    [    0.497601] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

    [    0.503039] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250

    [    1.116768] console [ttyS0] enabled

    [    1.121818] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250

    [    1.133169] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [    1.140145] [drm] Initialized

    [    1.143739] panel panel: found backlight

    [    1.147698] panel panel: GPIO lookup for consumer enable

    [    1.147706] panel panel: using device tree for GPIO lookup

    [    1.147722] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'

    [    1.147731] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'

    [    1.147739] panel panel: using lookup tables for GPIO lookup

    [    1.147750] panel panel: lookup for GPIO enable failed

    [    1.148948] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    [    1.155765] [drm] No driver support for vblank timestamp query.

    [    1.194546] Console: switching to colour frame buffer device 100x30

    [    1.208437] tilcdc 4830e000.lcdc: fb0:  frame buffer device

    [    1.258486] brd: module loaded

    [    1.270885] loop: module loaded

    [    1.279618] libphy: Fixed MDIO Bus: probed

    [    1.359090] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

    [    1.365239] davinci_mdio 4a101000.mdio: detected phy mask fffffffe

    [    1.372534] libphy: 4a101000.mdio: probed

    [    1.376671] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720

    [    1.386952] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:bb:19:3a

    [    1.393876] cpsw 4a100000.ethernet: device node lookup for pps timer failed

    [    1.401051] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)

    [    1.410812] mousedev: PS/2 mouse device common for all mice

    [    1.416964] i2c /dev entries driver

    [    1.423125] cpuidle: enable-method property 'ti,am3352' found operations

    [    1.431367] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd

    [    1.431378] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup

    [    1.431416] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)

    [    1.431521] omap_hsmmc 48060000.mmc: Got CD GPIO

    [    1.436179] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp

    [    1.436186] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup

    [    1.436196] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'

    [    1.436206] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'

    [    1.436214] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup

    [    1.436225] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed

    [    1.437780] ledtrig-cpu: registered to indicate activity on CPUs

    [    1.448134] NET: Registered protocol family 10

    [    1.454551] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

    [    1.461900] NET: Registered protocol family 17

    [    1.466760] Key type dns_resolver registered

    [    1.471507] omap_voltage_late_init: Voltage driver support not added

    [    1.485303] omap-gpmc 50000000.gpmc: GPMC revision 6.0

    [    1.490722] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000

    [    1.496969] gpiochip_find_base: found new base at 510

    [    1.497034] gpio gpiochip4: (omap-gpmc): added GPIO chardev (254:4)

    [    1.497588] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip4 (omap-gpmc)

    [    1.499284] omap2-nand 8000000.nand: GPIO lookup for consumer rb

    [    1.499300] omap2-nand 8000000.nand: using device tree for GPIO lookup

    [    1.499362] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)

    [    1.499454] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda

    [    1.505853] nand: Toshiba NAND 256MiB 3,3V 8-bit

    [    1.510582] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128

    [    1.518468] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme

    [    1.523979] 10 ofpart partitions found on MTD device omap2-nand.0

    [    1.530180] Creating 10 MTD partitions on "omap2-nand.0":

    [    1.535622] 0x000000000000-0x000000080000 : "NAND.SPL"

    [    1.542903] 0x000000080000-0x000000100000 : "NAND.SPL.backup1"

    [    1.550671] 0x000000100000-0x000000180000 : "NAND.SPL.backup2"

    [    1.558295] 0x000000180000-0x000000200000 : "NAND.SPL.backup3"

    [    1.566149] 0x000000200000-0x000000280000 : "NAND.u-boot-spl-os"

    [    1.574047] 0x000000280000-0x000000380000 : "NAND.u-boot"

    [    1.581595] 0x000000380000-0x000000400000 : "NAND.u-boot-env"

    [    1.589354] 0x000000400000-0x000000480000 : "NAND.u-boot-env.backup1"

    [    1.597626] 0x000000480000-0x000000b80000 : "NAND.kernel"

    [    1.607409] 0x000000b80000-0x000040000000 : "NAND.file-system"

    [    1.613368] mtd: partition "NAND.file-system" extends beyond the end of device "omap2-nand.0" -- size truncated to 0xf480000

    [    1.749334] tps65910 0-002d: No interrupt support, no core IRQ

    [    1.755534] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified

    [    1.755567] gpiochip_find_base: found new base at 504

    [    1.755607] gpio gpiochip5: (tps65910): added GPIO chardev (254:5)

    [    1.756049] gpiochip_setup_dev: registered GPIOs 504 to 509 on device: gpiochip5 (tps65910)

    [    1.757871] vrtc: supplied by vbat

    [    1.765384] vio: supplied by vbat

    [    1.770248] random: fast init done

    [    1.773920] vdd1: supplied by vbat

    [    1.779427] vdd2: supplied by vbat

    [    1.786459] vdig1: supplied by vbat

    [    1.791798] vdig2: supplied by vbat

    [    1.796913] vpll: supplied by vbat

    [    1.802015] vdac: supplied by vbat

    [    1.807120] vaux1: supplied by vbat

    [    1.812304] vaux2: supplied by vbat

    [    1.817431] vaux33: supplied by vbat

    [    1.822750] vmmc: supplied by vbat

    [    1.827807] vbb: supplied by vbat

    [    1.833412] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 16 bytes/write

    [    1.840613] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

    [    1.848089] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz

    [    1.855942] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd

    [    1.855959] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup

    [    1.855997] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)

    [    1.856093] omap_hsmmc 48060000.mmc: Got CD GPIO

    [    1.861027] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp

    [    1.861035] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup

    [    1.861048] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'

    [    1.861058] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'

    [    1.861066] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup

    [    1.861077] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed

    [    1.920321] hctosys: unable to open rtc device (rtc0)

    [    1.927430] lis3_reg: disabling

    [    1.932967] ALSA device list:

    [    1.935998]   No soundcards found.

    [    1.940671] Waiting for root device PARTUUID=5fa8044e-02...

    [    2.048000] mmc0: host does not support reading read-only switch, assuming write-enable

    [    2.059494] mmc0: new high speed SDHC card at address aaaa

    [    2.066081] mmcblk0: mmc0:aaaa SS08G 7.40 GiB

    [    2.072744]  mmcblk0: p1 p2

    [    2.212990] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

    [    2.221523] VFS: Mounted root (ext4 filesystem) on device 179:2.

    [    2.232281] devtmpfs: mounted

    [    2.239761] Freeing unused kernel memory: 1024K

    [    2.569032] systemd[1]: System time before build time, advancing clock.

    [    2.661428] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)

    [    2.681326] systemd[1]: Detected architecture arm.

    [    2.721124] systemd[1]: Set hostname to <am335x-evm>.

    [    3.051992] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'

    [    3.387208] systemd[1]: Created slice System Slice.

    [    3.479355] systemd[1]: Listening on Process Core Dump Socket.

    [    3.509832] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.

    [    3.549617] systemd[1]: Listening on udev Kernel Socket.

    [    3.579811] systemd[1]: Listening on Journal Socket (/dev/log).

    [    3.609852] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.

    [    4.098134] cryptodev: loading out-of-tree module taints kernel.

    [    4.122689] cryptodev: driver 1.8 loaded.

    [    4.403776] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

    [    5.453944] systemd-journald[108]: Received request to flush runtime journal from PID 1

    [    7.836310] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[0]' - status (0)

    [    7.836353] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[1]' - status (0)

    [    7.836385] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[2]' - status (0)

    [    7.836424] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[3]' - status (0)

    [    7.836441] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[0]' - status (0)

    [    7.836464] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[1]' - status (0)

    [    7.837170] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input0

    [    7.850155] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    8.113256] rtc rtc0: 44e3e000.rtc: dev (253:0)

    [    8.113317] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [    8.629681] edt_ft5x06 2-0038: GPIO lookup for consumer reset

    [    8.629703] edt_ft5x06 2-0038: using device tree for GPIO lookup

    [    8.629720] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4819c000/edt-ft5406@38[0]'

    [    8.629731] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4819c000/edt-ft5406@38[0]'

    [    8.629739] edt_ft5x06 2-0038: using lookup tables for GPIO lookup

    [    8.629749] edt_ft5x06 2-0038: lookup for GPIO reset failed

    [    8.629760] edt_ft5x06 2-0038: GPIO lookup for consumer wake

    [    8.629767] edt_ft5x06 2-0038: using device tree for GPIO lookup

    [    8.629776] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4819c000/edt-ft5406@38[0]'

    [    8.629784] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4819c000/edt-ft5406@38[0]'

    [    8.629791] edt_ft5x06 2-0038: using lookup tables for GPIO lookup

    [    8.629799] edt_ft5x06 2-0038: lookup for GPIO wake failed

    [    8.661281] edt_ft5x06 2-0038: touchscreen probe failed

    [    8.710605] edt_ft5x06: probe of 2-0038 failed with error -121

    [    9.207375] omap_hwmod: pruss: _wait_target_ready failed: -16

    [    9.363249] pruss-soc-bus 4a326000.pruss-soc-bus: use pm_runtime_put_sync_suspend() in driver?

    [    9.483597] pruss-soc-bus 4a326000.pruss-soc-bus: couldn't enable module

    [    9.625740] pruss-soc-bus: probe of 4a326000.pruss-soc-bus failed with error -16

    [    9.822018] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

    [    9.910896] omap-aes 53500000.aes: will run requests pump with realtime priority

    [   10.091371] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

    [   10.289993] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1

    [   11.870913] remoteproc remoteproc0: wkup_m3 is available

    [   12.105137] Bluetooth: Core ver 2.22

    [   12.108895] NET: Registered protocol family 31

    [   12.230246] remoteproc remoteproc0: powering up wkup_m3

    [   12.254571] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268

    [   12.254873] remoteproc remoteproc0: remote processor wkup_m3 is now up

    [   12.254907] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192

    [   12.290386] PM: bootloader does not support rtc-only!

    [   12.885188] Bluetooth: HCI device and connection manager initialized

    [   12.987956] Bluetooth: HCI socket layer initialized

    [   13.050951] Bluetooth: L2CAP socket layer initialized

    [   13.056132] Bluetooth: SCO socket layer initialized

    [   13.749408] net eth0: initializing cpsw version 1.12 (0)

    [   13.754791] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4

    [   13.998214] cpsw 4a100000.ethernet: ALE Table size 1024

    [   14.239902] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)

    [   14.306178] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    [   14.655846] libphy: PHY 4a101000.mdio:01 not found

    [   14.760495] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19

    [   15.066781] cpts ptp bc clkid 0

    [   15.274986] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

    [   18.275501] NET: Registered protocol family 15

    [   19.832044] Initializing XFRM netlink socket

    [   19.937421] g_multi: unknown parameter 'DM75' ignored

    [   20.006824] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers

    [   20.389196] random: crng init done

    [   25.380595] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset

    [   25.380618] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup

    [   25.380637] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

    [   25.380648] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

    [   25.380658] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup

    [   25.380669] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed

    [   25.380681] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect

    [   25.380688] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup

    [   25.380698] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

    [   25.380707] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'

    [   25.380714] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup

    [   25.380722] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed

    [   25.380843] 47401300.usb-phy supply vcc not found, using dummy regulator

    [   25.404810] usbcore: registered new interface driver usbfs

    [   25.457202] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset

    [   25.457213] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup

    [   25.457231] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

    [   25.457240] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

    [   25.457248] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup

    [   25.457258] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed

    [   25.457267] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect

    [   25.457273] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup

    [   25.457282] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

    [   25.457290] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'

    [   25.457297] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup

    [   25.457304] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed

    [   25.457424] 47401b00.usb-phy supply vcc not found, using dummy regulator

    [   25.466330] usbcore: registered new interface driver hub

    [   25.646455] usbcore: registered new device driver usb

    [   25.895326] musb-hdrc musb-hdrc.0: MUSB HDRC host driver

    [   25.970323] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1

    [   26.076460] hub 1-0:1.0: USB hub found

    [   26.150451] hub 1-0:1.0: 1 port detected

    [   26.306133] using random self ethernet address

    [   26.330336] using random host ethernet address

    [   26.383137] using host ethernet address: 68:C9:0B:BB:19:3C

    [   26.447405] using random self ethernet address

    [   26.489301] using random host ethernet address

    [   26.493821] using host ethernet address: 68:C9:0B:BB:19:3C

    [   26.610967] usb0: HOST MAC 68:c9:0b:bb:19:3c

    [   26.657878] usb0: MAC 36:6c:95:80:60:3a

    [   26.815601] Mass Storage Function, version: 2009/09/11

    [   26.841236] LUN: removable file: (no medium)

    [   26.845988] LUN: removable read only file: /dev/mmcblk0p1

    [   26.910222] Number of LUNs=1

    [   26.940383] g_multi gadget: Multifunction Composite Gadget

    [   26.967270] g_multi gadget: g_multi ready

    [   27.018905] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

    [   27.095025] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2

    [   27.160720] hub 2-0:1.0: USB hub found

    [   27.181873] hub 2-0:1.0: 1 port detected

    [   27.365219] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104

    [   27.517636] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104

    [   27.670065] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104

    [   27.822501] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c

    [   28.590010] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

    [   30.798664] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

    [   40.876152] alloc_contig_range: [9d044, 9d046) PFNs busy

    [   40.882896] alloc_contig_range: [9d044, 9d046) PFNs busy

     

     

    #df -h

    Filesystem                Size      Used Available Use% Mounted on

    /dev/root                 7.1G      1.5G      5.2G  22% /

    devtmpfs                223.6M      4.0K    223.6M   0% /dev

    tmpfs                   248.1M    508.0K    247.6M   0% /dev/shm

    tmpfs                   248.1M      9.5M    238.6M   4% /run

    tmpfs                   248.1M         0    248.1M   0% /sys/fs/cgroup

    tmpfs                   248.1M      3.7M    244.4M   1% /tmp

    tmpfs                    16.0M         0     16.0M   0% /media/ram

    tmpfs                    50.0M    108.0K     49.9M   0% /var/volatile

    /dev/mmcblk0p1           68.9M    535.0K     68.4M   1% /run/media/mmcblk0p1

    tmpfs                    49.6M         0     49.6M   0% /run/user/0

    /dev/sda1                14.3G      3.5G     10.8G  24% /run/media/sda1

    However, USB1 mounted successfully but serial not able to use.

    Thank you for your support.

  • Thejeswarareddy R said:
    However, USB1 mounted successfully but serial not able to use.

    What serial is it? Please provide more details about your query.

    By the way, the kernel log you posted above doesn't have any information related to the initial problem you posted - usb enumeration failure.

    Please state what is the exact problem on that you seek for support.

  • Hi Bin Liu,

    I solved this issue, by updating driver file in rootfs.

    Thanks for response!
  • Glad you solved the issue.
    Can you please briefly explain what the root cause was? what driver file you updated?
  • Hi Bin Liu,

    It is missing the .ko files in

    /lib/modules/`uname -r`/kernel/drivers/usb/serial/

    I added to it.

    that it.

    every time i am changing Kernel, DTB but updating module files into rootfs is not done.

    That's it.

    Thank you so much for you support.
  • Great! Thanks for the update.