BBBW: wl1835: Wlcore - wifi failure

Hi Robert,

For some reason, my production board starts with issues with wlcore-wifi after it is rebooted:

[ 492.333456] ieee80211 phy0: Hardware restart was requested
[ 492.819378] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 492.925235] wlcore: firmware booted (Rev 8.9.0.0.79)
[ 493.071062] wlcore: Association completed.
[ 504.558020] ------------[ cut here ]------------
[ 504.558340] WARNING: CPU: 0 PID: 1525 at drivers/net/wireless/ti/wlcore/main.c:808 wl12xx_queue_recovery_work+0x64/0x68 [wlcore]
[ 504.558350] Modules linked in: ppp_async ppp_generic slhc rfcomm bnep xt_state xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat hci_uart nf_tables bluetooth nfnetlink ecdh_generic aes_arm_bs crypto_simd cryptd wl18xx wlcore mac80211 cfg80211 c_can_platform c_can can_dev wlcore_sdio evdev uio_pdrv_genirq uio loop usb_f_mass_storage usb_f_acm u_serial usb_f_ecm usb_f_rndis u_ether libcomposite iptable_nat nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter spidev ip_tables x_tables
[ 504.558572] CPU: 0 PID: 1525 Comm: bash Tainted: G W 4.19.50-ti-r20 #1buster
[ 504.558579] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 504.558625] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
[ 504.558645] [] (show_stack) from [] (dump_stack+0x80/0x94)
[ 504.558664] [] (dump_stack) from [] (__warn.part.3+0xcc/0xe8)
[ 504.558677] [] (__warn.part.3) from [] (warn_slowpath_null+0x54/0x5c)
[ 504.558809] [] (warn_slowpath_null) from [] (wl12xx_queue_recovery_work+0x64/0x68 [wlcore])
[ 504.558992] [] (wl12xx_queue_recovery_work [wlcore]) from [] (start_recovery_write+0x30/0x40 [wlcore])
[ 504.559096] [] (start_recovery_write [wlcore]) from [] (full_proxy_write+0x64/0x80)
[ 504.559118] [] (full_proxy_write) from [] (__vfs_write+0x28/0x48)
[ 504.559132] [] (__vfs_write) from [] (vfs_write+0xb4/0x1c8)
[ 504.559144] [] (vfs_write) from [] (ksys_write+0x74/0xe8)
[ 504.559155] [] (ksys_write) from [] (sys_write+0x18/0x1c)
[ 504.559168] [] (sys_write) from [] (ret_fast_syscall+0x0/0x54)
[ 504.559176] Exception stack(0xd4a97fa8 to 0xd4a97ff0)
[ 504.559188] 7fa0: 00000074 009f8238 00000001 009f8238 00000002 00000000
[ 504.559199] 7fc0: 00000074 009f8238 b6f1bdb0 00000004 00000002 00000002 00000000 00000000
[ 504.559207] 7fe0: 00000004 bef8aa18 b6eb35b3 b6e3c746
[ 504.559216] —[ end trace 8e28a1f85b9acb36 ]—
[ 504.559327] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.79
[ 504.559986] wlcore: pc: 0x0, hint_sts: 0x00000000 count: 36
[ 504.560405] wlcore: down
[ 504.560474] wlcore: down
[ 504.560485] wlcore: down
[ 504.560645] ieee80211 phy0: Hardware restart was requested
[ 504.989657] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 505.037773] wlcore: firmware booted (Rev 8.9.0.0.79)
[ 505.078955] wlcore: Association completed.

Please review the messages. Is it hardware or software/firmware related?

Thank you,
David Zhou

Hi @dzhou please upgrade to 4.19.94-ti-r68…

[ 492.333456] ieee80211 phy0: Hardware restart was requested
[ 492.819378] wlcore: PHY firmware version: Rev 8.2.0.0.242
[ 492.925235] wlcore: firmware booted (Rev 8.9.0.0.79)
[ 493.071062] wlcore: Association completed.

and upgrade the bb-wl18xx-firmware debian package…

as it’ll bring in a newer version of the firmware:

[   87.832698] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   87.868639] wlcore: loaded
[   88.456111] wlcore: PHY firmware version: Rev 8.2.0.0.245
[   88.508141] wlcore: firmware booted (Rev 8.9.0.0.88)

Regards,

1 Like