Black Wireless powers up on its own after shutdown

I have extras and can send you one if you’d like.

No Worries, i’ll wait on Seeed…

Ps give this a try… You’ll have to install it first on the one that boots, then move the card over…

git clone -b v4.19.x-ti-overlays https://github.com/beagleboard/BeagleBoard-DeviceTrees
cd ./BeagleBoard-DeviceTrees/
make
sudo make install

Regards,

That seems to have fixed the bluetooth problem, thanks! Version 1.1 board still won’t power down though. Also see this on the console immediately after I execute systemctl poweroff:

[ 39.619097] Bluetooth: hci0: sending frame failed (-49)

Just a quick update on this, i’ve merged the Device Tree change, so 4.19.94-ti-r73 is now safe for you to upgrade too…

Regards,

That seems to work for 4.19. I also tried upgrading from 5.10.106-ti-r41 to 5.10.106-ti-r42, but that unfortunately broke bluetooth again on the BBGW v1.1…

hi @ridgelift that’s disappointing, ‘r42’ has the same changes… please run…

sudo beagle-version

Regards,

Here’s the output of beagle-version just prior to upgrading the kernel with update_kernel.sh. After the kernel upgrade bluetooth no longer works and I have to reflash to go back. Let me know if you need to see the output after the upgrade.

eeprom:[A335BNLTGW1ABBGW20110520]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-05-18]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-g4237220b (Apr 08 2022 - 13:42:29 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot.dts]
UBOOT: Loaded Overlay:[BB-BBGW-WL1835-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel]
UBOOT: Loaded Overlay:[uio-pruss-5.4]
kernel:[5.10.106-ti-r41]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/CT-INPUT-KEYS-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/CT-PWM-P8_34-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/CT-EGPIO-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/uio-pruss-5.4.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0~bullseye+20210821]
pkg:[bb-customizations]:[1.20220325.0-0~bullseye+20220325]
pkg:[bb-usb-gadgets]:[1.20220316.1-0~bullseye+20220316]
pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~bullseye+20211222]
pkg:[kmod]:[28-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20210315-3]
groups: ‘debian’: no such user
groups:
cmdline:[console=ttyS0,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 3.852102] remoteproc remoteproc0: wkup_m3 is available
[ 29.261015] remoteproc remoteproc0: powering up wkup_m3
[ 29.261055] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 29.261355] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 40.501263] Bluetooth: hci0: change remote baud rate command in firmware
dmesg | grep pru
dmesg | grep pinctrl-single
[ 3.712010] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
lsusb
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

This Bluetooth issue was fixed in ‘r42’…

sudo apt update
sudo apt upgrade

Regards,

Bluetooth is working for me in r41 though and breaks when I update to r42 using update_kernel.sh. Running apt update/upgrade doesn’t upgrade the kernel for me. Should it?

has been replaced by: [ARMHF] Debian 10.x/11.x/12.x Kernel Updates

Regards,

That’s a key post that I somehow missed, and I’m happy to know about the new method. Still no bueno after upgrading using apt install bbb.io-kernel-5.10-ti-am335x though. The bluetooth light doesn’t come on. Here’s the new output of beagle-version. Don’t know how to get things working again without reflashing back to r41.

eeprom:[A335BNLTGW1ABBGW20110520]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-05-18]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-g4237220b (Apr 08 2022 - 13:42:29 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot.dts]
UBOOT: Loaded Overlay:[BB-BBGW-WL1835-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel]
UBOOT: Loaded Overlay:[uio-pruss-5.4]
UBOOT: Loaded Overlay:[wl1835_bt]
kernel:[5.10.109-ti-r42]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/CT-INPUT-KEYS-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/CT-PWM-P8_34-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/CT-EGPIO-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/uio-pruss-5.4.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0~bullseye+20210821]
pkg:[bb-customizations]:[1.20220325.0-0~bullseye+20220325]
pkg:[bb-usb-gadgets]:[1.20220316.1-0~bullseye+20220316]
pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~bullseye+20211222]
pkg:[kmod]:[28-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20210315-3]
groups: ‘debian’: no such user
groups:
cmdline:[console=ttyS0,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 3.852323] remoteproc remoteproc0: wkup_m3 is available
[ 28.960127] remoteproc remoteproc0: powering up wkup_m3
[ 28.960166] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 28.960448] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[ 3.714887] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
lsusb
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

I tried copying /boot/dtbs/5.10.106-ti-r41/overlays/BB-BBGW-WL1835-00A0.dtbo to /boot/dtbs/5.10.109-ti-r42/overlays/BB-BBGW-WL1835-00A0.dtbo after doing the upgrade. That makes Bluetooth work again.

ah fun…

So what works on v5.10.x broke v4.19.x and what works on v4.19.x breaks v5.10.x :wink:

edit: so 5.10.109-ti-r43 is now out… with what was r41…

Regards,

Curious behavior indeed! Did you hear back from Seeed on the BBGW v1.1 changes? I haven’t seen anything new posted on their github or wiki pages.

edit: 5.10.109-ti-r43 works great, thanks!