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/TDA2EVM5777: USB3.0 on EVM Board and Doughterboard usb non functional... any ideas?

Part Number: TDA2EVM5777

Tool/software: Linux

Hello *!

Today I have to ask something quite simple: 

I use:

tisdk-rootfs-image-dra7xx-evm.tar.xz

downloaded from:

"http://downloads.ti.com/infotainment/esd/jacinto6/processor-sdk-linux-automotive/03_01_00_03/index_FDS.html"

to boot my DRA7xx EVM Board with TDA2+. 

Linux is booting, login is possible... much is working well, except USB: 

USB "port" 2 is working without problems, but: 

The USB on the "piggaback" Board don't. I need the USB3.0 Port (USB "port" 1), which is also non functional. 

XHCI have been probed "OKAY", usb-device shows: 

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.04
S: Manufacturer=Linux 4.4.84-g742f84423d xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.3.auto
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 2
D: Ver= 2.10 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0451 ProdID=8027 Rev=01.10
S: SerialNumber=10020059913E
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.04
S: Manufacturer=Linux 4.4.84-g742f84423d xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.3.auto
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

Controller looks fine, but Port is non functional.

Do you have any idea why the USB 3.0 (Port 2) is non functional out-of-the-box on original EVM Board with 100% TI build software-image?
(3v3 missing, or any known issues on this?)

TNX - Marco.

  • Hi Marco,

    Looking the lsusb dump your have provided, I am not really seeing the xhci host controller lisiting for USB0(usb@48890000). The first and third listing you have above is for USB1((usb@488d0000). Note that there will be 2 entry per USB instance (one for HS and one for SS).

    Note that as per the device tree entry, USB0 is configured in OTG mode. So it will switch to either HOST or DEVICE mode based on the ID pin.

    You can verify this by typing the below command:
    cat /sys/kernel/debug/48890000.usb/mode

    One thing is you can force it to HOST mode by tying below:
    echo "host" > /sys/kernel/debug/48890000.usb/mode

    Try lsusb after this.
    Please let me know what you see when run the above.
    Also let me know what device did you connect to USB0 port and how did you connect? What kind of USB3 adapter you are using? A picture of it will help me identify the issue you may be seeing.

    regards,

    Praveen
  • Back again, thank you for the quick response!

    I will keep it short: 

    • USB3.0 micro B cable on both sides connecting a SSD (working well under Ubuntu on PC) "Intenso premium portable 512GB"
    • Mode is OTG
    • I forced HOST mode -> without success :-(
    • lsusb shows: 

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation
    Bus 001 Device 002: ID 0451:8027 Texas Instruments, Inc.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation

    It seems the port is not powered? (But: USB Port 2 works well...?) 

    Never the less: Maybe Dip-switch setting or setting of GPIO is necessary to power up the port?

    TNX - Marco

  • Hi Marco,

    Are you using the OTG adapter to connect the SSD to the TI-EVM board? if yes, Can you check this link (http://processors.wiki.ti.com/index.php/Linux_Core_DWC3_User's_Guide#Testing ) and see if you have similar OTG adapter.

    I don't see that the USB Port1 (USB@48890000) is not switching to HOST mode. Can you share the full kernel log?

    -Praveen

  • Hi again!

    My SSD connection looks like this: 

    (In my Hand: SSD and cable, below: Connection on EVM)

    What about the issue that the LED of my SSD never light?
    It is not powered (no 5V), so there is no chance for enumaration anyhow. 

    .... I will take a look in to the schematic and see if the 5V are at the connector. 
    (Any DIP-Switches or GPIO neccessary? You didn't answer this question... So I've to ask again ;-) ) 

    Pin 1 of the micro B Jacket: There is no 5V voltage present...

    Thanks... Marco.

  • a dmesg of the boot process shows following: 

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.008309] Switching to timer-based delay loop, resolution 162ns
    [    0.014968] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.025229] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.030969] Console: colour dummy device 80x30
    [    0.035622] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.042415] This ensures that you still see kernel messages. Please
    [    0.048930] update your kernel commandline.
    [    0.053322] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.063958] pid_max: default: 32768 minimum: 301
    [    0.068871] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.075758] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.083615] Initializing cgroup subsys io
    [    0.087835] Initializing cgroup subsys memory
    [    0.092409] Initializing cgroup subsys devices
    [    0.097057] Initializing cgroup subsys freezer
    [    0.101718] Initializing cgroup subsys perf_event
    [    0.106635] Initializing cgroup subsys pids
    [    0.111030] CPU: Testing write buffer coherency: ok
    [    0.116318] /cpus/cpu@0 missing clock-frequency property
    [    0.121864] /cpus/cpu@1 missing clock-frequency property
    [    0.127419] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.133343] Setting up static identity map for 0x80008380 - 0x800083e0
    [    0.220420] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.220491] Brought up 2 CPUs
    [    0.229510] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.235950] CPU: All CPU(s) started in HYP mode.
    [    0.240771] CPU: Virtualization extensions available.
    [    0.246426] devtmpfs: initialized
    [    0.278956] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.287844] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.407992] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.513524] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.523721] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.533994] pinctrl core: initialized pinctrl subsystem
    [    0.540279] NET: Registered protocol family 16
    [    0.545889] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.575007] cpuidle: using governor ladder
    [    0.605031] cpuidle: using governor menu
    [    0.617946] OMAP GPIO hardware version 0.1
    [    0.626369] GPIO line 161 (radio_rst) hogged as output/low
    [    0.634449] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.669366] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.677685] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.684226] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.691918] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.700159] OMAP DMA hardware revision 0.0
    [    0.745635] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.756542] edma 43300000.edma: memcpy is disabled
    [    0.766239] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.776827] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.782902] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.788980] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.795028] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.801202] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.807273] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.816444] palmas 0-0058: IRQ missing: skipping irq request
    [    0.833540] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [    0.894091] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
    [    0.901983] pcf857x 0-0020: probed
    [    0.906141] pcf857x 0-0021: probed
    [    0.910091] GPIO line 465 (vin6_sel_s0) hogged as output/low
    [    0.916087] pcf857x 0-0026: probed
    [    0.919807] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.926024] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.946118] pcf857x: probe of 3-0021 failed with error -121
    [    0.951953] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.977867] pca953x 4-0020: failed reading register
    [    0.982966] pca953x: probe of 4-0020 failed with error -121
    [    0.989384] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.995390] media: Linux media interface: v0.10
    [    1.000188] Linux video capture interface: v2.00
    [    1.005044] pps_core: LinuxPPS API ver. 1 registered
    [    1.010238] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.019712] PTP clock support registered
    [    1.023874] EDAC MC: Ver: 3.0.0
    [    1.027951] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    1.034590] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    1.041281] Advanced Linux Sound Architecture Driver Initialized.
    [    1.048502] clocksource: Switched to clocksource arch_sys_counter
    [    1.065601] NET: Registered protocol family 2
    [    1.070664] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    1.078037] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    1.084867] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.091526] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    1.097708] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    1.104523] NET: Registered protocol family 1
    [    1.109359] RPC: Registered named UNIX socket transport module.
    [    1.115522] RPC: Registered udp transport module.
    [    1.120448] RPC: Registered tcp transport module.
    [    1.125361] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.132079] PCI: CLS 0 bytes, default 64
    [    1.133097] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    1.151654] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.158386] NFS: Registering the id_resolver key type
    [    1.163736] Key type id_resolver registered
    [    1.168114] Key type id_legacy registered
    [    1.172391] ntfs: driver 2.1.32 [Flags: R/O].
    [    1.178319] bounce: pool size: 64 pages
    [    1.182525] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    1.190251] io scheduler noop registered (default)
    [    1.195257] io scheduler deadline registered
    [    1.199781] io scheduler cfq registered
    [    1.206187] vsys_5v0: supplied by vsys_12v0
    [    1.210644] ldo3: supplied by vsys_5v0
    [    1.218248] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    1.229051] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    1.235217]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    1.243205]    IO 0x20003000..0x20012fff -> 0x00000000
    [    1.248594]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.286708] dra7-pcie 51000000.pcie_rc: link is not up
    [    1.292242] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    1.299049] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.304767] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.311210] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.318378] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.318420] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.318443] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.318528] pci 0000:00:00.0: supports D1
    [    1.318539] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.318762] PCI: bus0: Fast back to back transfers disabled
    [    1.324681] PCI: bus1: Fast back to back transfers enabled
    [    1.330486] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.337544] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.344616] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.350026] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.357260] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
    [    1.357381] aer 0000:00:00.0:pcie02: service driver aer loaded
    [    1.418993] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.429109] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.438289] console [ttyS0] enabled
    [    1.445496] bootconsole [earlycon0] disabled
    [    1.455165] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.464867] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.474975] [drm] Initialized drm 1.1.0 20060810
    [    1.481336] vsys_3v3: supplied by vsys_12v0
    [    1.485585] ldo5: supplied by vsys_3v3
    [    1.489992] OMAP DSS rev 6.1
    [    1.493732] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.502190] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    1.518307] loop: module loaded
    [    1.527517] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
    [    1.532937] 7 ofpart partitions found on MTD device spi32766.0
    [    1.538810] Creating 7 MTD partitions on "spi32766.0":
    [    1.543974] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    1.550046] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.556350] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.563273] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.569924] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.577259] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.583587] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    1.591282] libphy: Fixed MDIO Bus: probed
    [    1.638538] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.644661] libphy: 48485000.mdio: probed
    [    1.653018] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver TI DP83867
    [    1.661362] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver TI DP83867
    [    1.670347] cpsw 48484000.ethernet: Detected MACID = 0c:b2:b7:92:97:5c
    [    1.677000] cpsw 48484000.ethernet: cpts: overflow check period 800
    [    1.684020] cpsw 48484000.ethernet: cpsw: Detected MACID = 0c:b2:b7:92:97:5d
    [    1.692748] mousedev: PS/2 mouse device common for all mice
    [    1.699099] i2c /dev entries driver
    [    1.703251] tvp5158 4-0058: Unable to of_probe
    [    1.708229] ov1063x 4-0037: Failed writing register 0x0103!
    [    1.713885] ov1063x: probe of 4-0037 failed with error -121
    [    1.719699] ov490 4-0024: Failed reading register 0x300a!
    [    1.725129] ov490: probe of 4-0024 failed with error -121
    [    1.731252] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    1.738306] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    1.748727] vpe 489d0000.vpe: Device registered as /dev/video0
    [    1.754944] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.759615] vip 48970000.vip: VPDMA firmware loaded
    [    1.764844] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.771339] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.777722] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.784118] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.790512] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.797084] vio_3v3: supplied by vsys_3v3
    [    1.801167] vio_3v3_sd: supplied by vio_3v3
    [    1.805502] ldo4: supplied by vsys_5v0
    [    1.858941] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.865328] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    1.888675] smps5: supplied by vsys_3v3
    [    1.892730] vio_1v8: supplied by smps5
    [    1.950302] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.971894] hwspinlock_user gatemp: requested 20 hwspinlocks
    [    1.978926] aic_dvdd: supplied by vio_3v3
    [    1.985449] davinci-mcasp 48464000.mcasp: DAI is shared
    [    1.991580] davinci-mcasp 48474000.mcasp: DAI is shared
    [    1.997668] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    2.008425] NET: Registered protocol family 10
    [    2.023877] sit: IPv6 over IPv4 tunneling driver
    [    2.029066] NET: Registered protocol family 17
    [    2.033755] Key type dns_resolver registered
    [    2.038191] omap_voltage_late_init: Voltage driver support not added
    [    2.045100] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.051355] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.057639] buck10: supplied by vsys_3v3
    [    2.062227] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.068437] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.076669] Power Management for TI OMAP4+ devices.
    [    2.081764] Registering SWP/SWPB emulation handler
    [    2.087397] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.094522] dmm 4e000000.dmm: initialized all PAT entries
    [    2.100254] ldo1: supplied by vsys_3v3
    [    2.107026] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.113727] [drm] No driver support for vblank timestamp query.
    [    2.119732] omapdrm omapdrm.0: No connectors reported connected with modes
    [    2.126671] [drm] Cannot find any crtc or sizes - going 1024x768
    [    2.134977] [drm] Enabling DMM ywrap scrolling
    [    2.143026] Console: switching to colour frame buffer device 128x48
    [    2.152342] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.179189] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.185353] tvp5158 4-0058: Unable to of_probe
    [    2.190845] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    2.200516] asoc-simple-card jamr3_sound: tlv320aic3x-hifi <-> 48474000.mcasp mapping ok
    [    2.209786] tvp5158 4-0058: Unable to of_probe
    [    2.214967] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    2.221873] hctosys: unable to open rtc device (rtc0)
    [    2.221897] tvp5158 4-0058: Unable to of_probe
    [    2.231418] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.241383] mmc0: new high speed SDHC card at address 0007
    [    2.247650] aic_dvdd: disabling
    [    2.250954] ALSA device list:
    [    2.253930]   #0: DRA7xx-EVM
    [    2.256817]   #1: HDMI 58040000.encoder
    [    2.257262] mmcblk0: mmc0:0007 SD4GB 3.71 GiB 
    [    2.260723]  mmcblk0: p1 p2
    [    2.261261] tvp5158 4-0058: Unable to of_probe
    [    2.272477]   #2: DRA7xx-JAMR3
    [    2.312247] mmc1: MAN_BKOPS_EN bit is not set
    [    2.323531] mmc1: new HS200 MMC card at address 0001
    [    2.338862] mmcblk1: mmc1:0001 MMC08G 7.25 GiB 
    [    2.343577] mmcblk1boot0: mmc1:0001 MMC08G partition 1 8.00 MiB
    [    2.359724] mmcblk1boot1: mmc1:0001 MMC08G partition 2 8.00 MiB
    [    2.366798] tvp5158 4-0058: Unable to of_probe
    [    5.176434] EXT4-fs (mmcblk0p2): recovery complete
    [    5.184089] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.192266] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    5.199644] devtmpfs: mounted
    [    5.202831] Freeing unused kernel memory: 340K
    [    5.207293] This architecture does not have kernel memory protection.
    [    5.422569] systemd[1]: System time before build time, advancing clock.
    [    5.460478] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
    [    5.472937] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
    [    5.486710] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +)
    [    5.505187] systemd[1]: Detected architecture arm.
    [    5.529481] systemd[1]: Set hostname to <dra7xx-evm>.
    [    5.607583] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 23 bits of entropy available)
    [    5.627756] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    5.638192] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    5.654663] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
    [    5.672871] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
    [    5.777935] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    5.787424] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    5.797295] random: systemd: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    6.190492] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    6.198280] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    6.205996] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    6.213285] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    6.220733] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    6.230207] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [    6.260963] systemd[1]: Reached target Remote File Systems.
    [    6.290743] systemd[1]: Listening on Syslog Socket.
    [    6.308897] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    6.328859] systemd[1]: Listening on Network Service Netlink Socket.
    [    6.359917] systemd[1]: Created slice User and Session Slice.
    [    6.378774] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    6.399245] systemd[1]: Created slice System Slice.
    [    6.418692] systemd[1]: Reached target Slices.
    [    6.439279] systemd[1]: Created slice system-getty.slice.
    [    6.459224] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    6.488799] systemd[1]: Reached target Swap.
    [    6.508712] systemd[1]: Listening on Journal Socket (/dev/log).
    [    6.538733] systemd[1]: Listening on udev Control Socket.
    [    6.568936] systemd[1]: Listening on Journal Socket.
    [    6.628652] systemd[1]: Mounting Temporary Directory...
    [    6.650647] systemd[1]: Starting Setup Virtual Console...
    [    6.670342] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    6.684053] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    6.691628] systemd[1]: Mounting Debug File System...
    [    6.720445] systemd[1]: Starting Journal Service...
    [    6.740652] systemd[1]: Mounting POSIX Message Queue File System...
    [    6.772937] systemd[1]: Starting Load Kernel Modules...
    [    6.793507] CMEMK module: reference Linux version 4.4.84
    [    6.800938] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    6.810948] no physical memory specified
    [    6.814940] cmemk initialized
    [    6.832578] cryptodev: driver 1.8 loaded.
    [    6.838883] systemd[1]: Listening on udev Kernel Socket.
    [    6.858967] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    6.888754] systemd[1]: Reached target Paths.
    [    6.943203] systemd[1]: Mounted Debug File System.
    [    6.968750] systemd[1]: Mounted POSIX Message Queue File System.
    [    6.998712] systemd[1]: Mounted Temporary Directory.
    [    7.018893] systemd[1]: Started Journal Service.
    [    7.658918] systemd-journald[141]: Received request to flush runtime journal from PID 1
    [    8.081668] CAN device driver interface
    [    8.087905] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    8.107638]  remoteproc0: 58820000.ipu is available
    [    8.113854]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    8.124722]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.144785] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    8.145446] tvp5158 4-0058: Unable to of_probe
    [    8.178426]  remoteproc1: 55020000.ipu is available
    [    8.204198]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    8.236136]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.260238] tvp5158 4-0058: Unable to of_probe
    [    8.260285] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    8.260322]  remoteproc2: 40800000.dsp is available
    [    8.260325]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    8.260327]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.261274] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    8.261308]  remoteproc3: 41000000.dsp is available
    [    8.261310]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    8.261312]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    8.276566] m_can 42c01a00.mcan: hclk could not be found
    [    8.277095] m_can 42c01a00.mcan: m_can device registered (irq=367, version=32)
    [    8.352377] tvp5158 4-0058: Unable to of_probe
    [    8.572777] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    8.605980] tvp5158 4-0058: Unable to of_probe
    [    8.625782] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    8.633706] tvp5158 4-0058: Unable to of_probe
    [    8.843647] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    8.853192] tvp5158 4-0058: Unable to of_probe
    [    8.861797] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    8.880394] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    8.880919] tvp5158 4-0058: Unable to of_probe
    [    8.891865] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.892171] tvp5158 4-0058: Unable to of_probe
    [    8.904048] tvp5158 4-0058: Unable to of_probe
    [    8.929535] tvp5158 4-0058: Unable to of_probe
    [    9.040173] SCSI subsystem initialized
    [    9.158741]  remoteproc1: registered virtio0 (type 7)
    [    9.194845]  remoteproc0: registered virtio1 (type 7)
    [    9.239306] libata version 3.00 loaded.
    [    9.404385] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    9.412846] ahci 4a140000.sata: Enable 32-bit DMA instead of 64-bit.
    [    9.447574] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    9.465305]  remoteproc2: registered virtio2 (type 7)
    [    9.473639] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    9.477451]  remoteproc3: registered virtio3 (type 7)
    [    9.525487] scsi host0: ahci
    [    9.549684] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 343
    [    9.601369] tvp5158 4-0058: Unable to of_probe
    [    9.625752] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    9.635031] tvp5158 4-0058: Unable to of_probe
    [    9.641812] tvp5158 4-0058: Unable to of_probe
    [    9.948651] ata1: SATA link down (SStatus 0 SControl 300)
    [   10.199003] Bluetooth: Core ver 2.21
    [   10.206859] NET: Registered protocol family 31
    [   10.224017] Bluetooth: HCI device and connection manager initialized
    [   10.245844] Bluetooth: HCI socket layer initialized
    [   10.267496] Bluetooth: L2CAP socket layer initialized
    [   10.284165] Bluetooth: SCO socket layer initialized
    [   10.349248] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.397676] net eth1: initializing cpsw version 1.15 (0)
    [   10.429836] net eth0: initialized cpsw ale version 1.4
    [   10.464351] net eth0: ALE Table size 1024
    [   10.483238] NET: Registered protocol family 15
    [   10.529972]  remoteproc1: powering up 55020000.ipu
    [   10.543455]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743112
    [   10.575001] random: nonblocking pool is initialized
    [   10.584409] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   10.657244] net eth1: phy found : id is : 0x2000a231
    [   10.667184] Initializing XFRM netlink socket
    [   10.699747]  remoteproc1: remote processor 55020000.ipu is now up
    [   10.718971] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   10.726420] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   10.729566] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   10.730451] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   10.756284] net eth0: initializing cpsw version 1.15 (0)
    [   10.770942] tvp5158 4-0058: Unable to of_probe
    [   10.776238]  remoteproc0: powering up 58820000.ipu
    [   10.805340]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4794908
    [   10.831864] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   10.873164]  remoteproc0: remote processor 58820000.ipu is now up
    [   10.898549] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   10.899881] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [   10.899997] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [   10.900190] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [   10.900324] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   10.939393] net eth0: phy found : id is : 0x2000a231
    [   10.955363] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   10.990185] tvp5158 4-0058: Unable to of_probe
    [   10.999802]  remoteproc2: powering up 40800000.dsp
    [   11.019464]  remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 5635840
    [   11.032959] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   11.038840] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   11.044776] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   11.104180]  remoteproc2: remote processor 40800000.dsp is now up
    [   11.115406] tvp5158 4-0058: Unable to of_probe
    [   11.135010] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   11.135756] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x32
    [   11.135966] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x33
    [   11.136240] virtio_rpmsg_bus virtio2: creating channel rpmsg-omx addr 0x3c
    [   11.136352] virtio_rpmsg_bus virtio2: creating channel rpmsg-rpc addr 0x65
    [   11.210258] tvp5158 4-0058: Unable to of_probe
    [   11.216839]  remoteproc3: powering up 41000000.dsp
    [   11.233942]  remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 5635844
    [   11.267784] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   11.273667] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   11.279588] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   11.317822]  remoteproc3: remote processor 41000000.dsp is now up
    [   11.339324] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   11.340072] virtio_rpmsg_bus virtio3: creating channel rpmsg-client-sample addr 0x32
    [   11.340386] virtio_rpmsg_bus virtio3: creating channel rpmsg-client-sample addr 0x33
    [   11.340479] virtio_rpmsg_bus virtio3: creating channel rpmsg-omx addr 0x3c
    [   11.340673] virtio_rpmsg_bus virtio3: creating channel rpmsg-rpc addr 0x65
    [   11.413261] tvp5158 4-0058: Unable to of_probe
    [   11.439581] rpmsg_rpc rpmsg0: probing service dce-callback with src 1024 dst 101
    [   11.478310] tvp5158 4-0058: Unable to of_probe
    [   11.478410] rpmsg_rpc rpmsg0: published functions = 4
    [   11.478696] rpmsg_rpc rpmsg1: probing service rpmsg-dce with src 1025 dst 102
    [   11.495340] rpmsg_rpc rpmsg5: probing service rpc_example_2 with src 1024 dst 101
    [   11.507167] rpmsg_rpc rpmsg1: published functions = 9
    [   11.507345] tvp5158 4-0058: Unable to of_probe
    [   11.526849] tvp5158 4-0058: Unable to of_probe
    [   11.527169] rpmsg_rpc rpmsg9: probing service rpc_example_4 with src 1024 dst 101
    [   11.527552] tvp5158 4-0058: Unable to of_probe
    [   11.527605] rpmsg_rpc rpmsg13: probing service rpc_example_3 with src 1024 dst 101
    [   11.527787] rpmsg_rpc rpmsg5: published functions = 8
    [   11.527845] rpmsg_rpc rpmsg9: published functions = 8
    [   11.528391] tvp5158 4-0058: Unable to of_probe
    [   11.537928] rpmsg_rpc rpmsg13: published functions = 8
    [   11.684020] tvp5158 4-0058: Unable to of_probe
    [   11.738924] usbcore: registered new interface driver usbfs
    [   11.756992] usbcore: registered new interface driver hub
    [   11.768195] usbcore: registered new device driver usb
    [   11.822497] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   11.828023] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [   11.847070] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [   11.865922] xhci-hcd xhci-hcd.3.auto: irq 503, io mem 0x488d0000
    [   11.883094] hub 1-0:1.0: USB hub found
    [   11.896697] hub 1-0:1.0: 1 port detected
    [   11.907231] tvp5158 4-0058: Unable to of_probe
    [   11.908357] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   11.908367] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [   11.908447] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.935663] hub 2-0:1.0: USB hub found
    [   11.941246] hub 2-0:1.0: 1 port detected
    [   11.954510] dwc3 48890000.usb: otg: primary host xhci-hcd.4.auto registered
    [   11.962403] tvp5158 4-0058: Unable to of_probe
    [   11.967026] dwc3 48890000.usb: otg: shared host xhci-hcd.4.auto registered
    [   11.980576] dwc3 48890000.usb: otg: can't start till gadget registers
    [   11.990458] tvp5158 4-0058: Unable to of_probe
    [   12.218555] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   12.269346] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   12.388921] hub 1-1:1.0: USB hub found
    [   12.396832] hub 1-1:1.0: 2 ports detected
    [   12.421538] tvp5158 4-0058: Unable to of_probe
    [   13.956103] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   13.964088] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    

  • Additional information:

    I am not able to "force" Host Mode:

    root@dra7xx-evm:~# echo "host" > /sys/kernel/debug/48890000.usb/mode   
                  
    root@dra7xx-evm:~# cat /sys/kernel/debug/48890000.usb/mode 
    OTG
    

  • I don't see the xhci host controller getting probed. Since this USB instance is configured in OTG mode in the kernel device tree file, we could force it to switch to Host mode. So , I suspect the issue to be due to the ID pin.

    Looks like the USB cable is not grounding the ID pin. There is a way to force the ID pin low on DRA7-evm. It can be done using DIP switch SW1 switch 2. Just flip it to the ON position and see if you get GPIO ID interrupt and XHCI host controller getting probed.

    The Voltage of VBUS pin of USB1 will be zero if usb cable is not inserted as it is in device mode. The moment you plug in the connect the OTG compliant able (which has ID grounded) you should see VBUS on USB1 as it now has entered in host mode.

    So if we don't see the voltage on VBUS pin, then most probably the usb cable used to connect the SSD drive is not OTG compliant and It will not work on the EVM.

    -Praveen