[wl18xx 4.19.x-ti] ieee80211 phy0: Hardware restart was requested

Hi,

I am having a problem with beaglebone blue and beaglebone green gateway
I think I have a problem with wl18xx problem

[53233.855249] wlcore: ERROR SW watchdog interrupt received! starting recovery.
[53233.862422] ------------[ cut here ]------------
[53233.862728] WARNING: CPU: 0 PID: 1231 at drivers/net/wireless/ti/wlcore/main.                                                                                                             c:808 wl12xx_queue_recovery_work+0x64/0x68 [wlcore]
[53233.862737] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto                                                                                                             _simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_con                                                                                                             ntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore ma                                                                                                             c80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbc                                                                                                             m btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio                                                                                                              pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spid                                                                                                             ev
[53233.862850] CPU: 0 PID: 1231 Comm: irq/156-wl18xx Tainted: G        W                                                                                                                      4.19.94-ti-r73 #1buster
[53233.862856] Hardware name: Generic AM33XX (Flattened Device Tree)
[53233.862900] [<c0113e18>] (unwind_backtrace) from [<c010e388>] (show_stack+0x2                                                                                                             0/0x24)
[53233.862920] [<c010e388>] (show_stack) from [<c0d2909c>] (dump_stack+0x8c/0xa0                                                                                                             )
[53233.862938] [<c0d2909c>] (dump_stack) from [<c013c928>] (__warn.part.3+0xcc/0                                                                                                             xe8)
[53233.862951] [<c013c928>] (__warn.part.3) from [<c013cac4>] (warn_slowpath_nul                                                                                                             l+0x54/0x5c)
[53233.863086] [<c013cac4>] (warn_slowpath_null) from [<bf3b3cb0>] (wl12xx_queue                                                                                                             _recovery_work+0x64/0x68 [wlcore])
[53233.863270] [<bf3b3cb0>] (wl12xx_queue_recovery_work [wlcore]) from [<bf3b449                                                                                                             8>] (wlcore_irq+0x118/0x188 [wlcore])
[53233.863375] [<bf3b4498>] (wlcore_irq [wlcore]) from [<c01afe1c>] (irq_thread_                                                                                                             fn+0x2c/0x88)
[53233.863389] [<c01afe1c>] (irq_thread_fn) from [<c01b0194>] (irq_thread+0x164/                                                                                                             0x234)
[53233.863402] [<c01b0194>] (irq_thread) from [<c01604c0>] (kthread+0x16c/0x174)
[53233.863416] [<c01604c0>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c                                                                                                             )
[53233.863424] Exception stack(0xdb131fb0 to 0xdb131ff8)
[53233.863436] 1fa0:                                     00000000 00000000 00000                                                                                                             000 00000000
[53233.863446] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000                                                                                                             000 00000000
[53233.863456] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[53233.863465] ---[ end trace 9705a47acaa13116 ]---
[53233.863641] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.88
[53233.864322] wlcore: pc: 0xf406, hint_sts: 0x00000000 count: 1
[53233.864795] wlcore: down
[53233.864846] wlcore: down
[53233.864873] wlcore: down
[53233.865032] ieee80211 phy0: Hardware restart was requested
[53234.281108] wlcore: PHY firmware version: Rev 8.2.0.0.245
[53234.330059] wlcore: firmware booted (Rev 8.9.0.0.88)
[53234.366255] wlcore: Association completed.
[53271.818887] wlan0: deauthenticated from a2:b5:3c:0c:cd:02 (Reason: 1=UNSPECIF                                                                                                             IED)
[53271.974546] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[53271.990792] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[53272.676460] wlan0: authenticate with a2:b5:3c:0c:cd:02
[53272.694436] wlan0: send auth to a2:b5:3c:0c:cd:02 (try 1/3)
[53272.798353] wlan0: authenticated
[53272.805665] wlan0: associate with a2:b5:3c:0c:cd:02 (try 1/3)
[53272.810630] wlan0: RX AssocResp from a2:b5:3c:0c:cd:02 (capab=0x1411 status=0                                                                                                              aid=11)
[53272.840036] wlan0: associated
[53272.845805] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by a2:b                                                                                                             5:3c:0c:cd:02
[53273.890556] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[53273.926356] wlcore: Association completed.
[58147.954725] wlcore: ERROR SW watchdog interrupt received! starting recovery.

uname -r

4.19.94-ti-r73

Can someone help ?

Best regards,
Aivaras

Please run and report the output of:

sudo /opt/scripts/tools/version.sh

Regards,

git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTGG1ASBBGG5000301]
model:[SeeedStudio_BeagleBone_Green_Gateway]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0.bb.org-overlays]
UBOOT: Loaded Overlay:[BB-BBGG-WL1835-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.bb.org-overlays]
UBOOT: Loaded Overlay:[M-BB-BBGG-00A0]
kernel:[4.19.94-ti-r73]
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.20210821.0-0~buster+20210821]
pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~buster+20211222]
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 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   10.457705] remoteproc remoteproc0: 4a334000.pru is available
[   10.461530] remoteproc remoteproc1: 4a338000.pru is available
[   45.193252] Bluetooth: hci0: change remote baud rate command in firmware
[   60.967914] remoteproc remoteproc2: wkup_m3 is available
[   61.006364] remoteproc remoteproc2: powering up wkup_m3
[   61.006393] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217148
[   61.006653] remoteproc remoteproc2: remote processor wkup_m3 is now up
[   67.453459] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   92.729833] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   94.549954] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   95.608779] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   95.982149] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 1969.992102] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[53233.862737] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[58147.962311] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[91817.137102] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
dmesg | grep pru
[   10.457705] remoteproc remoteproc0: 4a334000.pru is available
[   10.457892] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   10.461530] remoteproc remoteproc1: 4a338000.pru is available
[   10.461713] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
[ 1969.992102] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[53233.862737] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[58147.962311] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
[91817.137102] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto_simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore mac80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbcm btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spidev
dmesg | grep pinctrl-single
[    0.958502] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.971953] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

Also another device that has a same problem

git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTBLA21711EL000601]
model:[TI_AM335x_BeagleBone_Blue]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblue.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0.bb.org-overlays]
kernel:[4.19.94-ti-r73]
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.20210821.0-0~buster+20210821]
pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~buster+20211222]
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 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[    8.530169] remoteproc remoteproc0: 4a334000.pru is available
[    8.541999] remoteproc remoteproc1: 4a338000.pru is available
[   36.241022] remoteproc remoteproc2: wkup_m3 is available
[   36.247433] remoteproc remoteproc2: powering up wkup_m3
[   36.247460] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217148
[   36.247714] remoteproc remoteproc2: remote processor wkup_m3 is now up
dmesg | grep pru
[    8.530169] remoteproc remoteproc0: 4a334000.pru is available
[    8.530368] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[    8.541999] remoteproc remoteproc1: 4a338000.pru is available
[    8.542183] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.914397] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
lsusb
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

thanks testing, the wl18xx can be picky at times with older firmware…

BeagleBoard.org Debian Buster IoT Image 2020-04-06 shipped with:

git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTGG1A202006000357]
model:[SeeedStudio_BeagleBone_Green_Gateway]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BBGG-WL1835-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[M-BB-BBGG-00A0]
kernel:[4.19.94-ti-r42]
nodejs:[v10.15.2]
/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.20200403.0-0rcnee0~buster+20200403]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]
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 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   11.955911] remoteproc remoteproc0: 4a334000.pru is available
[   11.965530] remoteproc remoteproc1: 4a338000.pru is available
[   21.053803] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   58.134822] Bluetooth: hci0: change remote baud rate command in firmware
[   80.157637] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   83.947986] remoteproc remoteproc2: wkup_m3 is available
[   84.783758] remoteproc remoteproc2: powering up wkup_m3
[   84.783791] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217168
[   84.784080] remoteproc remoteproc2: remote processor wkup_m3 is now up
[   85.781854] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   86.795931] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   86.953429] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
dmesg | grep pru
[   11.955911] remoteproc remoteproc0: 4a334000.pru is available
[   11.956086] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   11.965530] remoteproc remoteproc1: 4a338000.pru is available
[   11.965712] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.930095] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.943373] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
debian@beaglebone:~$ dmesg | grep wlcore
[   91.260990] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   91.285422] wlcore: loaded
[   91.934677] wlcore: PHY firmware version: Rev 8.2.0.0.242
[   91.976740] wlcore: firmware booted (Rev 8.9.0.0.79)

Update just the kernel to match your log…

sudo apt update
sudo apt install bbb.io-kernel-4.19-ti-am335x 

Regards,

Edit 2… forgot how buggy connman is… care to try Bullseye with systemd-networkd… Debian 11.x (Bullseye) - Monthly Snapshots

I tried those commands to update beaglebone

sudo apt update
sudo apt upgrade
sudo apt install bbb.io-kernel-4.19-ti-am335x

So this is not enough ?
What solution can you suggest ?
Beaglebones are in remote places

Yeap, normally that’s perfectly fine, the issue your using an old image…

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh 
[sudo] password for debian: 
git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
eeprom:[A335BNLTGG1A202006000357]
model:[SeeedStudio_BeagleBone_Green_Gateway]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BBGG-WL1835-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[M-BB-BBGG-00A0]
kernel:[4.19.94-ti-r73]
nodejs:[v10.15.2]
/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.20200403.0-0rcnee0~buster+20200403]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]
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 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   12.129629] remoteproc remoteproc0: 4a334000.pru is available
[   12.137544] remoteproc remoteproc1: 4a338000.pru is available
[   20.129687] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   27.863846] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   28.025374] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   50.254547] Bluetooth: hci0: change remote baud rate command in firmware
[   64.028641] remoteproc remoteproc2: wkup_m3 is available
[   64.387720] remoteproc remoteproc2: powering up wkup_m3
[   64.387754] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217148
[   64.388049] remoteproc remoteproc2: remote processor wkup_m3 is now up
dmesg | grep pru
[   12.129629] remoteproc remoteproc0: 4a334000.pru is available
[   12.129819] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   12.137544] remoteproc remoteproc1: 4a338000.pru is available
[   12.137738] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[    0.962846] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.976477] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
debian@beaglebone:~$ dmesg | grep wlcore
[   69.220783] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   69.249565] wlcore: loaded
[   69.836128] wlcore: PHY firmware version: Rev 8.2.0.0.242
[   69.880200] wlcore: firmware booted (Rev 8.9.0.0.79)
[   71.273787] wlcore: Association completed.

Humm… in your log, you have:

[53234.281108] wlcore: PHY firmware version: Rev 8.2.0.0.245
[53234.330059] wlcore: firmware booted (Rev 8.9.0.0.88)
[53234.366255] wlcore: Association completed.

Wonder if 8.9.0.0.79 → 8.9.0.0.88 broke something?

Let’s see…

sudo apt install --only-upgrade bb-wl18xx-firmware

locked up on next reboot…

Nov 29 15:30:16 beaglebone bb-wl18xx-wlan0[907]: wl18xx:tether waiting for /sys/class/net/wlan0
[   70.839492] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[   70.845651] rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-0): P1522
[   70.852123] rcu: 	(detected by 0, t=5252 jiffies, g=25805, q=152)
[   70.858707] rcu: rcu_preempt kthread starved for 5238 jiffies! g25805 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
[   70.869187] rcu: RCU grace-period kthread stack dump:

another reboot, firmware matches now…

[   69.856749] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   69.888247] wlcore: loaded
[   70.470952] wlcore: PHY firmware version: Rev 8.2.0.0.245
[   70.520247] wlcore: firmware booted (Rev 8.9.0.0.88)
[  105.325077] wlan0: authenticate with ba:fb:e4:f4:7b:d2
[  105.330225] wlan0: send auth to ba:fb:e4:f4:7b:d2 (try 1/3)
[  105.340345] wlan0: authenticated
[  105.348072] wlan0: associate with ba:fb:e4:f4:7b:d2 (try 1/3)
[  105.355066] wlan0: RX AssocResp from ba:fb:e4:f4:7b:d2 (capab=0x1431 status=0 aid=3)
[  105.375326] wlan0: associated
[  105.408881] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  105.431306] wlcore: Association completed.
[  106.840089] wlcore: WARNING no fw rx ba on tid 1
[  135.530127] wlan0: disassociated from ba:fb:e4:f4:7b:d2 (Reason: 34=DISASSOC_LOW_ACK)
[  135.626955] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  135.845988] wlan0: authenticate with 1e:e8:29:91:0a:c1
[  135.851955] wlan0: send auth to 1e:e8:29:91:0a:c1 (try 1/3)
[  136.014085] wlan0: authenticated
[  136.019738] wlan0: associate with 1e:e8:29:91:0a:c1 (try 1/3)
[  136.026413] wlan0: RX AssocResp from 1e:e8:29:91:0a:c1 (capab=0x1031 status=0 aid=8)
[  136.045020] wlan0: associated
[  136.097369] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  136.120686] wlcore: Association completed.

Regards,

Thank you for your help :smile:
I will look at those wlcore versions

Please try:

sudo apt update
sudo apt install --only-upgrade bb-wl18xx-firmware
sudo reboot

and give it a test, this backs the firmware back to wlcore: firmware booted (Rev 8.9.0.0.83) which is the version in linux-fimware today so the most tested…

Regards,

Hello, so I tried those commands

sudo apt update
sudo apt install --only-upgrade bb-wl18xx-firmware
sudo reboot

and

dmesg | grep wlcore
[ 44.693420] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 44.725758] wlcore: loaded
[ 46.183402] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 46.229238] wlcore: firmware booted (Rev 8.9.0.0.79)
[ 46.260694] wlcore: down
[ 46.723460] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 46.769356] wlcore: firmware booted (Rev 8.9.0.0.79)
[ 49.900361] wlcore: down
[ 54.085223] wlcore: Association completed.

before those commands

[   70.470952] wlcore: PHY firmware version: Rev 8.2.0.0.245
[   70.520247] wlcore: firmware booted (Rev 8.9.0.0.88)

maybe I can somehow specify version with that update ?

Yes I moved it to an even older version…

So does it solve the issue or not?

Nope, nothing changed

So maybe it’s possible to bring back this version: Rev 8.9.0.0.83 ?

I’m working on a quick gui…

But for now…

open:

/etc/default/bb-wl18xx-fw

and change:

WLFW=wl18xx-fw-4-8.9.0.0.79.bin

to

WLFW=wl18xx-fw-4-8.9.0.0.83.bin

and then run…

sudo apt install bb-wl18xx-firmware --reinstall

Sample log:

debian@bbb-pwr01-ser09:~$ cat /etc/default/bb-wl18xx-fw 
WLFW=wl18xx-fw-4-8.9.0.0.79.bin
debian@bbb-pwr01-ser09:~$ sudo nano /etc/default/bb-wl18xx-fw 
debian@bbb-pwr01-ser09:~$ cat /etc/default/bb-wl18xx-fw 
WLFW=wl18xx-fw-4-8.9.0.0.83.bin
debian@bbb-pwr01-ser09:~$ sudo apt install bb-wl18xx-firmware --reinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,469 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 72187 files and directories currently installed.)
Preparing to unpack .../bb-wl18xx-firmware_1.20221129.7-0~buster+20221129_all.deb ...
Unpacking bb-wl18xx-firmware (1.20221129.7-0~buster+20221129) over (1.20221129.7-0~buster+20221129) ...
Setting up bb-wl18xx-firmware (1.20221129.7-0~buster+20221129) ...
'/etc/connman/main.conf' -> '/etc/connman/main.conf.bak'
bb-wl18xx-firmware: [wl18xx-fw-4-8.9.0.0.83.bin] was set in /etc/default/bb-wl18xx-fw
'/lib/firmware/ti-connectivity/git/wl18xx-fw-4-8.9.0.0.83.bin' -> '/lib/firmware/ti-connectivity/wl18xx-fw-4.bin'
Created symlink /etc/systemd/system/multi-user.target.wants/bb-wl18xx-bluetooth.service → /lib/systemd/system/bb-wl18xx-bluetooth.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bb-wl18xx-wlan0.service → /lib/systemd/system/bb-wl18xx-wlan0.service.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r73
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 
    nor crypto modules. If that's on purpose, you may want to uninstall the 
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 
    integration and avoid this warning.

Regards,

thank you :smile:

Okay, gui is now up…

sudo apt update
sudo apt install --only-upgrade bb-wl18xx-firmware

Then run:

sudo bb-wl18xx-select-fw

Fw

Regards,

2 Likes

Is it possible to get this version ?

8.9.1.0.0.

I can add it… BUT… i haven’t figured out what TI means by:

“IMPORTANT!!! the new firmware mandates upgrading to the latest driver (bundle).”

‘bundle’… not sure what git repo that is to represent…

Edit, and pushed out…

added…

8.9.0.0.89
8.9.0.0.90
8.9.1.0.0

Regards,

1 Like

Thank you, I will try those versions