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/BEAGLEBK: unable to connect any usb devices through usb host of beaglebone black.

Part Number: BEAGLEBK

Tool/software: Linux

 booted the beaglebone black using ti am335x sdk  but unable to connect any usb devices through usb host . i checked the voltage level of usb pin  it shows 0v . how to enable usb host

  • Please post which Linux version you are using.
  • version --4.14.79-gbde58ab01e.
    sdk version --5.0.02
  • U-Boot SPL 2018.01-g313dcd69c2 (Dec 16 2018 - 09:01:09)
    Trying to boot from MMC1


    U-Boot 2018.01-g313dcd69c2 (Dec 16 2018 - 09:01:09 +0000)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM: 512 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Net: cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3871232 bytes read in 279 ms (13.2 MiB/s)
    36793 bytes read in 25 ms (1.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff4000, end 8fffffb8 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (oe-user@oe-host) (gcc version8
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [ 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] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 video=HDMI-A-1:1024xt
    [ 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: 456928K/524288K available (8192K kernel code, 319K rwdat)
    [ 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 - 0xc0d4fd40 ( 320 kB)
    [ 0.000000] .bss : 0xc0d4fd40 - 0xc0d92a8c ( 268 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrus
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
    [ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
    [ 0.000040] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000188] timer_probe: no matching timers found
    [ 0.000373] Console: colour dummy device 80x30
    [ 0.000400] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000407] This ensures that you still see kernel messages. Please
    [ 0.000412] update your kernel commandline.
    [ 0.000440] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [ 0.089226] pid_max: default: 32768 minimum: 301
    [ 0.089394] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089409] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090113] CPU: Testing write buffer coherency: ok
    [ 0.090173] CPU0: Spectre v2: using BPIALL workaround
    [ 0.090801] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.090939] Hierarchical SRCU implementation.
    [ 0.091243] EFI services will not be available.
    [ 0.092464] devtmpfs: initialized
    [ 0.099193] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac0
    [ 0.099761] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
    [ 0.100040] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [ 0.100062] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.103376] pinctrl core: initialized pinctrl subsystem
    [ 0.104039] DMI not present or invalid.
    [ 0.104411] NET: Registered protocol family 16
    [ 0.106419] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.118816] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.171021] cpuidle: using governor ladder
    [ 0.171055] cpuidle: using governor menu
    [ 0.174874] OMAP GPIO hardware version 0.1
    [ 0.183689] No ATAGs?
    [ 0.183705] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.195055] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.197780] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_we
    [ 0.197836] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_we
    [ 0.197942] media: Linux media interface: v0.10
    [ 0.197984] Linux video capture interface: v2.00
    [ 0.198080] pps_core: LinuxPPS API ver. 1 registered
    [ 0.198088] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [ 0.198107] PTP clock support registered
    [ 0.198138] EDAC MC: Ver: 3.0.0
    [ 0.198609] dmi: Firmware registration failed.
    [ 0.198985] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.199454] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.200541] clocksource: Switched to clocksource timer1
    [ 0.207487] NET: Registered protocol family 2
    [ 0.208153] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.208198] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.208237] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.208326] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.208343] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.208484] NET: Registered protocol family 1
    [ 0.208901] RPC: Registered named UNIX socket transport module.
    [ 0.208915] RPC: Registered udp transport module.
    [ 0.208921] RPC: Registered tcp transport module.
    [ 0.208927] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.209936] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.210049] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
    [ 0.211494] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.215153] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.215934] NFS: Registering the id_resolver key type
    [ 0.215976] Key type id_resolver registered
    [ 0.215983] Key type id_legacy registered
    [ 0.216028] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.217876] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [ 0.217893] io scheduler noop registered
    [ 0.217901] io scheduler deadline registered
    [ 0.218093] io scheduler cfq registered (default)
    [ 0.218102] io scheduler mq-deadline registered
    [ 0.218109] io scheduler kyber registered
    [ 0.219188] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.263519] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.266273] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
    [ 0.902541] console [ttyS0] enabled
    [ 0.907720] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 0.924926] brd: module loaded
    [ 0.933929] loop: module loaded
    [ 0.938906] libphy: Fixed MDIO Bus: probed
    [ 1.010618] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 0
    [ 1.018318] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.025713] libphy: 4a101000.mdio: probed
    [ 1.029758] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, dri0
    [ 1.039851] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:ec:34:c4
    [ 1.046621] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.053097] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.058381] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.066839] i2c /dev entries driver
    [ 1.070878] IR NEC protocol handler initialized
    [ 1.075431] IR RC5(x/sz) protocol handler initialized
    [ 1.080500] IR RC6 protocol handler initialized
    [ 1.085077] IR JVC protocol handler initialized
    [ 1.089624] IR Sony protocol handler initialized
    [ 1.094268] IR SANYO protocol handler initialized
    [ 1.098989] IR Sharp protocol handler initialized
    [ 1.103719] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.109571] IR XMP protocol handler initialized
    [ 1.115523] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.122650] sdhci: Secure Digital Host Controller Interface driver
    [ 1.128859] sdhci: Copyright(c) Pierre Ossman
    [ 1.133919] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.250782] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.257856] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.271798] NET: Registered protocol family 10
    [ 1.277471] Segment Routing with IPv6
    [ 1.281381] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.291282] NET: Registered protocol family 17
    [ 1.296051] Key type dns_resolver registered
    [ 1.300633] omap_voltage_late_init: Voltage driver support not added
    [ 1.315334] mmc0: host does not support reading read-only switch, assuming we
    [ 1.328122] mmc0: new high speed SDHC card at address aaaa
    [ 1.334160] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [ 1.343150] mmc1: new high speed MMC card at address 0001
    [ 1.349138] mmcblk0: p1 p2
    [ 1.352720] random: fast init done
    [ 1.357371] mmcblk1: mmc1:0001 M62704 3.56 GiB
    [ 1.362696] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
    [ 1.368964] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
    [ 1.375448] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
    [ 1.383334] mmcblk1:
    [ 1.388103] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [ 1.532900] tda998x 0-0070: found TDA19988
    [ 1.538189] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
    [ 1.544283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.550938] [drm] No driver support for vblank timestamp query.
    [ 1.635030] Console: switching to colour frame buffer device 128x48
    [ 1.657900] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.664069] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on min0
    [ 1.671703] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.679111] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [ 1.686932] hctosys: unable to open rtc device (rtc0)
    [ 1.692653] ALSA device list:
    [ 1.695641] No soundcards found.
    [ 1.715743] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [ 1.724422] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.735653] devtmpfs: mounted
    [ 1.740290] Freeing unused kernel memory: 1024K
    [ 2.129068] systemd[1]: System time before build time, advancing clock.
    [ 2.205189] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SE)
    [ 2.228147] systemd[1]: Detected architecture arm.

    Welcome to Arago 2018.10!

    [ 2.282703] systemd[1]: Set hostname to <am335x-evm>.
    [ 2.650805] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown '
    [ 2.940138] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.947616] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 2.980945] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.988084] systemd[1]: Listening on Syslog Socket.
    [ OK ] Listening on Syslog Socket.
    [ 3.021337] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.028760] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ 3.096307] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 3.131251] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 3.163958] systemd[1]: Started Dispatch Password Requests to Console Direct.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Reached target Remote File Systems.
    [ OK ] Created slice System Slice.
    Mounting POSIX Message Queue File System...
    [ OK ] Reached target Slices.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    Mounting Kernel Debug File System...
    Mounting Temporary Directory (/tmp)...
    [ OK ] Listening on udev Control Socket.
    [ OK ] Listening on Journal Socket.
    Starting Journal Service...
    Starting Load Kernel Modules...
    Starting Remount Root and Kernel File Systems...
    Starting Create list of required st��…ce nodes for the current kernel..
    [ OK ] Created slice system-getty.slice.
    [ 3.837908] cryptodev: loading out-of-tree module taints kernel.
    [ 3.857602] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ OK ] Mounted Kernel Debug File System.
    [ 3.913315] cryptodev: driver 1.9 loaded.
    [ OK ] Mounted POSIX Message Queue File System.
    [ 3.965599] usbcore: registered new interface driver usbfs
    [ OK ] Mounted Temporary Directory (/tmp).
    [ 3.984881] usbcore: registered new interface driver hub
    [ 3.995593] usbcore: registered new device driver usb
    [ 4.009596] usbcore: registered new interface driver usbserial
    [ OK ] Started Journal Service.
    [ 4.039223] usbcore: registered new interface driver ftdi_sio
    [ 4.045311] usbserial: USB Serial support registered for FTDI USB Serial Deve
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Create list of required sta��…vice nodes for the current kerne.
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting udev Coldplug all Devices...
    Starting Create Static Device Nodes in /dev...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 4.562304] systemd-journald[69]: Received request to flush runtime journal 1
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Mounting /media/ram...
    Starting udev Kernel Device Manager...
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started Flush Journal to Persistent Storage.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ 6.528773] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ OK ] Found device /dev/ttyS0.
    [ 6.681145] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [ 6.801777] omap_rtc 44e3e000.rtc: already running
    [ 6.835144] omap_rtc 44e3e000.rtc: registered as rtc0
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily rotation of log files.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    [ OK ] Reached target Containers.
    Starting RPC Bind Service...
    Starting Login Service...
    Starting uim-sysfs.service...
    Starting Print notice about GPLv3 packages...
    [ OK ] Started Periodic Command Scheduler.
    [ OK ] Started Kernel Logging Service.
    [ 7.741485] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ OK ] Started System Logging Service.
    [ OK ] Started Job spooling tools.
    [ 8.020344] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on 1
    [ 8.132643] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 8.164080] PM: Cannot get wkup_m3_ipc handle
    [ 8.191524] remoteproc remoteproc0: wkup_m3 is available
    [ 8.206663] PM: Cannot get wkup_m3_ipc handle
    [ 8.206834] remoteproc remoteproc0: powering up wkup_m3
    [ 8.243967] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,8
    [ 8.244220] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 8.244248] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 8.290498] random: crng init done
    [ 8.290508] random: 7 urandom warning(s) missed due to ratelimiting
    [ 8.987558] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: no source widgetk
    [ 8.987568] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add roX
    [ 9.001595] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
    [ 9.001627] asoc-simple-card sound: ASoC: no DMI vendor name!
    [ 9.027256] PM: bootloader does not support rtc-only!
    [ OK ] Started Hardware RNG Entropy Gatherer Daemon.[ 9.527196] omap-aes 52

    [ OK ] Started D-Bus System Message Bus.
    [ 9.585608] omap-aes 53500000.aes: will run requests pump with realtime prioy
    [ 10.845765] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
    Starting Save/Restore Sound Card State...
    Starting Avahi mDNS/DNS-SD Stack...
    Starting Network Service...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Started RPC Bind Service.
    [ OK ] Started Save/Restore Sound Card State.
    [ OK ] Found device /dev/ttyS3.
    [ OK ] Started Network Service.
    [ 12.762052] net eth0: initializing cpsw version 1.12 (0)
    [ 12.921914] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC)
    [ 13.082259] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ OK ] Found device /dev/mmcblk0p1.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Started Login Service.
    Starting Start USB gadget...
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    Starting Wait for Network to be Configured...
    [ OK ] Reached target Network.
    Starting Permit User Sessions...
    Starting Enable and configure wl18xx bluetooth stack...
    Starting Simple Network Management Protocol (SNMP) Daemon....
    Starting Network Name Resolution...
    Starting Lightning Fast Webserver With Light System Requirements...
    [ OK ] Started Redis In-Memory Data Store.
    [ 14.899672] udc-core: couldn't find an available UDC - added [g_multi] to lis
    [ OK ] Started uim-sysfs.service.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Network Name Resolution.
    [ 15.990225] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc r
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [ 16.250685] using random self ethernet address
    [ 16.255169] using random host ethernet address
    [ 16.259652] using host ethernet address: 98:5D:AD:EC:34:C6
    [ 16.259679] using random self ethernet address
    [ 16.418888] using random host ethernet address
    [ 16.462499] using host ethernet address: 98:5D:AD:EC:34:C6
    [ 16.471412] usb0: HOST MAC 98:5d:ad:ec:34:c6
    [ 16.583397] usb0: MAC a6:b2:93:ce:fd:41
    [ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
    [ 16.724440] Mass Storage Function, version: 2009/09/11
    [ 16.729658] LUN: removable file: (no medium)
    [ 16.787266] LUN: removable read only file: /dev/mmcblk0p1
    [ 16.838201] Number of LUNs=1
    [ 16.872993] g_multi gadget: Multifunction Composite Gadget
    [ 16.878559] g_multi gadget: g_multi ready
    [ 16.959139] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc r
    [ 17.092402] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 17.097786] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb1
    [ 17.213233] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 17.220074] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [ 17.390018] usb usb1: Product: MUSB HDRC host driver
    [ 17.411123] pruss 4a300000.pruss: creating PRU cores and other child platfors
    [ 17.524629] usb usb1: Manufacturer: Linux 4.14.79-gbde58ab01e musb-hcd
    [ 17.579516] usb usb1: SerialNumber: musb-hdrc.1
    [ 17.634736] hub 1-0:1.0: USB hub found
    [ 17.662561] g_multi gadget: high-speed config #2: Multifunction with CDC ECM
    [ 17.677502] hub 1-0:1.0: 1 port detected
    [ 17.888891] remoteproc remoteproc1: 4a334000.pru is available
    [ 17.967120] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (88, <AValid),c
    [ 18.039623] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a3260y
    [ 18.128117] remoteproc remoteproc2: 4a338000.pru is available
    [ 18.177140] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a3260y
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    bash-dev
    bash
    binutils
    cifs-utils
    cpio
    cpp-symlinks
    cpp
    dosfstools
    elfutils
    findutils
    g++-symlinks
    g++
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    gettext
    glmark2
    gstreamer1.0-libav
    gzip
    hidapi
    libdw1
    libelf1
    libgdbm-compat4
    libgdbm-dev
    libgdbm4
    libgettextlib
    libgettextsrc
    libgmp10
    libidn11
    libmavconn
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline7
    libunistring2
    m4-dev
    m4
    make
    mavlink
    mavros-extras
    mavros-msgs
    mavros
    nettle
    python3-pycairo
    socketcan-interface
    which

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [ OK ] Started Print notice about GPLv3 packages.
    [ OK ] Found device /dev/ttyGS0.
    [ OK ] Reached target Sound Card.
    [ OK ] Reached target Host and Network Name Lookups.
    [ OK ] Started NFS status monitor for NFSv2/3 locking..
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Serial Getty on ttyGS0.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    Starting rc.pvr.service...
    [ OK ] Started Synchronize System and HW clocks.
    [ 21.378434] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [ OK ] Started rc.pvr.service.
    Starting weston.service...
    [ OK ] Started weston.service.
    Starting Matrix GUI...
    Starting telnetd.service...
    [ OK ] Started Matrix GUI.
    [ OK ] Started telnetd.service.
    Starting thttpd.service...
    Starting busybox-udhcpd.service...
    [ OK ] Started thttpd.service.
    [ OK ] Started busybox-udhcpd.service.
    Starting rng-tools.service...
    [ OK ] Started rng-tools.service.
































































    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2018.10 am335x-evm ttyS0

    am335x-evm login: [ 28.938699] alloc_contig_range: [9d043, 9d044) PFNs busy
    [ 28.945514] alloc_contig_range: [9d043, 9d044) PFNs busy
  • What USB devices have you tested?

    manoj sai said:
    [ 17.967120] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (88, <AValid),c

    This log message indicates the USB device you plugged in draws too much current which causes VBUS drops below VBUSVALID threshold, then the USB port is turned off. You have to reboot the board to recover from it.