我的一块
电路板上的 WIFI 模块出现了问题。
我收到了这条错误信息,wlan0 接口不可用。
brcmfmac:brcmf_sdio_htclk:HT 可用超时(1000000):clkctl 0x50
不过,8 块电路板中只有一块出现了这种情况。
除此以外,早些时候这块电路板没有出现过这种问题,我也能连接到 AP。
这些是完整的驱动程序信息:-
[ 9.434177] Compat:加载树外模块会损坏内核。
[ 9.443194] 加载从 Linux 版本 v6.1-rc8-190-g35ed036f71c7 移植的模块
[ 9.453362] 由 backports.git v5.15.58-1-0-g42a95ce7 生成的 Backport
[ 9.543092] cfg80211: 为监管数据库加载已编译的 X.509 证书
[ 9.574473] cfg80211: 已加载 X.509 证书 'sforshee: 00b28ddf47aef9cea7'
[ 9.583006] platform regulatory.0: 直接加载 regulatory.db 固件失败,错误 -2
[ 9.605066] cfg80211:加载 regulatory.db 失败
[ 9.681314] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43439-sdio for chip BCM43439/5
[ 9.691425] usbcore: registered new interface driver brcmfmac
[ 9.697383] brcmfmac mmc0:0001:1: Direct firmware load for cypress/cyfmac43439-sdio.ambarella,olive.bin failed with error -2
[ 9.742970] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.txt
[ 9.771343] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.clm_blob
Popula
ting s3lm_olive using udev: Starting version v247.2-1.amba
[ 10.848385] brcmfmac: brcmf_sdio_htclk:HT Avail timeout (1000000): clkctl 0x50
这是 nvram:-
# cat /lib/firmware/cypress/
cyfmac43439-sdio.bin mfgtest/
cyfmac43439-sdio.clm_blob production/
cyfmac43439-sdio.txt
# cat /lib/firmware/cypress/cyfmac43439-sdio.txt
# CYW943439WLPTH 的 NVRAM 文件
# 2.4 GHz、20 MHz BW 模式
# 以下参数值只是占位符,需要更新。
NVRAMRev=$Rev: 726808 $
manfid=0x2d0
prodid=0x0727
vendid=0x14e4
devid=0x43e2
boardtype=0x0887
boardrev=0x1101
boardnum=22
macaddr=00:90:4c:2d:a0:05
sromrev=11
#boardflags=0x00404201
boardflags=0x00404001
boardflags3=0x08000000
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
ccode=ALL
pa0itssit=0x20
extpagain2g=0
#PA 参数为 2.4GHz, 在芯片输出端测量
pa2ga0=-168,6777,-789
AvVmid_c0=0x0,0xc8
AvVmidIQcal=0x2、0xa8
cckpwroffset0=5
# PPR params
maxp2ga0=74
txpwrbckof=6
cckbw202gpo=0
legofdmbw202gpo=0x888888
mcsbw202gpo=0xaaaaaa
propbw202gpo=0xdd
# OFDM IIR :
ofdmdigfilttype=18
ofdmdigfilttypebe=18
# PAPD 模式:
papdmode=1
papdvalidtest=1
pacalidx2g=45
papdepsoffset=-30
papdendidx=58
# LTECX flags
ltecxmux=0
ltecxpadnum=0x0102
ltecxfnsel=0x44
ltecxgcigpio=0x01
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
deadman_to=0xffffffff
# muxenab:0x1 表示 UART 启用,0x10 表示 HOST WAKE INT 启用,0x11 表示两者都启用
# 如果更改,需要
电源循环
muxenab=0x11
# CLDO PWM 电压设置 - 0x4 - 1.1 伏
#cldo_pwm=0x4
#VCO 频率 326.4MHz
spurconfig=0x3
# 基于 SW 的检测 - 默认启用
#i.e using glitich statistcs 作为更改 crsmin 的标准
glitch_based_crsmin=1
# 默认 btc_mode
btc_mode=0
bt_default_ant=0
# 天线分集
#swdiv_en=1
#swdiv_gpio=2
tempbased_duty_cycle_en=0
# NVRAM 结束 - 不要删除此行
有什么建议吗?
谢谢。
以下内容为评论
此外,我还尝试启用调试功能加载模块。 然而,我得到了两种不同的输出结果:-
# rmmod brcmfmac
[ 30.595206] usbcore: deregistering interface driver brcmfmac
#
#
# insmod /lib/modules/6.1.73/extra/brcmfmac.ko debug=0x120000e
[ 43.598085] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43439-sdio for chip BCM43439/5
[ 43.607353] brcmfmac mmc0:0001:1: Direct firmware load for cypress/cyfmac43439-sdio.ambarella,olive.bin failed with error -2
[ 43.625340] usbcore: registered new interface driver brcmfmac
# [ 43.639477] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.txt
[ 43.652400] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.clm_blob
[ 44.710538] brcmfmac: brcmf_sdio_htclk:HT Avail timeout (1000000): clkctl 0x50
[ 45.728721] brcmfmac: brcmf_sdio_htclk:HT Avail timeout (1000000): clkctl 0x50
# dmesg
[ 30.595206] usbcore: deregistering interface driver brcmfmac
[ 43.575973] brcmfmac: brcmfmac_module_init 没有可用的平台数据。
[ 43.580699] brcmfmac: brcmf_sdio_probe Enter
[ 43.589061] brcmfmac: brcmf_chip_recognition found AXI chip:BCM43439/5
[ 43.590649] brcmfmac: brcmf_chip_cores_check [1 ] core 0x800:49 base 0x18000000 wrap 0x18100000
[ 43.590683] brcmfmac: brcmf_chip_cores_check [2 ] core 0x812:39 base 0x18001000 wrap 0x18101000
[ 43.590700] brcmfmac: brcmf_chip_cores_check [3 ] core 0x829:21 base 0x18002000 wrap 0x18102000
[ 43.590715] brcmfmac: brcmf_chip_cores_check [4 ] core 0x82a:9 base 0x18003000 wrap 0x18103000
[ 43.590730] brcmfmac: brcmf_chip_cores_check [5 ] core 0x80e:22 base 0x18004000 wrap 0x18104000
[ 43.590744] brcmfmac: brcmf_chip_cores_check [6 ] core 0x135:0 base 0x00000000 wrap 0x18105000
[ 43.590758] brcmfmac: brcmf_chip_cores_check [7 ] core 0x240:0 base 0x00000000 wrap 0x18106000
[ 43.590772] brcmfmac: brcmf_chip_set_passive Enter
[ 43.592585] brcmfmac: brcmf_chip_get_raminfo RAM: base=0x0 size=524288 (0x80000) sr=65536 (0x10000)
[ 43.592751] brcmfmac: brcmf_chip_setup ccrev=49, pmurev=24, pmucaps=0x39d25f18
[ 43.592824] brcmfmac:F1 签名读取 @0x18000000=0x1545a9af
[ 43.592844] brcmfmac: brcmf_get_module_param Enter, bus=0, chip=43439, rev=5
[ 43.592879] brcmfmac: brcmf_sdiod_sgtable_alloc nents=35
[ 43.592901] brcmfmac: brcmf_sdio_kso_init Enter
[ 43.592940] brcmfmac: brcmf_sdio_drivestrengthinit No SDIO driver strength init needed for 芯片 BCM43439/5 rev 5 pmurev 24
[ 43.598034] brcmfmac: brcmf_sdio_probe completed!!
[ 43.598085] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43439-sdio for chip BCM43439/5
[ 43.607172] brcmfmac: brcmf_fw_get_firmwares enter: dev=mmc0:0001:1
[ 43.607215] brcmfmac: brcm_alt_fw_path FW alt path: cypress/cyfmac43439-sdio.ambarella,olive.bin
[ 43.607353] brcmfmac mmc0:0001:1: Direct firmware load for cypress/cyfmac43439-sdio.ambarella,olive.bin failed with error -2
[ 43.625340] usbcore: registered new interface driver brcmfmac
[ 43.639339] brcmfmac: brcmf_fw_complete_request firmware cypress/cyfmac43439-sdio.bin found
[ 43.639390] brcmfmac: brcm_alt_fw_path FW alt path: cypress/cyfmac43439-sdio.ambarella,olive.txt
[ 43.639477] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.txt
[ 43.652142] brcmfmac: brcmf_fw_complete_request firmware cypress/cyfmac43439-sdio.txt found
[ 43.652172] brcmfmac: brcmf_fw_request_nvram_done enter: dev=mmc0:0001:1
[ 43.652300] brcmfmac: brcmf_fw_request_nvram_done nvram c26e7a19 len 820
[ 43.652335] brcmfmac: brcm_alt_fw_path FW alt path: cypress/cyfmac43439-sdio.ambarella,olive.clm_blob
[ 43.652400] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43439-sdio.clm_blob
[ 43.667819] brcmfmac: brcmf_fw_complete_request firmware cypress/cyfmac43439-sdio.clm_blob found
[ 43.667851] brcmfmac: brcmf_sdio_firmware_callback Enter: dev=mmc0:0001:1, err=0
[ 43.667993] brcmfmac: brcmf_sdio_download_code_file Enter
[ 43.682162] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl ul at 0x00000000; size=229520
[ 43.699929] brcmfmac: brcmf_sdio_download_nvram Enter
[ 43.700136] brcmfmac: brcmf_sdio_verifymemory Compare RAM dl ul at 0x0007fccc; size=820
[ 43.700276] brcmfmac: brcmf_chip_set_active Enter
[ 44.710538] brcmfmac: brcmf_sdio_htclk:HT Avail 超时 (1000000): clkctl 0x50
[ 44.717882] brcmfmac: brcmf_sdio_firmware_callback failed: dev=mmc0:0001:1, err=0
[ 44.721255] brcmfmac: brcmf_sdio_remove Enter
[ 44.721397] brcmfmac: brcmf_detach Enter
[ 45.728721] brcmfmac: brcmf_sdio_htclk:HT Avail 超时 (1000000): clkctl 0x50
[ 45.768310] brcmfmac: brcmf_chip_set_passive 进入
[ 45.782501] brcmfmac: brcmf_chip_reset_watchdog 进入
[ 45.782559] brcmfmac: brcmf_sdio_remove 断开连接
另一个是这样的:-
# insmod /lib/modules/6.1.73/extra/brcmfmac.ko debug=0x120000e[ 27.694777] brcmfmac: brcmf_chip_recognition:不支持芯片背板类型 15[ 27.702903] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach 失败![ 27.709788] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach 失败[ 27.716929] brcmfmac: brcmf_ops_sdio_probe:F2 错误,探测失败 -19...[ 27.729768] usbcore: 注册了新的接口驱动程序 brcmfmac# dmesg[ 27.689794] brcmfmac: brcmfmac_module_init 没有可用的平台数据。[ 27.693911] brcmfmac:brcmf_sdio_probe 进入[ 27.694743] brcmfmac: brcmf_chip_recognition found AXI chip:BCM65535/15[ 27.694777] brcmfmac:brcmf_chip_recognition:不支持芯片背板类型 15[ 27.702903] brcmfmac: brcmf_sdio_probe_attach:brcmf_chip_attach 失败![ 27.709788] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach 失败[ 27.716517] brcmfmac: brcmf_sdio_remove Enter[ 27.716543] brcmfmac: brcmf_detach 进入[ 27.716746] brcmfmac: brcmf_sdio_remove 断开连接[ 27.716929] brcmfmac: brcmf_ops_sdio_probe:F2 错误,探测失败 -19...[ 27.729768] usbcore:注册新的接口驱动程序 brcmfmac