Pocketbeagle Wifi Dongle Problems

80 views
Skip to first unread message

Patrick Bolton

unread,
May 31, 2021, 11:10:41 AMMay 31
to BeagleBoard
I am having problems with wifi dongles with the pocketbeagle.

I have two dongles:
1) Edimax EW-7811Un:  

2) tp-link  TL-WN725N V3

I have tried them in two configurations:
1)   I cut a usb-a female cable and wired it to the PB in accordance with:
2)  2-port usb hub from tindie

Voltage Readings
Pin          Function          USB Power          5V 0.8A HUB          5V 8A power supply
P1-5    Vbus                    0                            0                               0
P1-7    VIN                       4.97                      5.152                       5.163
P1-14  3.3V                     3.422                    3.422                       3.422
P 1.24 Vout                     4.925                    5.108                       5.118

Set up:
2) apt update
3) apt upgrade
4) init 6
5) cd /opt/scripts/tools / git pull || true
6) /opt/scripts/tools/update_kernel.sh
7) init 6
8) /opt/scripts/tools/version.sh
9) init 6
10) apt update
11) apt upgrade
12) init 6

ThingsI've tried:
1) Edimax driver update:

2) tp-link driver update




GND TP1 then run as root:
dd if=/opt/scripts/device/bone/bbbw-eeprom.dump
of=/sys/devices/platform/ocp/44e0b000.i2c/i2c-0/0-0050/eeprom

7) Derek Molloy's book ch12 pg 565
apt-cache search RTL8188
- nothing found

Things I have not tried:
1) Compiling my own kernel per Derek Molloy:

System Info:
root@beaglebone:/var/lib/cloud9# cat /etc/dogtag
BeagleBoard.org Debian Buster IoT Image 2020-04-06


root@beaglebone:/var/lib/cloud9# ifconfig -a
can0: flags=128<NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        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
        device interrupt 39

can1: flags=128<NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        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
        device interrupt 40

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6632  bytes 779349 (761.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6632  bytes 779349 (761.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::6264:5ff:fe5b:240c  prefixlen 64  scopeid 0x20<link>
        ether 60:64:05:5b:24:0c  txqueuelen 1000  (Ethernet)
        RX packets 951  bytes 338310 (330.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 626  bytes 146942 (143.4 KiB)
        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.0  broadcast 192.168.6.255
        ether 60:64:05:5b:24:10  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

root@beaglebone:/var/lib/cloud9# ifconfig -a
can0: flags=128<NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        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
        device interrupt 39

can1: flags=128<NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        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
        device interrupt 40

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6632  bytes 779349 (761.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6632  bytes 779349 (761.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::6264:5ff:fe5b:240c  prefixlen 64  scopeid 0x20<link>
        ether 60:64:05:5b:24:0c  txqueuelen 1000  (Ethernet)
        RX packets 951  bytes 338310 (330.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 626  bytes 146942 (143.4 KiB)
        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.0  broadcast 192.168.6.255
        ether 60:64:05:5b:24:10  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

root@beaglebone:/var/lib/cloud9# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@beaglebone:/var/lib/cloud9# /opt/scripts/tools/version.sh
git:/opt/scripts/:[389ba6b3b20209a713507ea4184cd976ec3125c8]
eeprom:[A335PBGL00A21736GPB20533]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot SPL 2019.04-00002-g07d5700e21 (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-pocketbeagle.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
kernel:[4.19.94-ti-r64]
nodejs:[v10.24.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20210416.0-0~buster+20210416]
pkg:[bb-customizations]:[1.20210225.0-0~buster+20210225]
pkg:[bb-usb-gadgets]:[1.20200504.0-0~buster+20200504]
pkg:[bb-wl18xx-firmware]:[1.20210520.0-0~buster+20210520]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   61.024061] remoteproc remoteproc0: wkup_m3 is available
[   61.488441] remoteproc remoteproc0: powering up wkup_m3
[   61.488474] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.488762] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   63.708470] remoteproc remoteproc1: 4a334000.pru is available
[   63.725681] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   63.708470] remoteproc remoteproc1: 4a334000.pru is available
[   63.708678] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   63.725681] remoteproc remoteproc2: 4a338000.pru is available
[   63.725885] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.922862] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.931904] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.94-ti-r64 (voodoo@rpi4b4g-07) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Fri May 21 23:57:28 UTC 2021
[    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]   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/0x4c0 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s38988 r8192 d22452 u69632
[    0.000000] pcpu-alloc: s38988 r8192 d22452 u69632 alloc=17*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 lpj=1990656 rng_core.default_quality=100 quiet
[    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: 438104K/522240K available (13312K kernel code, 1140K rwdata, 4340K rodata, 1024K init, 350K bss, 34984K 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 : 0x(ptrval) - 0x(ptrval)   (14304 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1141 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 351 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42210 entries in 124 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     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 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000043] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000054] OMAP clocksource: timer1 at 24000000 Hz
[    0.001524] timer_probe: no matching timers found
[    0.001773] Console: colour dummy device 80x30
[    0.001800] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001805] This ensures that you still see kernel messages. Please
[    0.001809] update your kernel commandline.
[    0.001970] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
[    0.001988] pid_max: default: 32768 minimum: 301
[    0.002276] Security Framework initialized
[    0.002291] Yama: becoming mindful.
[    0.002436] AppArmor: AppArmor initialized
[    0.002541] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002554] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003663] CPU: Testing write buffer coherency: ok
[    0.003728] CPU0: Spectre v2: using BPIALL workaround
[    0.004211] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025954] Setting up static identity map for 0x80100000 - 0x80100060
[    0.033862] rcu: Hierarchical SRCU implementation.
[    0.045094] EFI services will not be available.
[    0.049872] smp: Bringing up secondary CPUs ...
[    0.049887] smp: Brought up 1 node, 1 CPU
[    0.049899] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.049905] CPU: All CPU(s) started in SVC mode.
[    0.051641] devtmpfs: initialized
[    0.078206] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.078841] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078864] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.082795] xor: automatically using best checksumming function   neon
[    0.082813] pinctrl core: initialized pinctrl subsystem
[    0.084139] NET: Registered protocol family 16
[    0.089424] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.159963] l4_wkup_cm:clk:0010:0: failed to disable
[    0.212345] audit: initializing netlink subsys (disabled)
[    0.217955] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[    0.221186] OMAP GPIO hardware version 0.1
[    0.243596] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.270012] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.270025] raid6: .... xor() 0 MB/s, rmw enabled
[    0.270033] raid6: using neon recovery algorithm
[    0.278004] edma 49000000.edma: TI EDMA DMA engine driver
[    0.283853] SCSI subsystem initialized
[    0.286010] libata version 3.00 loaded.
[    0.286327] usbcore: registered new interface driver usbfs
[    0.286387] usbcore: registered new interface driver hub
[    0.286509] usbcore: registered new device driver usb
[    0.288473] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    0.289353] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    0.290001] pps_core: LinuxPPS API ver. 1 registered
[    0.290011] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.290042] PTP clock support registered
[    0.290936] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.294226] Advanced Linux Sound Architecture Driver Initialized.
[    0.294988] NetLabel: Initializing
[    0.294999] NetLabel:  domain hash size = 128
[    0.295003] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.295095] NetLabel:  unlabeled traffic allowed by default
[    0.296169] clocksource: Switched to clocksource timer1
[    0.458646] VFS: Disk quotas dquot_6.6.0
[    0.458754] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.459638] AppArmor: AppArmor Filesystem Enabled
[    0.472538] NET: Registered protocol family 2
[    0.473580] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.473615] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.473657] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.473717] TCP: Hash tables configured (established 4096 bind 4096)
[    0.473853] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.473876] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.474228] NET: Registered protocol family 1
[    0.487396] RPC: Registered named UNIX socket transport module.
[    0.487407] RPC: Registered udp transport module.
[    0.487412] RPC: Registered tcp transport module.
[    0.487417] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.488497] Unpacking initramfs...
[    0.884097] Freeing initrd memory: 6904K
[    0.885014] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.888100] Initialise system trusted keyrings
[    0.888691] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.895867] zbud: loaded
[    0.903361] NFS: Registering the id_resolver key type
[    0.903407] Key type id_resolver registered
[    0.903414] Key type id_legacy registered
[    0.903440] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.903801] fuse init (API version 7.27)
[    0.914433] Key type asymmetric registered
[    0.914448] Asymmetric key parser 'x509' registered
[    0.914562] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.918922] io scheduler noop registered
[    0.918934] io scheduler deadline registered
[    0.919234] io scheduler cfq registered (default)
[    0.919245] io scheduler mq-deadline registered
[    0.922862] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.931904] gpio-of-helper ocp:cape-universal: ready
[    0.941956] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.945594] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.955706] console [ttyS0] enabled
[    0.956962] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.957970] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    0.958916] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[    0.962451] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.963406] sdhci: Secure Digital Host Controller Interface driver
[    0.963414] sdhci: Copyright(c) Pierre Ossman
[    0.963884] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    0.963896] omap_hsmmc 48060000.mmc: Got CD GPIO
[    0.964690] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    0.965027] random: fast init done
[    0.965384] random: crng init done
[    0.991319] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.001186] eqep 48300180.eqep: ver. 1.0
[    1.001211] eqep 48300180.eqep: unable to select pin group
[    1.001454] eqep 48300180.eqep: count_mode:0
[    1.001465] eqep 48300180.eqep: invert_qa:1
[    1.001473] eqep 48300180.eqep: invert_qb:1
[    1.001482] eqep 48300180.eqep: invert_qi:0
[    1.001490] eqep 48300180.eqep: invert_qs:0
[    1.001499] eqep 48300180.eqep: swap_inputs:0
[    1.001508] eqep 48300180.eqep: QDECCTL:0x0180
[    1.001516] eqep 48300180.eqep: QPOSINIT:0x00000000
[    1.001524] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    1.001531] eqep 48300180.eqep: QPOSCNT:0x00000000
[    1.001656] eqep 48300180.eqep: omit_interrupt:0
[    1.001665] eqep 48300180.eqep: QEINT:0x0800
[    1.001674] eqep 48300180.eqep: QUPRD:0x05f5e100
[    1.001681] eqep 48300180.eqep: QEPCTL:0x009e write
[    1.001688] eqep 48300180.eqep: QEPCTL:0x009e read
[    1.001719] eqep 48300180.eqep: irq:101, clk_rate:100000000
[    1.002032] eqep 48304180.eqep: ver. 1.0
[    1.002048] eqep 48304180.eqep: unable to select pin group
[    1.002181] eqep 48304180.eqep: count_mode:0
[    1.002190] eqep 48304180.eqep: invert_qa:1
[    1.002198] eqep 48304180.eqep: invert_qb:1
[    1.002207] eqep 48304180.eqep: invert_qi:0
[    1.002215] eqep 48304180.eqep: invert_qs:0
[    1.002223] eqep 48304180.eqep: swap_inputs:0
[    1.002231] eqep 48304180.eqep: QDECCTL:0x0180
[    1.002239] eqep 48304180.eqep: QPOSINIT:0x00000000
[    1.002247] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    1.002253] eqep 48304180.eqep: QPOSCNT:0x00000000
[    1.002261] eqep 48304180.eqep: omit_interrupt:0
[    1.002268] eqep 48304180.eqep: QEINT:0x0800
[    1.002276] eqep 48304180.eqep: QUPRD:0x05f5e100
[    1.002365] eqep 48304180.eqep: QEPCTL:0x009e write
[    1.002372] eqep 48304180.eqep: QEPCTL:0x009e read
[    1.002394] eqep 48304180.eqep: irq:102, clk_rate:100000000
[    1.055146] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.058098] mmc0: new high speed SDHC card at address aaaa
[    1.069194] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    1.075493] libphy: Fixed MDIO Bus: probed
[    1.076927] CAN device driver interface
[    1.078442] c_can_platform 481cc000.can: c_can_platform device registered (regs=f90cf953, irq=39)
[    1.079563] c_can_platform 481d0000.can: c_can_platform device registered (regs=ec3f7b15, irq=40)
[    1.080757]  mmcblk0: p1
[    1.083647] usbcore: registered new interface driver smsc95xx
[    1.085490] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.085542] ehci-platform: EHCI generic platform driver
[    1.085903] ehci-omap: OMAP-EHCI Host Controller driver
[    1.086786] usbcore: registered new interface driver usb-storage
[    1.090171] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.090365] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.093979] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    1.094022] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    1.094375] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.094387] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.094395] usb usb1: Product: MUSB HDRC host driver
[    1.094403] usb usb1: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.094410] usb usb1: SerialNumber: musb-hdrc.0
[    1.095269] hub 1-0:1.0: USB hub found
[    1.095335] hub 1-0:1.0: 1 port detected
[    1.098196] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.098385] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.101840] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.101881] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    1.102218] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.102229] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.102237] usb usb2: Product: MUSB HDRC host driver
[    1.102245] usb usb2: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.102252] usb usb2: SerialNumber: musb-hdrc.1
[    1.103041] hub 2-0:1.0: USB hub found
[    1.103105] hub 2-0:1.0: 1 port detected
[    1.115478] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.117133] i2c /dev entries driver
[    1.121148] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.121773] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.126177] ledtrig-cpu: registered to indicate activity on CPUs
[    1.126745] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.127113] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.129887] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.133695] hidraw: raw HID events driver (C) Jiri Kosina
[    1.141190] gnss: GNSS driver registered with major 242
[    1.148647] NET: Registered protocol family 10
[    1.220405] Segment Routing with IPv6
[    1.220562] mip6: Mobile IPv6
[    1.220722] NET: Registered protocol family 17
[    1.220754] can: controller area network core (rev 20170425 abi 9)
[    1.220850] NET: Registered protocol family 29
[    1.220949] 8021q: 802.1Q VLAN Support v1.8
[    1.221034] Key type dns_resolver registered
[    1.221040] mpls_gso: MPLS GSO support
[    1.221305] ThumbEE CPU extension supported.
[    1.221319] Registering SWP/SWPB emulation handler
[    1.221330] omap_voltage_late_init: Voltage driver support not added
[    1.229780] registered taskstats version 1
[    1.229792] Loading compiled-in X.509 certificates
[    1.229924] zswap: loaded using pool lzo/zbud
[    1.233320] Btrfs loaded, crc32c=crc32c-generic
[    1.233432] AppArmor: AppArmor sha1 policy hashing enabled
[    1.255822] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
[    1.289872] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    1.290703] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    1.291654] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.292737] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.292859] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.293832] cpu cpu0: Linked as a consumer to regulator.3
[    1.293942] cpu cpu0: Dropping the link to regulator.3
[    1.294469] cpu cpu0: Linked as a consumer to regulator.3
[    1.296777] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    1.298000] ALSA device list:
[    1.298009]   No soundcards found.
[    1.304656] Freeing unused kernel memory: 1024K
[    1.305386] Run /init as init process
[    1.408301] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
[    1.560680] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
[    1.713116] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    8.867014] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    9.633044] systemd[1]: System time before build time, advancing clock.
[    9.687969] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    9.689058] systemd[1]: Detected architecture arm.
[    9.716870] systemd[1]: Set hostname to <beaglebone>.
[   11.234982] systemd[1]: Created slice User and Session Slice.
[   11.237674] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   11.238424] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   11.239838] systemd[1]: Listening on Journal Socket.
[   11.241477] systemd[1]: Listening on Journal Audit Socket.
[   11.242461] systemd[1]: Listening on fsck to fsckd communication Socket.
[   11.247498] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   12.016508] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[   13.209895] systemd-journald[829]: Received request to flush runtime journal from PID 1
[   22.909186] using random self ethernet address
[   22.909204] using random host ethernet address
[   23.283053] Mass Storage Function, version: 2009/09/11
[   23.283077] LUN: removable file: (no medium)
[   23.632598] using random self ethernet address
[   23.632617] using random host ethernet address
[   23.856768] usb0: HOST MAC 60:64:05:5b:24:0d
[   23.860883] usb0: MAC 60:64:05:5b:24:0c
[   23.876389] usb1: HOST MAC 60:64:05:5b:24:0f
[   23.876780] usb1: MAC 60:64:05:5b:24:10
[   24.128792] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   24.203391] configfs-gadget gadget: high-speed config #1: c
[   24.203751] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[   24.350723] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   54.973221] pvrsrvkm: loading out-of-tree module taints kernel.
[   55.299383] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 0
[   61.024061] remoteproc remoteproc0: wkup_m3 is available
[   61.488441] remoteproc remoteproc0: powering up wkup_m3
[   61.488474] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.488762] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   61.488788] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   61.570153] PM: bootloader does not support rtc-only!
[   63.708470] remoteproc remoteproc1: 4a334000.pru is available
[   63.708678] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   63.725681] remoteproc remoteproc2: 4a338000.pru is available
[   63.725885] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully


Please help this has gotten well beyond my knowledge.

Best Regards,

Patrick
















Dennis Lee Bieber

unread,
May 31, 2021, 1:41:03 PMMay 31
to Beagleboard
On Mon, 31 May 2021 08:09:54 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Patrick Bolton
<patrickboltonengineer-...@public.gmane.org> wrote:

>I am having problems with wifi dongles with the pocketbeagle.

You've pasted a novel of logs, but nowhere do you state exactly what
"problems" means?

>
>I have two dongles:
>1) Edimax EW-7811Un:
>EDIMAX - Wireless Adapters - N150 - N150 Wi-Fi Nano USB Adapter, Ideal for
>Raspberry Pi
><https://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/wireless_adapters_n150/ew-7811un/>
>
>2) tp-link TL-WN725N V3
>TL-WN725N | 150Mbps Wireless N Nano USB Adapter | TP-Link
><https://www.tp-link.com/us/home-networking/usb-adapter/tl-wn725n/>

Have you read
https://static.tp-link.com/2018/201812/20181207/Installation%20Guide%20for%20Linux.pdf
(Granted, the OS/kernel specified in the R-Pi section is antique, but the
rest /might/ apply).

>
>I have tried them in two configurations:
>1) I cut a usb-a female cable and wired it to the PB in accordance with:
>https://i1.wp.com/www.teachmemicro.com/wp-content/uploads/2018/03/pocketbeagle-usb-type-a.jpg?w=590&ssl=1
>2) 2-port usb hub from tindie
>2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie
><https://www.tindie.com/products/microwavemont/24-port-usb-20-hub-cape-for-pocketbeagle/>
>
>Voltage Readings
>Pin Function USB Power 5V 0.8A HUB 5V
>8A power supply

How are you powering the Beagle and hub? Note that USB 2.0 standard is
that only 0.5A is available (and often needs a powered hub to get that). If
the beagle is being powered from a USB connection, you will have much less
current available for any devices connected to it, as the Beagle itself
requires some fraction of the available power (it's why Beagle Bone Black
is recommended to use a barrel connector rather than USB when flashing the
eMMC). A 5V 8A supply is not doing much unless you've wired directly to the
hub 5V source (or P1-1

Since the WiFi adapter runs a micro-radio, you likely need a higher
current just for it, so powering from the USB into the Beagle may not be
viable. I know R-Pi boards with WiFi operate off a USB connection, but that
is not a data connection -- just a specialized power mode which modern hubs
can recognize and provide a touch more current.
Pardon, but why the "init 6" (especially as Debian has adopted the
systemd start up, deprecating "init" mode).


>2) tp-link driver update
>Download for TL-WN725N | TP-Link
><https://www.tp-link.com/us/support/download/tl-wn725n/>
>

Okay -- you've probably read the referenced PDF then, as the downloads
are source needing to be compiled. But I note
"4. This is a beta version; unknown bugs may still exist. The formal
version is coming soon."
and that was three years ago... Only the Mac version has seen updates newer
than the Linux beta. The beta is also only "tested" up to kernel 4.4.3, and
recent Beagle images are on what, 4.19.x

https://wiki.debian.org/WiFi (possibly a bit dated)
"""
Currently there are only a few modern wifi chipsets readily available that
work with free software systems. For USB wifi devices this list includes
the Realtek RTL8187B chipset (802.11G) and the Atheros AR9170 chipset
(802.11N). For Mini PCIe all cards with an Atheros chipset are supported.
"""
"""
Edimax EW-7811Un

USB adapter

1 (9,[nPP],[B]), 1 (NOOBS,2015,[B]), 1 (2013,[B]), 1 (2016,[B]), 1 (2014),
1 (ARMv6,[B])

For a guide see multiple in the Amazon reviews. There seems to be a problem
with this dongle's range.
"""
"""
Device

Confirmed

Drawbacks/Comments

Guide

TP-Link TL WN821N

(./)

- The original code of the driver is copyrighted and later contributors
don't know by whom.
The driver download does not contain license information.
(Most C files are licensed under GNU General Public License (GPL), version
2.)
- Only works when disabling random MAC addresses.

1. Update: sudo apt-get update && apt-get upgrade && && apt-get
dist-upgrade and reboot if you updated the kernel
2. Connect the device. lsusb should show 2357:0107
3. Install required packages: sudo apt-get install gcc-6 git
build-essential
4. Get the latest driver from ?GitHub and install it:
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver.git
cd rtl8192eu-linux-driver
sudo make
sudo make install
5. Reboot and check that the kernel module is loaded by running: lsmod
6. Use your network-interface to connect to the WLAN. You could use the
pre-installed NetworkManager for that.
(7.) Edit NetworkManager.conf as root: sudo kate
/etc/NetworkManager/NetworkManager.conf
Append the following:
[device]
wifi.scan-rand-mac-address=no
Save and run: /etc/init.d/network-manager restart
"""


>root@beaglebone:/var/lib/cloud9# lsusb
>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
You seem to have two hubs recognized... A BBB with a USB<>Ethernet
adapter shows

debian@beaglebone:~$ lsusb
Bus 001 Device 002: ID 0b95:7720 ASIX Electronics Corp. AX88772
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

>[ 1.408301] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81,
><SessEnd), retry #2, port1 00000104
>[ 1.560680] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81,
><SessEnd), retry #3, port1 00000104
>[ 1.713116] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80,
><SessEnd), retry #3, port1 0008010c

Those might be of concern. Some error in the bus voltage level? You
reported 0V? But if you were jumpered to the 5V supply (next pin over), you
should not be seeing 0V at all. Recheck your cable -- do you have
continuity between those pins (with the cable off the Beagle)?

>[ 54.973221] pvrsrvkm: loading out-of-tree module taints kernel.
>[ 55.299383] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx
>on minor 0

Doesn't show on my BBB

My USB<>Ethernet adapter resulted in the following added lines.

[ 73.127404] asix 1-1:1.0 eth1: register 'asix' at usb-musb-hdrc.1-1,
ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:5c:90:84
[ 73.132673] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 73.140009] usbcore: registered new interface driver asix
[ 74.799226] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 74.810926] asix 1-1:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 142.980128] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 147.594945] usb 1-1: USB disconnect, device number 2
[ 147.595336] asix 1-1:1.0 eth1: unregister 'asix' usb-musb-hdrc.1-1, ASIX
AX88772 USB 2.0 Ethernet


--
Dennis L Bieber

Patrick Bolton

unread,
May 31, 2021, 3:25:08 PMMay 31
to BeagleBoard
I'm not sure what the problem is other than the board isn't recognizing the device.

I do know I am tired of copying and pasting
/sbin/route add default gw 192.168.7.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf

and would like to simply connect to the device living on my network like I do for my BBB-by hardline ethernet, BBB-wifi through wifi, and BBB-AI by hardline ethernet.  I did have issues with the BBB-AI connection being troublesome by wifi.

I've worked through about a dozen and half different web pages describing how to fix the wifi dongle without success.

The wifi router is less than 5 feet away so at this stage of the game, wifi range doesn't matter.

 I've been using init 6 and init 0 for reboot and shutdown since first reading Derek Molloy's book.  Does this cause a problem?  I can start using shutdown -h now and reboot.

I did come across the debian wifi wiki, but missed the "Guide".  Thank you for pointing it out.PB no usb.jpgPB usb.jpg

Those might be of concern. Some error in the bus voltage level? You
reported 0V? But if you were jumpered to the 5V supply (next pin over), you
should not be seeing 0V at all. Recheck your cable -- do you have
continuity between those pins (with the cable off the Beagle)?

Measurements were with nothing connected.  There is continuity when connected.

Did not get lsusb to show 2357:0107.  After step 2.  Abandoned process on that one in case the two usb hub cape was problematic, and restarted on a PB with only headers connected.

1. Update: sudo apt-get update && 
apt-get upgrade 
The following packages have been kept back:
  c9-core-installer
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

apt-get dist-upgrade 
The following packages have been kept back:
  c9-core-installer
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

and reboot if you updated the kernel
2. Connect the device. lsusb should show 2357:0107
3. Install required packages: sudo apt-get install gcc-6 git build-essential
4. Get the latest driver from ?GitHub and install it:
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver.git
cd rtl8192eu-linux-driver
sudo make
sudo make install
5. Reboot and check that the kernel module is loaded by running: lsmod
6. Use your network-interface to connect to the WLAN. You could use the
pre-installed NetworkManager for that.
(7.) Edit NetworkManager.conf as root: sudo kate
/etc/NetworkManager/NetworkManager.conf
Append the following:
[device]
wifi.scan-rand-mac-address=no
Save and run: /etc/init.d/network-manager restart

debian@beaglebone:/var/lib/cloud9$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
debian@beaglebone:/var/lib/cloud9$ lsusb -v

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Continuing on ignoring the 
root@beaglebone:/var/lib/cloud9# apt-get install gcc-6 git build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gcc-6

Hmmmm....



Patrick Bolton

unread,
Jun 1, 2021, 12:33:31 PMJun 1
to BeagleBoard
I can not possibly be the unique case of these problems.  I'm certainly not that special and it's rather frustrating.

This morning,  I setup a brand spanking new pocketbeagle straight out of the package and have very concerning errors on installation of the most recent image.  Nothing whatsoever is connected other than the USB cable to my PC. And the device is sitting on a grounded anti-static pad.

new PB.jpg

 [  443.396338] usb usb2-port1: over-current condition
[  443.440703] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[  443.593123] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[  443.745563] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[  443.897981] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c

full dmesg below

It is very concerning to have an overcurrent situation right out of the box.

Additional research indicates that these errors may be related to a malfunctioning 25Mhz crystal oscillator used for USB timing.  At least that's what I founnd on a TI site discussing their usb controllers related to these errors.

This is beyond my understanding of device construction, but can I be burning up my usb timing crystal immediately on 1st plug in?

Is this a typical subcomponent of a USB hub?  

Or is this simply the confirmation of the lack of any RTC on the PB? 

I proceeded with the usual set up:

2) apt update
3) apt upgrade
4) reboot  <--- I didn't use init 6 lol

The above errors were not present after upgrade, but the following errors remain:
[    0.001560] timer_probe: no matching timers found
[    0.159609] l4_wkup_cm:clk:0010:0: failed to disable
[    1.215108] omap_voltage_late_init: Voltage driver support not added
[    1.708436] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c


5) cd /opt/scripts/tools / git pull || true
6) /opt/scripts/tools/update_kernel.sh
7) reboot

same dmesg as after upgrade

8) /opt/scripts/tools/version.sh
9)  reboot
10) apt update
11) apt upgrade
12) reboot








root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.94-ti-r42 (voodoo@x3-am57xx-beagle-x15-2gb) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020
[    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] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] On node 0 totalpages: 130560
[    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/0x4b4 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s38988 r8192 d22452 u69632
[    0.000000] pcpu-alloc: s38988 r8192 d22452 u69632 alloc=17*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 lpj=1990656 rng_core.default_quality=100 quiet
[    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: 438576K/522240K available (13312K kernel code, 1136K rwdata, 4308K rodata, 1024K init, 350K bss, 34512K 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 : 0x(ptrval) - 0x(ptrval)   (14304 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1137 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 351 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42043 entries in 124 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     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 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000052] OMAP clocksource: timer1 at 24000000 Hz
[    0.001570] timer_probe: no matching timers found
[    0.001910] Console: colour dummy device 80x30
[    0.001936] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001941] This ensures that you still see kernel messages. Please
[    0.001946] update your kernel commandline.
[    0.002007] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
[    0.002024] pid_max: default: 32768 minimum: 301
[    0.002309] Security Framework initialized
[    0.002323] Yama: becoming mindful.
[    0.002467] AppArmor: AppArmor initialized
[    0.002572] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003691] CPU: Testing write buffer coherency: ok
[    0.003754] CPU0: Spectre v2: using BPIALL workaround
[    0.004241] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025928] Setting up static identity map for 0x80100000 - 0x80100060
[    0.033834] rcu: Hierarchical SRCU implementation.
[    0.049846] smp: Bringing up secondary CPUs ...
[    0.049864] smp: Brought up 1 node, 1 CPU
[    0.049876] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.049882] CPU: All CPU(s) started in SVC mode.
[    0.051612] devtmpfs: initialized
[    0.078185] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.078816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078839] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.082790] xor: automatically using best checksumming function   neon
[    0.082808] pinctrl core: initialized pinctrl subsystem
[    0.084115] NET: Registered protocol family 16
[    0.089375] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.159668] l4_wkup_cm:clk:0010:0: failed to disable
[    0.212087] audit: initializing netlink subsys (disabled)
[    0.217928] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[    0.220908] OMAP GPIO hardware version 0.1
[    0.243326] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.269997] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.270010] raid6: .... xor() 0 MB/s, rmw enabled
[    0.270016] raid6: using neon recovery algorithm
[    0.277917] edma 49000000.edma: TI EDMA DMA engine driver
[    0.283758] SCSI subsystem initialized
[    0.285981] libata version 3.00 loaded.
[    0.286278] usbcore: registered new interface driver usbfs
[    0.286355] usbcore: registered new interface driver hub
[    0.286471] usbcore: registered new device driver usb
[    0.288429] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    0.289282] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    0.290044] pps_core: LinuxPPS API ver. 1 registered
[    0.290055] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.290088] PTP clock support registered
[    0.290941] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.294246] Advanced Linux Sound Architecture Driver Initialized.
[    0.295002] NetLabel: Initializing
[    0.295012] NetLabel:  domain hash size = 128
[    0.295016] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.295105] NetLabel:  unlabeled traffic allowed by default
[    0.296170] clocksource: Switched to clocksource timer1
[    0.458745] VFS: Disk quotas dquot_6.6.0
[    0.458853] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.459740] AppArmor: AppArmor Filesystem Enabled
[    0.472687] NET: Registered protocol family 2
[    0.473731] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.473769] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.473810] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.473870] TCP: Hash tables configured (established 4096 bind 4096)
[    0.474007] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.474029] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.474398] NET: Registered protocol family 1
[    0.487562] RPC: Registered named UNIX socket transport module.
[    0.487572] RPC: Registered udp transport module.
[    0.487577] RPC: Registered tcp transport module.
[    0.487582] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.488604] Unpacking initramfs...
[    0.855670] Freeing initrd memory: 6436K
[    0.856537] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.859602] Initialise system trusted keyrings
[    0.860028] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.867161] zbud: loaded
[    0.874668] NFS: Registering the id_resolver key type
[    0.874714] Key type id_resolver registered
[    0.874719] Key type id_legacy registered
[    0.874747] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.875112] fuse init (API version 7.27)
[    0.885688] Key type asymmetric registered
[    0.885702] Asymmetric key parser 'x509' registered
[    0.885811] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.890187] io scheduler noop registered
[    0.890196] io scheduler deadline registered
[    0.890513] io scheduler cfq registered (default)
[    0.890522] io scheduler mq-deadline registered
[    0.894152] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.903060] gpio-of-helper ocp:cape-universal: ready
[    0.911861] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.915386] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.925514] console [ttyS0] enabled
[    0.926689] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.927663] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    0.928811] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[    0.932086] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.933153] sdhci: Secure Digital Host Controller Interface driver
[    0.933161] sdhci: Copyright(c) Pierre Ossman
[    0.933627] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    0.933637] omap_hsmmc 48060000.mmc: Got CD GPIO
[    0.934221] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    0.934608] random: fast init done
[    0.934978] random: crng init done
[    0.960869] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.023113] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.025861] mmc0: new high speed SDHC card at address aaaa
[    1.037168] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    1.043194] libphy: Fixed MDIO Bus: probed
[    1.044576] CAN device driver interface
[    1.046088] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa6ae2d3, irq=39)
[    1.047217] c_can_platform 481d0000.can: c_can_platform device registered (regs=dfdef0cf, irq=40)
[    1.048411]  mmcblk0: p1
[    1.051206] usbcore: registered new interface driver smsc95xx
[    1.052980] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.053052] ehci-platform: EHCI generic platform driver
[    1.053397] ehci-omap: OMAP-EHCI Host Controller driver
[    1.054265] usbcore: registered new interface driver usb-storage
[    1.057643] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.057803] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.061367] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    1.061410] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    1.061732] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.061743] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.061750] usb usb1: Product: MUSB HDRC host driver
[    1.061758] usb usb1: Manufacturer: Linux 4.19.94-ti-r42 musb-hcd
[    1.061765] usb usb1: SerialNumber: musb-hdrc.0
[    1.062599] hub 1-0:1.0: USB hub found
[    1.062665] hub 1-0:1.0: 1 port detected
[    1.065596] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.065748] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.069214] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.069251] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    1.069580] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.069590] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.069598] usb usb2: Product: MUSB HDRC host driver
[    1.069605] usb usb2: Manufacturer: Linux 4.19.94-ti-r42 musb-hcd
[    1.069613] usb usb2: SerialNumber: musb-hdrc.1
[    1.070396] hub 2-0:1.0: USB hub found
[    1.070454] hub 2-0:1.0: 1 port detected
[    1.082595] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.084081] i2c /dev entries driver
[    1.087955] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.088668] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.093005] ledtrig-cpu: registered to indicate activity on CPUs
[    1.093560] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.093912] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.096746] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.100629] hidraw: raw HID events driver (C) Jiri Kosina
[    1.107494] gnss: GNSS driver registered with major 242
[    1.114571] NET: Registered protocol family 10
[    1.186512] Segment Routing with IPv6
[    1.186650] mip6: Mobile IPv6
[    1.186802] NET: Registered protocol family 17
[    1.186832] can: controller area network core (rev 20170425 abi 9)
[    1.186928] NET: Registered protocol family 29
[    1.187026] 8021q: 802.1Q VLAN Support v1.8
[    1.187129] Key type dns_resolver registered
[    1.187136] mpls_gso: MPLS GSO support
[    1.187402] ThumbEE CPU extension supported.
[    1.187418] Registering SWP/SWPB emulation handler
[    1.187429] omap_voltage_late_init: Voltage driver support not added
[    1.195674] registered taskstats version 1
[    1.195684] Loading compiled-in X.509 certificates
[    1.195821] zswap: loaded using pool lzo/zbud
[    1.199202] Btrfs loaded, crc32c=crc32c-generic
[    1.199315] AppArmor: AppArmor sha1 policy hashing enabled
[    1.223192] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
[    1.253817] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    1.254648] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    1.255601] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.256636] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.256751] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.257746] cpu cpu0: Linked as a consumer to regulator.3
[    1.257851] cpu cpu0: Dropping the link to regulator.3
[    1.258342] cpu cpu0: Linked as a consumer to regulator.3
[    1.260634] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    1.261859] ALSA device list:
[    1.261868]   No soundcards found.
[    1.268098] Freeing unused kernel memory: 1024K
[    1.268997] Run /init as init process
[    1.375610] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
[    1.528033] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
[    1.680454] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    7.002932] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    7.716546] systemd[1]: System time before build time, advancing clock.
[    7.766433] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    7.767165] systemd[1]: Detected architecture arm.
[    7.788027] systemd[1]: Set hostname to <beaglebone>.
[    9.081028] systemd[1]: /lib/systemd/system/rc_battery_monitor.service:5: PIDFile= references path below legacy directory /var/run/, updating /var/run/rc_battery_monitor.pid → /run/rc_battery_monitor.pid; please update the unit file accordingly.
[    9.219228] systemd[1]: Listening on Syslog Socket.
[    9.221204] systemd[1]: Listening on udev Kernel Socket.
[    9.228565] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.230756] systemd[1]: Created slice User and Session Slice.
[    9.231376] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    9.231514] systemd[1]: Reached target Swap.
[   10.374273] remoteproc remoteproc0: 4a334000.pru is available
[   10.374454] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   10.378360] remoteproc remoteproc1: 4a338000.pru is available
[   10.378542] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
[   10.528666] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[   11.355283] systemd-journald[651]: Received request to flush runtime journal from PID 1
[   68.767003] remoteproc remoteproc2: wkup_m3 is available
[   69.453578] remoteproc remoteproc2: powering up wkup_m3
[   69.453611] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217168
[   69.453899] remoteproc remoteproc2: remote processor wkup_m3 is now up
[   69.453933] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[   69.576103] PM: bootloader does not support rtc-only!
[   72.941752] using random self ethernet address
[   72.941770] using random host ethernet address
[   73.047168] Mass Storage Function, version: 2009/09/11
[   73.047192] LUN: removable file: (no medium)
[   73.145845] using random self ethernet address
[   73.145863] using random host ethernet address
[   73.250058] usb0: HOST MAC 60:64:05:eb:96:f0
[   73.251988] usb0: MAC 60:64:05:eb:96:ef
[   73.260486] usb1: HOST MAC 60:64:05:eb:96:f2
[   73.260793] usb1: MAC 60:64:05:eb:96:f3
[   73.436640] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   73.548742] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   73.944727] configfs-gadget gadget: high-speed config #1: c
[   73.945065] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  443.396338] usb usb2-port1: over-current condition
[  443.440703] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[  443.593123] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[  443.745563] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[  443.897981] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c

Patrick Bolton

unread,
Jun 1, 2021, 10:52:06 PMJun 1
to BeagleBoard
They are also immediately restarting themselves upon shutdown either by software shutdown or button shutdown.

Dennis Lee Bieber

unread,
Jun 2, 2021, 12:59:30 PMJun 2
to Beagleboard
On Tue, 1 Jun 2021 09:33:31 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Patrick Bolton
<patrickboltonengineer-...@public.gmane.org> wrote:

>This morning, I setup a brand spanking new pocketbeagle straight out of
>the package and have very concerning errors on installation of the most
>recent image. Nothing whatsoever is connected other than the USB cable to
>my PC. And the device is sitting on a grounded anti-static pad.
>

Do you have standoffs on that board...Sitting on an anti-static pad
could be making contact with some underside circuitry, causing unexpected
voltages on some pins.


--
Dennis L Bieber

Patrick Bolton

unread,
Jun 2, 2021, 1:19:32 PMJun 2
to BeagleBoard
I do not have a standoff on a pocket beagle.

But the problem is recurring on all models right side up, upside down with and without 2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie installed or a female pin block that keeps any pins or pads from contacting the static pad.

lsusb -v & udevadm trigger --> dmesg  below

I simply can not believe that the random selection process of purchasing 4 pb's over a course of a year yielded four defective devices in my possession.  

OK, I'll admit it: I purchased 6 and burned up 2 pulling too much power from a gpio.  That's my simple attempt at humor.


IMG_6921.jpg

root@beaglebone:/var/lib/cloud9# lsusb -v

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.94-ti-r64 musb-hcd
  iProduct                2 MUSB HDRC host driver
  iSerial                 1 musb-hdrc.1
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0011
    Per-port power switching
    No overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        5 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.010c power oc suspend
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.94-ti-r64 musb-hcd
  iProduct                2 MUSB HDRC host driver
  iSerial                 1 musb-hdrc.0
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0011
    Per-port power switching
    No overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        5 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered


root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.94-ti-r64 (voodoo@rpi4b4g-07) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Fri May 21 23:57:28 UTC 2021
[    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]   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/0x4c0 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s38988 r8192 d22452 u69632
[    0.000000] pcpu-alloc: s38988 r8192 d22452 u69632 alloc=17*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 lpj=1990656 rng_core.default_quality=100 quiet
[    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: 438104K/522240K available (13312K kernel code, 1140K rwdata, 4340K rodata, 1024K init, 350K bss, 34984K 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 : 0x(ptrval) - 0x(ptrval)   (14304 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1141 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 351 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42210 entries in 124 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     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 0x(ptrval) (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.000039] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000049] OMAP clocksource: timer1 at 24000000 Hz
[    0.001524] timer_probe: no matching timers found
[    0.001768] Console: colour dummy device 80x30
[    0.001794] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001799] This ensures that you still see kernel messages. Please
[    0.001803] update your kernel commandline.
[    0.001961] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
[    0.001981] pid_max: default: 32768 minimum: 301
[    0.002269] Security Framework initialized
[    0.002285] Yama: becoming mindful.
[    0.002430] AppArmor: AppArmor initialized
[    0.002537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002549] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003657] CPU: Testing write buffer coherency: ok
[    0.003720] CPU0: Spectre v2: using BPIALL workaround
[    0.004203] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025990] Setting up static identity map for 0x80100000 - 0x80100060
[    0.033891] rcu: Hierarchical SRCU implementation.
[    0.045112] EFI services will not be available.
[    0.049901] smp: Bringing up secondary CPUs ...
[    0.049915] smp: Brought up 1 node, 1 CPU
[    0.049927] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.049934] CPU: All CPU(s) started in SVC mode.
[    0.051665] devtmpfs: initialized
[    0.078240] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.078878] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078899] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.082875] xor: automatically using best checksumming function   neon
[    0.082892] pinctrl core: initialized pinctrl subsystem
[    0.084213] NET: Registered protocol family 16
[    0.089465] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.160175] l4_wkup_cm:clk:0010:0: failed to disable
[    0.212529] audit: initializing netlink subsys (disabled)
[    0.217990] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[    0.221368] OMAP GPIO hardware version 0.1
[    0.243694] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.270044] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.270057] raid6: .... xor() 0 MB/s, rmw enabled
[    0.270065] raid6: using neon recovery algorithm
[    0.278059] edma 49000000.edma: TI EDMA DMA engine driver
[    0.283923] SCSI subsystem initialized
[    0.286045] libata version 3.00 loaded.
[    0.286355] usbcore: registered new interface driver usbfs
[    0.286414] usbcore: registered new interface driver hub
[    0.286535] usbcore: registered new device driver usb
[    0.288508] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    0.289377] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    0.290034] pps_core: LinuxPPS API ver. 1 registered
[    0.290044] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.290073] PTP clock support registered
[    0.290984] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.294253] Advanced Linux Sound Architecture Driver Initialized.
[    0.295023] NetLabel: Initializing
[    0.295034] NetLabel:  domain hash size = 128
[    0.295039] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.295129] NetLabel:  unlabeled traffic allowed by default
[    0.296204] clocksource: Switched to clocksource timer1
[    0.458548] VFS: Disk quotas dquot_6.6.0
[    0.458651] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.459533] AppArmor: AppArmor Filesystem Enabled
[    0.472479] NET: Registered protocol family 2
[    0.473530] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.473568] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.473609] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.473668] TCP: Hash tables configured (established 4096 bind 4096)
[    0.473807] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.473832] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.474181] NET: Registered protocol family 1
[    0.487337] RPC: Registered named UNIX socket transport module.
[    0.487347] RPC: Registered udp transport module.
[    0.487352] RPC: Registered tcp transport module.
[    0.487357] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.488392] Unpacking initramfs...
[    0.884189] Freeing initrd memory: 6904K
[    0.885100] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.888166] Initialise system trusted keyrings
[    0.888760] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.895897] zbud: loaded
[    0.903403] NFS: Registering the id_resolver key type
[    0.903448] Key type id_resolver registered
[    0.903453] Key type id_legacy registered
[    0.903480] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.903830] fuse init (API version 7.27)
[    0.914543] Key type asymmetric registered
[    0.914558] Asymmetric key parser 'x509' registered
[    0.914664] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.919026] io scheduler noop registered
[    0.919037] io scheduler deadline registered
[    0.919335] io scheduler cfq registered (default)
[    0.919345] io scheduler mq-deadline registered
[    0.922960] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.931981] gpio-of-helper ocp:cape-universal: ready
[    0.942016] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.945661] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.955776] console [ttyS0] enabled
[    0.957017] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.958019] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    0.958964] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[    0.962509] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.963455] sdhci: Secure Digital Host Controller Interface driver
[    0.963463] sdhci: Copyright(c) Pierre Ossman
[    0.963938] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    0.963949] omap_hsmmc 48060000.mmc: Got CD GPIO
[    0.964752] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    0.965095] random: fast init done
[    0.965455] random: crng init done
[    0.991385] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.001238] eqep 48300180.eqep: ver. 1.0
[    1.001262] eqep 48300180.eqep: unable to select pin group
[    1.001502] eqep 48300180.eqep: count_mode:0
[    1.001513] eqep 48300180.eqep: invert_qa:1
[    1.001521] eqep 48300180.eqep: invert_qb:1
[    1.001529] eqep 48300180.eqep: invert_qi:0
[    1.001538] eqep 48300180.eqep: invert_qs:0
[    1.001546] eqep 48300180.eqep: swap_inputs:0
[    1.001555] eqep 48300180.eqep: QDECCTL:0x0180
[    1.001563] eqep 48300180.eqep: QPOSINIT:0x00000000
[    1.001571] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    1.001578] eqep 48300180.eqep: QPOSCNT:0x00000000
[    1.001586] eqep 48300180.eqep: omit_interrupt:0
[    1.001710] eqep 48300180.eqep: QEINT:0x0800
[    1.001718] eqep 48300180.eqep: QUPRD:0x05f5e100
[    1.001726] eqep 48300180.eqep: QEPCTL:0x009e write
[    1.001734] eqep 48300180.eqep: QEPCTL:0x009e read
[    1.001763] eqep 48300180.eqep: irq:101, clk_rate:100000000
[    1.002080] eqep 48304180.eqep: ver. 1.0
[    1.002098] eqep 48304180.eqep: unable to select pin group
[    1.002231] eqep 48304180.eqep: count_mode:0
[    1.002241] eqep 48304180.eqep: invert_qa:1
[    1.002249] eqep 48304180.eqep: invert_qb:1
[    1.002258] eqep 48304180.eqep: invert_qi:0
[    1.002266] eqep 48304180.eqep: invert_qs:0
[    1.002275] eqep 48304180.eqep: swap_inputs:0
[    1.002282] eqep 48304180.eqep: QDECCTL:0x0180
[    1.002290] eqep 48304180.eqep: QPOSINIT:0x00000000
[    1.002297] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    1.002304] eqep 48304180.eqep: QPOSCNT:0x00000000
[    1.002312] eqep 48304180.eqep: omit_interrupt:0
[    1.002319] eqep 48304180.eqep: QEINT:0x0800
[    1.002326] eqep 48304180.eqep: QUPRD:0x05f5e100
[    1.002416] eqep 48304180.eqep: QEPCTL:0x009e write
[    1.002424] eqep 48304180.eqep: QEPCTL:0x009e read
[    1.002446] eqep 48304180.eqep: irq:102, clk_rate:100000000
[    1.055043] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.058182] mmc0: new high speed SDHC card at address aaaa
[    1.069206] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    1.075394] libphy: Fixed MDIO Bus: probed
[    1.076823] CAN device driver interface
[    1.078338] c_can_platform 481cc000.can: c_can_platform device registered (regs=a73e130a, irq=39)
[    1.079460] c_can_platform 481d0000.can: c_can_platform device registered (regs=1eaec869, irq=40)
[    1.080713]  mmcblk0: p1
[    1.083543] usbcore: registered new interface driver smsc95xx
[    1.085359] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.085409] ehci-platform: EHCI generic platform driver
[    1.085769] ehci-omap: OMAP-EHCI Host Controller driver
[    1.086648] usbcore: registered new interface driver usb-storage
[    1.090010] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.090198] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.093768] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    1.093810] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    1.094153] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.094165] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.094173] usb usb1: Product: MUSB HDRC host driver
[    1.094181] usb usb1: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.094188] usb usb1: SerialNumber: musb-hdrc.0
[    1.095039] hub 1-0:1.0: USB hub found
[    1.095102] hub 1-0:1.0: 1 port detected
[    1.097977] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.098165] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.101588] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.101628] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    1.101950] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.101961] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.101969] usb usb2: Product: MUSB HDRC host driver
[    1.101976] usb usb2: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.101984] usb usb2: SerialNumber: musb-hdrc.1
[    1.102784] hub 2-0:1.0: USB hub found
[    1.102848] hub 2-0:1.0: 1 port detected
[    1.115208] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.116852] i2c /dev entries driver
[    1.120756] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.121387] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.125794] ledtrig-cpu: registered to indicate activity on CPUs
[    1.126372] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.126738] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.129466] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.133314] hidraw: raw HID events driver (C) Jiri Kosina
[    1.140873] gnss: GNSS driver registered with major 242
[    1.148110] NET: Registered protocol family 10
[    1.220152] Segment Routing with IPv6
[    1.220445] mip6: Mobile IPv6
[    1.220607] NET: Registered protocol family 17
[    1.220640] can: controller area network core (rev 20170425 abi 9)
[    1.220739] NET: Registered protocol family 29
[    1.220838] 8021q: 802.1Q VLAN Support v1.8
[    1.220926] Key type dns_resolver registered
[    1.220934] mpls_gso: MPLS GSO support
[    1.221198] ThumbEE CPU extension supported.
[    1.221214] Registering SWP/SWPB emulation handler
[    1.221225] omap_voltage_late_init: Voltage driver support not added
[    1.229555] registered taskstats version 1
[    1.229565] Loading compiled-in X.509 certificates
[    1.229702] zswap: loaded using pool lzo/zbud
[    1.233195] Btrfs loaded, crc32c=crc32c-generic
[    1.233320] AppArmor: AppArmor sha1 policy hashing enabled
[    1.255554] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
[    1.289902] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    1.290734] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    1.291675] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.292767] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.292886] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.293867] cpu cpu0: Linked as a consumer to regulator.3
[    1.293974] cpu cpu0: Dropping the link to regulator.3
[    1.294497] cpu cpu0: Linked as a consumer to regulator.3
[    1.296781] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    1.297998] ALSA device list:
[    1.298007]   No soundcards found.
[    1.304667] Freeing unused kernel memory: 1024K
[    1.305396] Run /init as init process
[    1.407989] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
[    1.560416] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
[    1.712848] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    8.712579] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    9.506738] systemd[1]: System time before build time, advancing clock.
[    9.562147] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    9.562865] systemd[1]: Detected architecture arm.
[    9.590814] systemd[1]: Set hostname to <beaglebone>.
[   11.110862] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   11.112129] systemd[1]: Listening on udev Kernel Socket.
[   11.119346] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   11.121983] systemd[1]: Created slice User and Session Slice.
[   11.122153] systemd[1]: Reached target Slices.
[   11.122252] systemd[1]: Reached target Swap.
[   11.122810] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   12.039029] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[   13.107843] systemd-journald[829]: Received request to flush runtime journal from PID 1
[   22.681928] using random self ethernet address
[   22.681945] using random host ethernet address
[   23.060030] Mass Storage Function, version: 2009/09/11
[   23.060054] LUN: removable file: (no medium)
[   23.399756] using random self ethernet address
[   23.399775] using random host ethernet address
[   23.622530] usb0: HOST MAC 60:64:05:5b:24:0d
[   23.628884] usb0: MAC 60:64:05:5b:24:0c
[   23.640690] usb1: HOST MAC 60:64:05:5b:24:0f
[   23.641005] usb1: MAC 60:64:05:5b:24:10
[   23.886192] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   24.013118] configfs-gadget gadget: high-speed config #1: c
[   24.013488] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[   24.159712] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   54.719227] pvrsrvkm: loading out-of-tree module taints kernel.
[   55.037101] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 0
[   60.828113] remoteproc remoteproc0: wkup_m3 is available
[   61.128477] remoteproc remoteproc0: powering up wkup_m3
[   61.128512] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.128804] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   61.128834] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   61.217546] PM: bootloader does not support rtc-only!
[   63.150834] remoteproc remoteproc1: 4a334000.pru is available
[   63.151031] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   63.164515] remoteproc remoteproc2: 4a338000.pru is available
[   63.164711] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
[  126.004560] usb usb2-port1: over-current condition
[  126.048748] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[  126.201173] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[  126.353599] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[  126.506031] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c

jonnymo

unread,
Jun 2, 2021, 3:01:12 PMJun 2
to Beagle Board
Have you tried connecting a Powered USB HUB to the USB board attached to the PocketBeagle so the WiFi module is not drawing current directly from the PB?

It seems there is an over-current condition being reported:
 126.004560] usb usb2-port1: over-current condition

Cheers,

Jon

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/77469212-0bbf-48fa-b3b6-56fcabd4efd3n%40googlegroups.com.

Patrick Bolton

unread,
Jun 3, 2021, 11:55:03 AMJun 3
to BeagleBoard
Yes.

These are the voltage readings with nothing connected on several power supplies options I have:

Voltage Readings
Pin          Function          USB Power          5V 0.8A HUB          5V 8A power supply
P1-5    Vbus                    0                            0                               0
P1-7    VIN                       4.97                      5.152                       5.163
P1-14  3.3V                     3.422                    3.422                       3.422
P 1.24 Vout                     4.925                    5.108                       5.118

I can not talk to the pb when its on the 5V 8A, but nothing shows up in either on usb power or on a usb power hub.

I just connected it to see if it had any voltage impact.

Thank you.

Pat

Patrick Bolton

unread,
Jun 3, 2021, 12:24:54 PMJun 3
to BeagleBoard
My apologies, the 5V 0.8A hub is mislabeled.  

It is 5V 3A output.   The 0.8A was the input 120VAC rating.

Patrick Bolton

unread,
Jun 10, 2021, 12:22:22 PMJun 10
to BeagleBoard
Well I was hopeful the kernel update today would help with the issues, but no such luck.

I powered the board at VIN with a 5VDC 8A power suppy with the 4-usb port version of 2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie

Have additional over-current errors.

If I am not supplying the information that is helpful for solving the problem, please let me know.



root@beaglebone:/opt/scripts/tools# udevadm trigger
root@beaglebone:/opt/scripts/tools# dmesg

Error Lines
[    0.001528] timer_probe: no matching timers found
[    0.160001] l4_wkup_cm:clk:0010:0: failed to disable
[    1.221343] omap_voltage_late_init: Voltage driver support not added
[    1.712965] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[ 1654.554274] usb usb2-port1: over-current condition
[ 1655.055911] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[ 1821.540750] usb usb2-port1: over-current condition
[ 1822.042414] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c


Full log
[    0.000021] 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.001773] Console: colour dummy device 80x30
[    0.001801] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001806] This ensures that you still see kernel messages. Please
[    0.001810] update your kernel commandline.
[    0.001967] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
[    0.001985] pid_max: default: 32768 minimum: 301
[    0.002273] Security Framework initialized
[    0.002288] Yama: becoming mindful.
[    0.002433] AppArmor: AppArmor initialized
[    0.002538] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002550] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003661] CPU: Testing write buffer coherency: ok
[    0.003723] CPU0: Spectre v2: using BPIALL workaround
[    0.004215] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.025959] Setting up static identity map for 0x80100000 - 0x80100060
[    0.033865] rcu: Hierarchical SRCU implementation.
[    0.045100] EFI services will not be available.
[    0.049874] smp: Bringing up secondary CPUs ...
[    0.049889] smp: Brought up 1 node, 1 CPU
[    0.049900] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.049907] CPU: All CPU(s) started in SVC mode.
[    0.051643] devtmpfs: initialized
[    0.078221] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.078855] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078879] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.082888] xor: automatically using best checksumming function   neon
[    0.082904] pinctrl core: initialized pinctrl subsystem
[    0.084221] NET: Registered protocol family 16
[    0.089404] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.160001] l4_wkup_cm:clk:0010:0: failed to disable
[    0.212353] audit: initializing netlink subsys (disabled)
[    0.217961] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[    0.221178] OMAP GPIO hardware version 0.1
[    0.243621] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.270014] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.270027] raid6: .... xor() 0 MB/s, rmw enabled
[    0.270034] raid6: using neon recovery algorithm
[    0.277993] edma 49000000.edma: TI EDMA DMA engine driver
[    0.283887] SCSI subsystem initialized
[    0.286015] libata version 3.00 loaded.
[    0.286331] usbcore: registered new interface driver usbfs
[    0.286390] usbcore: registered new interface driver hub
[    0.286510] usbcore: registered new device driver usb
[    0.288502] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    0.289359] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    0.290010] pps_core: LinuxPPS API ver. 1 registered
[    0.290018] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.290049] PTP clock support registered
[    0.290959] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.294234] Advanced Linux Sound Architecture Driver Initialized.
[    0.294998] NetLabel: Initializing
[    0.295011] NetLabel:  domain hash size = 128
[    0.295015] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.295105] NetLabel:  unlabeled traffic allowed by default
[    0.296188] clocksource: Switched to clocksource timer1
[    0.458687] VFS: Disk quotas dquot_6.6.0
[    0.458790] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.459685] AppArmor: AppArmor Filesystem Enabled
[    0.472572] NET: Registered protocol family 2
[    0.473606] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.473643] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.473686] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.473745] TCP: Hash tables configured (established 4096 bind 4096)
[    0.473880] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.473902] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.474244] NET: Registered protocol family 1
[    0.487389] RPC: Registered named UNIX socket transport module.
[    0.487400] RPC: Registered udp transport module.
[    0.487405] RPC: Registered tcp transport module.
[    0.487410] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.488486] Unpacking initramfs...
[    0.884434] Freeing initrd memory: 6904K
[    0.885217] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.888528] Initialise system trusted keyrings
[    0.888910] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.896060] zbud: loaded
[    0.903577] NFS: Registering the id_resolver key type
[    0.903628] Key type id_resolver registered
[    0.903634] Key type id_legacy registered
[    0.903662] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.904030] fuse init (API version 7.27)
[    0.914664] Key type asymmetric registered
[    0.914679] Asymmetric key parser 'x509' registered
[    0.914789] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.919155] io scheduler noop registered
[    0.919166] io scheduler deadline registered
[    0.919459] io scheduler cfq registered (default)
[    0.919469] io scheduler mq-deadline registered
[    0.923057] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.932042] gpio-of-helper ocp:cape-universal: ready
[    0.942070] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.945705] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.955826] console [ttyS0] enabled
[    0.957074] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.958079] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    0.959030] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[    0.962595] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.963559] sdhci: Secure Digital Host Controller Interface driver
[    0.963567] sdhci: Copyright(c) Pierre Ossman
[    0.964036] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    0.964047] omap_hsmmc 48060000.mmc: Got CD GPIO
[    0.964850] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    0.965189] random: fast init done
[    0.965549] random: crng init done
[    0.991478] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.001303] eqep 48300180.eqep: ver. 1.0
[    1.001327] eqep 48300180.eqep: unable to select pin group
[    1.001563] eqep 48300180.eqep: count_mode:0
[    1.001574] eqep 48300180.eqep: invert_qa:1
[    1.001582] eqep 48300180.eqep: invert_qb:1
[    1.001591] eqep 48300180.eqep: invert_qi:0
[    1.001600] eqep 48300180.eqep: invert_qs:0
[    1.001608] eqep 48300180.eqep: swap_inputs:0
[    1.001617] eqep 48300180.eqep: QDECCTL:0x0180
[    1.001625] eqep 48300180.eqep: QPOSINIT:0x00000000
[    1.001633] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    1.001640] eqep 48300180.eqep: QPOSCNT:0x00000000
[    1.001648] eqep 48300180.eqep: omit_interrupt:0
[    1.001655] eqep 48300180.eqep: QEINT:0x0800
[    1.001663] eqep 48300180.eqep: QUPRD:0x05f5e100
[    1.001670] eqep 48300180.eqep: QEPCTL:0x009e write
[    1.001799] eqep 48300180.eqep: QEPCTL:0x009e read
[    1.001828] eqep 48300180.eqep: irq:101, clk_rate:100000000
[    1.002131] eqep 48304180.eqep: ver. 1.0
[    1.002147] eqep 48304180.eqep: unable to select pin group
[    1.002280] eqep 48304180.eqep: count_mode:0
[    1.002290] eqep 48304180.eqep: invert_qa:1
[    1.002297] eqep 48304180.eqep: invert_qb:1
[    1.002305] eqep 48304180.eqep: invert_qi:0
[    1.002314] eqep 48304180.eqep: invert_qs:0
[    1.002321] eqep 48304180.eqep: swap_inputs:0
[    1.002329] eqep 48304180.eqep: QDECCTL:0x0180
[    1.002337] eqep 48304180.eqep: QPOSINIT:0x00000000
[    1.002344] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    1.002351] eqep 48304180.eqep: QPOSCNT:0x00000000
[    1.002359] eqep 48304180.eqep: omit_interrupt:0
[    1.002366] eqep 48304180.eqep: QEINT:0x0800
[    1.002373] eqep 48304180.eqep: QUPRD:0x05f5e100
[    1.002380] eqep 48304180.eqep: QEPCTL:0x009e write
[    1.002387] eqep 48304180.eqep: QEPCTL:0x009e read
[    1.002408] eqep 48304180.eqep: irq:102, clk_rate:100000000
[    1.054952] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.058067] mmc0: new high speed SDHC card at address aaaa
[    1.069196] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    1.075429] libphy: Fixed MDIO Bus: probed
[    1.076857] CAN device driver interface
[    1.078370] c_can_platform 481cc000.can: c_can_platform device registered (regs=285cee3e, irq=39)
[    1.079475] c_can_platform 481d0000.can: c_can_platform device registered (regs=41cc52f7, irq=40)
[    1.080625]  mmcblk0: p1
[    1.083551] usbcore: registered new interface driver smsc95xx
[    1.085392] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.085445] ehci-platform: EHCI generic platform driver
[    1.085812] ehci-omap: OMAP-EHCI Host Controller driver
[    1.086716] usbcore: registered new interface driver usb-storage
[    1.090116] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.090304] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.093875] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    1.093917] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    1.094272] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.094283] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.094292] usb usb1: Product: MUSB HDRC host driver
[    1.094299] usb usb1: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.094306] usb usb1: SerialNumber: musb-hdrc.0
[    1.095169] hub 1-0:1.0: USB hub found
[    1.095230] hub 1-0:1.0: 1 port detected
[    1.098085] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.098265] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.101692] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.101732] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    1.102062] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.102074] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.102082] usb usb2: Product: MUSB HDRC host driver
[    1.102089] usb usb2: Manufacturer: Linux 4.19.94-ti-r64 musb-hcd
[    1.102097] usb usb2: SerialNumber: musb-hdrc.1
[    1.102893] hub 2-0:1.0: USB hub found
[    1.102960] hub 2-0:1.0: 1 port detected
[    1.114651] omap_rtc 44e3e000.rtc: already running
[    1.115359] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.117004] i2c /dev entries driver
[    1.120917] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.121549] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.125923] ledtrig-cpu: registered to indicate activity on CPUs
[    1.126493] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.126855] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.129556] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.133395] hidraw: raw HID events driver (C) Jiri Kosina
[    1.140948] gnss: GNSS driver registered with major 242
[    1.148362] NET: Registered protocol family 10
[    1.220411] Segment Routing with IPv6
[    1.220568] mip6: Mobile IPv6
[    1.220725] NET: Registered protocol family 17
[    1.220756] can: controller area network core (rev 20170425 abi 9)
[    1.220854] NET: Registered protocol family 29
[    1.220953] 8021q: 802.1Q VLAN Support v1.8
[    1.221042] Key type dns_resolver registered
[    1.221049] mpls_gso: MPLS GSO support
[    1.221315] ThumbEE CPU extension supported.
[    1.221333] Registering SWP/SWPB emulation handler
[    1.221343] omap_voltage_late_init: Voltage driver support not added
[    1.229804] registered taskstats version 1
[    1.229816] Loading compiled-in X.509 certificates
[    1.229952] zswap: loaded using pool lzo/zbud
[    1.233353] Btrfs loaded, crc32c=crc32c-generic
[    1.233467] AppArmor: AppArmor sha1 policy hashing enabled
[    1.255675] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000104
[    1.289959] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    1.290805] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    1.291743] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.292845] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.292967] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.293940] cpu cpu0: Linked as a consumer to regulator.3
[    1.294046] cpu cpu0: Dropping the link to regulator.3
[    1.294563] cpu cpu0: Linked as a consumer to regulator.3
[    1.296840] omap_rtc 44e3e000.rtc: setting system clock to 2021-06-10 15:39:43 UTC (1623339583)
[    1.298053] ALSA device list:
[    1.298062]   No soundcards found.
[    1.304716] Freeing unused kernel memory: 1024K
[    1.305445] Run /init as init process
[    1.408113] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 00000104
[    1.560534] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 00000104
[    1.712965] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    8.690593] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    9.553507] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    9.554224] systemd[1]: Detected architecture arm.
[    9.581786] systemd[1]: Set hostname to <beaglebone>.
[   11.104005] systemd[1]: Reached target Remote File Systems.
[   11.105495] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   11.106457] systemd[1]: Listening on udev Kernel Socket.
[   11.106621] systemd[1]: Reached target Swap.
[   11.107892] systemd[1]: Listening on Journal Socket.
[   11.109263] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   11.127209] systemd[1]: Starting Load Kernel Modules...
[   11.617041] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[   13.286006] systemd-journald[834]: Received request to flush runtime journal from PID 1
[   22.781304] using random self ethernet address
[   22.781322] using random host ethernet address
[   23.152664] Mass Storage Function, version: 2009/09/11
[   23.152687] LUN: removable file: (no medium)
[   23.497963] using random self ethernet address
[   23.497981] using random host ethernet address
[   23.730353] usb0: HOST MAC 60:64:05:f7:51:18
[   23.732031] usb0: MAC 60:64:05:f7:51:17
[   23.743370] usb1: HOST MAC 60:64:05:f7:51:1a
[   23.743671] usb1: MAC 60:64:05:f7:51:1b
[   23.994007] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   24.076867] configfs-gadget gadget: high-speed config #1: c
[   24.077207] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[   24.240578] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   54.832052] pvrsrvkm: loading out-of-tree module taints kernel.
[   55.156983] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 0
[   61.416041] remoteproc remoteproc0: wkup_m3 is available
[   61.501727] remoteproc remoteproc0: powering up wkup_m3
[   61.501759] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.502050] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   61.502080] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   61.610836] PM: bootloader does not support rtc-only!
[   63.892531] remoteproc remoteproc1: 4a334000.pru is available
[   63.892699] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   63.905228] remoteproc remoteproc2: 4a338000.pru is available
[   63.905413] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
[ 1654.554274] usb usb2-port1: over-current condition
[ 1654.598630] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[ 1654.751056] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[ 1654.903472] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[ 1655.055911] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[ 1821.540750] usb usb2-port1: over-current condition
[ 1821.585126] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[ 1821.737556] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[ 1821.889965] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[ 1822.042414] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c


root@beaglebone:/opt/scripts/tools# /opt/scripts/tools/version.sh
git:/opt/scripts/:[a252576b47d48e1e770ac258eb25e831bfd8c580]
eeprom:[A335PBGL00A21744GPB41462]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot SPL 2019.04-00002-g07d5700e21 (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-pocketbeagle.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
kernel:[4.19.94-ti-r64]
nodejs:[v10.24.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20210416.0-0~buster+20210416]
pkg:[bb-customizations]:[1.20210225.0-0~buster+20210225]
pkg:[bb-usb-gadgets]:[1.20200504.0-0~buster+20200504]
pkg:[bb-wl18xx-firmware]:[1.20210520.0-0~buster+20210520]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   61.416041] remoteproc remoteproc0: wkup_m3 is available
[   61.501727] remoteproc remoteproc0: powering up wkup_m3
[   61.501759] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.502050] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   63.892531] remoteproc remoteproc1: 4a334000.pru is available
[   63.905228] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   63.892531] remoteproc remoteproc1: 4a334000.pru is available
[   63.892699] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   63.905228] remoteproc remoteproc2: 4a338000.pru is available
[   63.905413] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.923057] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.932042] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
root@beaglebone:/opt/scripts/tools# lsusb -v

Robert Nelson

unread,
Jun 10, 2021, 2:27:03 PMJun 10
to Beagle Board
On Thu, Jun 10, 2021 at 11:22 AM Patrick Bolton <patrickbol...@gmail.com> wrote:
Well I was hopeful the kernel update today would help with the issues, but no such luck.

I powered the board at VIN with a 5VDC 8A power suppy with the 4-usb port version of 2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie

Have additional over-current errors.

If I am not supplying the information that is helpful for solving the problem, please let me know.

Patrick Bolton

unread,
Jun 10, 2021, 2:32:22 PMJun 10
to BeagleBoard
Yes, I tried it exactly per that same image with a variety of power supplies.

I have also been using the hubs from tindie, just in case I'm being simple minded, but I've quadruple confirmed.  Measure twice cut once.
PB usb.jpg

Patrick Bolton

unread,
Jun 10, 2021, 2:50:22 PMJun 10
to BeagleBoard
I have also connected 5 8A potential supply power directly to P1.01 and have the usb connected.
IMG_6936.jpg
IMG_6934.jpg

Patrick Bolton

unread,
Jun 10, 2021, 3:40:57 PMJun 10
to BeagleBoard
reconnected again.

Problem fixed!


Power into P1.01 from 5VDC 8A max supply & the usb-pc tether, of course.

Female USB socket tied in per above image.

With nothing connected:
root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
Errors
[    0.001520] timer_probe: no matching timers found
[    0.160126] l4_wkup_cm:clk:0010:0: failed to disable
[    1.223591] omap_voltage_late_init: Voltage driver support not added



Plugged in dongle.  It's powere light flashed on and off a few times.
root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
Errors
[    0.001520] timer_probe: no matching timers found
[    0.160126] l4_wkup_cm:clk:0010:0: failed to disable
[    1.223591] omap_voltage_late_init: Voltage driver support not added


But the dongle is now showing up on lsusb
Bus 002 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and 

ifconfig -a lists the WLAN
wlan0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC>  mtu 1500
        ether 50:3e:aa:b1:3d:ec  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

I'm in business.  Thank you.

Patrick Bolton

unread,
Jun 10, 2021, 3:53:46 PMJun 10
to BeagleBoard
Well I have no idea what the problem was.

I have now disconnected the power to P1.01 and it is working fine with only power through micro-usb port without PC tether.

Perhaps Im just a rambling lunatic.

Again thank you.

Patrick Bolton

unread,
Jun 10, 2021, 6:00:20 PMJun 10
to BeagleBoard
The  2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie works well, but I must not have been getting full continuity by only friction fitting the posts onto the PB.

Once I soldered a header onto the PB and then used that to connect to the hub, it worked well.

I don't have any financial interest in this product, but without PB interconnects/cases/shields readily available on the market, I would recommend them.  Please don't reply recommending an altoids can.

Note of caution:  connman seems to be particular about which of the usb hubs the dongle is plugged into.  Would find services plugged in one side, but did not on the other.

Note also that neither the edimax dongle nor the tplink dongle required additional power beyond the micro usb tether.  Nor did either require any driver updates.

Cheers!



IMG_6944.jpg
IMG_6943.jpg
Reply all
Reply to author
Forward
0 new messages