Custom board boots up, UART works, USB doesn't

Hi all,

I have a custom board (based on PocketBeagle design). I was able to flash the EEPROM and it boots up normally and I have access to the Linux command Line through UART0 interface. However, the board doesn’t show up as a USB device as the PocketBeagle does.

Any ideas how to solve this issue?

Regards,

Hi. The schematic of the USB0 is the same as they pocket?

Yes.
Here is the UART log when booting up:

U-Boot SPL 2018.03-00002-gac9cce7c6a (Apr 05 2018 - 13:07:46 -0500)
Trying to boot from MMC1
Loading Environment from EXT4… ** File not found /boot/uboot.env **

** Unable to read “/boot/uboot.env” from mmc0:1 **
Failed (-5)

U-Boot 2018.03-00002-gac9cce7c6a (Apr 05 2018 - 13:07:46 -0500), Build: jenkins- github_Bootloader-Builder-47

CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: Internal.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4… ** File not found /boot/uboot.env **

** Unable to read “/boot/uboot.env” from mmc0:1 **
Failed (-5)
Model: BeagleBoard.org PocketBeagle
not set. Validating first E-fuse MAC
Net: usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335PBGL] …
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
2086 bytes read in 67 ms (30.3 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-4.14.49-ti-r54 …
10453504 bytes read in 713 ms (14 MiB/s)
loading /boot/dtbs/4.14.49-ti-r54/am335x-pocketbeagle.dtb …
124183 bytes read in 130 ms (932.6 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo …
3513 bytes read in 520 ms (5.9 KiB/s)
loading /boot/initrd.img-4.14.49-ti-r54 …
4034122 bytes read in 319 ms (12.1 MiB/s)
debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait c oherent_pool=1M net.ifnames=0 quiet] …
debug: [bootz 0x82000000 0x88080000:3d8e4a 88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fc27000, end 8ffffe4a … OK
reserving fdt memory region: addr=88000000 size=7f000
Loading Device Tree to 8fba5000, end 8fc26fff … OK

Starting kernel …

[ 0.001516] timer_probe: no matching timers found
[ 0.614027] dmi: Firmware registration failed.
[ 1.112814] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.303794] omap_voltage_late_init: Voltage driver support not added
[ 1.990560] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2018-06-17

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: debian
Password:
Last login: Mon Aug 6 22:12:03 UTC 2018 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$

Here is the output of dmesg and ifconfig:

debian@beaglebone:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.49-ti-r54 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 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 PocketBeagle
[ 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 0x9c800000
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c15ed380, node_mem_map df961000
[ 0.000000] Normal zone: 1148 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x460 with crng_init=0
[ 0.000000] percpu: Embedded 18 pages/cpu @df900000 s41548 r8192 d23988 u73728
[ 0.000000] pcpu-alloc: s41548 r8192 d23988 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
[ 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: 440624K/522240K available (13312K kernel code, 1168K rwdata, 4372K rodata, 1024K init, 673K bss, 32464K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0e00000 (14304 kB)
.init : 0xc1400000 - 0xc1500000 (1024 kB)
.data : 0xc1500000 - 0xc16241a8 (1169 kB)
.bss : 0xc162ec1c - 0xc16d709c ( 674 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 42794 entries in 126 pages
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 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.000041] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000052] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001528] timer_probe: no matching timers found
[ 0.001764] Console: colour dummy device 80x30
[ 0.001791] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.001796] This ensures that you still see kernel messages. Please
[ 0.001800] update your kernel commandline.
[ 0.001824] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)
[ 0.025876] pid_max: default: 32768 minimum: 301
[ 0.026152] Security Framework initialized
[ 0.026167] Yama: becoming mindful.
[ 0.026208] AppArmor: AppArmor disabled by boot time parameter
[ 0.026403] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.026416] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.027441] CPU: Testing write buffer coherency: ok
[ 0.027944] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.041966] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.049875] Hierarchical SRCU implementation.
[ 0.061007] EFI services will not be available.
[ 0.065882] smp: Bringing up secondary CPUs …
[ 0.065899] smp: Brought up 1 node, 1 CPU
[ 0.065910] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.065917] CPU: All CPU(s) started in SVC mode.
[ 0.067504] devtmpfs: initialized
[ 0.098178] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.098638] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.098663] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.102651] xor: measuring software checksum speed
[ 0.141900] arm4regs : 1217.000 MB/sec
[ 0.181849] 8regs : 1091.000 MB/sec
[ 0.221848] 32regs : 1088.000 MB/sec
[ 0.261847] neon : 1669.000 MB/sec
[ 0.261855] xor: using function: neon (1669.000 MB/sec)
[ 0.261875] pinctrl core: initialized pinctrl subsystem
[ 0.262691] DMI not present or invalid.
[ 0.263142] NET: Registered protocol family 16
[ 0.267025] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.328887] omap_hwmod: debugss: _wait_target_disable failed
[ 0.381691] cpuidle: using governor menu
[ 0.387911] OMAP GPIO hardware version 0.1
[ 0.411064] No ATAGs?
[ 0.411086] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.411966] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.411980] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.505905] raid6: neonx2 gen() 1883 MB/s
[ 0.573872] raid6: neonx2 xor() 1497 MB/s
[ 0.573879] raid6: using algorithm neonx2 gen() 1883 MB/s
[ 0.573885] raid6: … xor() 1497 MB/s, rmw enabled
[ 0.573892] raid6: using neon recovery algorithm
[ 0.581988] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.587324] SCSI subsystem initialized
[ 0.590034] libata version 3.00 loaded.
[ 0.590326] usbcore: registered new interface driver usbfs
[ 0.590387] usbcore: registered new interface driver hub
[ 0.590505] usbcore: registered new device driver usb
[ 0.591378] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.592316] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 0.593100] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ 0.593501] media: Linux media interface: v0.10
[ 0.593573] Linux video capture interface: v2.00
[ 0.593743] pps_core: LinuxPPS API ver. 1 registered
[ 0.593751] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.593772] PTP clock support registered
[ 0.594087] dmi: Firmware registration failed.
[ 0.594593] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.598271] Advanced Linux Sound Architecture Driver Initialized.
[ 0.598964] NetLabel: Initializing
[ 0.598974] NetLabel: domain hash size = 128
[ 0.598979] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.599075] NetLabel: unlabeled traffic allowed by default
[ 0.602377] clocksource: Switched to clocksource timer1
[ 0.768643] VFS: Disk quotas dquot_6.6.0
[ 0.768780] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.781326] NET: Registered protocol family 2
[ 0.782252] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.782298] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.782463] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.782597] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.782619] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.782843] NET: Registered protocol family 1
[ 0.791756] RPC: Registered named UNIX socket transport module.
[ 0.791766] RPC: Registered udp transport module.
[ 0.791771] RPC: Registered tcp transport module.
[ 0.791776] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.792570] Unpacking initramfs…
[ 1.018439] random: fast init done
[ 1.041175] Freeing initrd memory: 3940K
[ 1.041756] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.041981] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 1.044224] audit: initializing netlink subsys (disabled)
[ 1.045460] audit: type=2000 audit(1.044:1): state=initialized audit_enabled=0 res=1
[ 1.045591] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.051500] zbud: loaded
[ 1.058865] NFS: Registering the id_resolver key type
[ 1.058913] Key type id_resolver registered
[ 1.058919] Key type id_legacy registered
[ 1.058937] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.059279] fuse init (API version 7.26)
[ 1.060168] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 1.060369] orangefs_init: module version upstream loaded
[ 1.060378] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.071145] Key type asymmetric registered
[ 1.071161] Asymmetric key parser ‘x509’ registered
[ 1.071286] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 1.075618] io scheduler noop registered
[ 1.075630] io scheduler deadline registered
[ 1.076015] io scheduler cfq registered (default)
[ 1.076026] io scheduler mq-deadline registered
[ 1.078265] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.086854] gpio-of-helper ocp:cape-universal: ready
[ 1.093318] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.095424] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.099146] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 1.115499] console [ttyS0] enabled
[ 1.116646] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[ 1.117612] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[ 1.118735] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[ 1.121859] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 1.123265] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[ 1.123370] usbcore: registered new interface driver udl
[ 1.171252] libphy: Fixed MDIO Bus: probed
[ 1.172118] CAN device driver interface
[ 1.173401] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=39)
[ 1.174346] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=40)
[ 1.177387] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.177445] ehci-platform: EHCI generic platform driver
[ 1.177762] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.178715] usbcore: registered new interface driver usb-storage
[ 1.181680] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.188182] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.204309] omap_rtc 44e3e000.rtc: registered as rtc0
[ 1.205571] i2c /dev entries driver
[ 1.209400] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.210000] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[ 1.211678] cpuidle: enable-method property ‘ti,am3352’ found operations
[ 1.212455] sdhci: Secure Digital Host Controller Interface driver
[ 1.212463] sdhci: Copyright© Pierre Ossman
[ 1.213376] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.252793] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.257248] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.257845] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.258216] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 1.260939] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.267987] hidraw: raw HID events driver © Jiri Kosina
[ 1.268687] usbcore: registered new interface driver usbhid
[ 1.268697] usbhid: USB HID core driver
[ 1.269305] remoteproc remoteproc0: wkup_m3 is available
[ 1.271364] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[ 1.271380] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[ 1.271389] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[ 1.271396] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[ 1.271404] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[ 1.271412] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[ 1.271420] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[ 1.271427] ti_am3359-tscadc 44e0d000.tscadc: chan 7 step_avg truncating to 16
[ 1.276288] wireguard: WireGuard 0.0.20180531 loaded. See www.wireguard.com for information.
[ 1.276301] wireguard: Copyright © 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 1.277130] NET: Registered protocol family 10
[ 1.282951] Segment Routing with IPv6
[ 1.283054] mip6: Mobile IPv6
[ 1.283072] NET: Registered protocol family 17
[ 1.283091] can: controller area network core (rev 20170425 abi 9)
[ 1.283235] NET: Registered protocol family 29
[ 1.283370] Key type dns_resolver registered
[ 1.283377] mpls_gso: MPLS GSO support
[ 1.283388] NET: Registered protocol family 44
[ 1.283708] omap_voltage_late_init: Voltage driver support not added
[ 1.290699] ThumbEE CPU extension supported.
[ 1.290725] Registering SWP/SWPB emulation handler
[ 1.291666] registered taskstats version 1
[ 1.291822] zswap: loaded using pool lzo/zbud
[ 1.294244] Btrfs loaded, crc32c=crc32c-generic
[ 1.294530] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 1.294556] ima: Allocated hash algorithm: sha256
[ 1.332866] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.335954] mmc0: new high speed SDHC card at address aaaa
[ 1.337223] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
[ 1.340152] mmcblk0: p1
[ 1.344351] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 1.344929] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.345392] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.345504] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.350529] remoteproc remoteproc0: powering up wkup_m3
[ 1.350557] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 1.350808] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 1.350832] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[ 1.351936] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.351976] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 1.352329] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.352340] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.352348] usb usb1: Product: MUSB HDRC host driver
[ 1.352356] usb usb1: Manufacturer: Linux 4.14.49-ti-r54 musb-hcd
[ 1.352364] usb usb1: SerialNumber: musb-hdrc.0
[ 1.353351] hub 1-0:1.0: USB hub found
[ 1.353442] hub 1-0:1.0: 1 port detected
[ 1.359333] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 1.359372] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 1.359674] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.359685] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.359694] usb usb2: Product: MUSB HDRC host driver
[ 1.359702] usb usb2: Manufacturer: Linux 4.14.49-ti-r54 musb-hcd
[ 1.359709] usb usb2: SerialNumber: musb-hdrc.1
[ 1.360612] hub 2-0:1.0: USB hub found
[ 1.360711] hub 2-0:1.0: 1 port detected
[ 1.364856] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.364878] of_cfs_init
[ 1.365058] of_cfs_init: OK
[ 1.366651] ALSA device list:
[ 1.366664] No soundcards found.
[ 1.371438] Freeing unused kernel memory: 1024K
[ 1.513403] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
[ 1.522172] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.523288] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.523401] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.665828] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
[ 1.818256] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
[ 1.970681] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[ 16.153288] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 16.697006] systemd[1]: System time before build time, advancing clock.
[ 16.783132] ip_tables: © 2000-2006 Netfilter Core Team
[ 16.828757] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 16.829506] systemd[1]: Detected architecture arm.
[ 16.831500] systemd[1]: Set hostname to .
[ 17.480661] systemd[1]: Created slice User and Session Slice.
[ 17.481862] systemd[1]: Listening on Journal Audit Socket.
[ 17.482613] systemd[1]: Listening on udev Control Socket.
[ 17.482903] systemd[1]: Reached target Swap.
[ 17.483096] systemd[1]: Reached target Remote File Systems.
[ 17.483618] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 17.484096] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 18.505428] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[ 19.026989] systemd-journald[617]: Received request to flush runtime journal from PID 1
[ 23.874139] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 25.961491] random: crng init done
[ 25.961512] random: 7 urandom warning(s) missed due to ratelimiting
[ 56.963895] systemd[1]: apt-daily.timer: Adding 10h 33min 44.566844s random time.
[ 58.708397] systemd[1]: apt-daily.timer: Adding 10h 25min 49.043704s random time.
[ 63.032737] using random self ethernet address
[ 63.032757] using random host ethernet address
[ 63.086865] using random self ethernet address
[ 63.086885] using random host ethernet address
[ 63.221391] Mass Storage Function, version: 2009/09/11
[ 63.221416] LUN: removable file: (no medium)
[ 63.331539] usb0: HOST MAC 98:5d:ad:d6:8c:cd
[ 63.331908] usb0: MAC 98:5d:ad:d6:8c:ce
[ 63.341984] usb1: HOST MAC 98:5d:ad:d6:8c:d0
[ 63.342345] usb1: MAC 98:5d:ad:d6:8c:d1
[ 63.793232] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 63.905947] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[ 66.349657] systemd[1]: apt-daily.timer: Adding 10h 22min 47.337827s random time.
[ 68.476273] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 68.548093] remoteproc remoteproc1: 4a334000.pru is available
[ 68.548262] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[ 68.549882] remoteproc remoteproc2: 4a338000.pru is available
[ 68.549983] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully

debian@beaglebone:~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 9440 bytes 637920 (622.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9440 bytes 637920 (622.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.7.2 netmask 255.255.255.252 broadcast 192.168.7.3
ether 98:5d:ad:d6:8c:ce txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.6.2 netmask 255.255.255.252 broadcast 192.168.6.3
ether 98:5d:ad:d6:8c:d1 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Everything works fine now :slight_smile:

I had an unintended solder bridge between pin 1 (D+) and pin 2 (D-) of the ESD protection chip (TPD4S012).