brcmfmac sdio 错误:是软件还是硬件故障?

brcmfmac sdio 错误:是软件还是硬件故障?

我正在开发一个嵌入 BCM43430(来自 Cypress)的定制嵌入式板。该操作系统是为基于armv7l的MPU定制的Yocto项目。启动时我收到这些消息:

# dmesg | grep brcm
[   11.532101] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   12.114032] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   12.203900] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Sep 11 2018 09:22:09 version 7.45.98.65 (r707797 CY) FWID 01-b54727f
[   30.919833] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[   30.936034] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   30.953493] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   30.960298] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[   30.970906] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[   30.978032] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[   31.012996] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

当然,无线网络也无法使用。我已经检查过iw dev wlan0 info

# iw dev wlan0 info
Interface wlan0
    ifindex 3
    wdev 0x1
    addr dc:ef:ca:12:22:1a
    type managed
    wiphy 0

和:

# lsmod
Module                  Size  Used by
brcmfmac              192512  0
cfg80211              503808  1 brcmfmac
brcmutil               16384  1 brcmfmac
sch_fq_codel           20480  2
ipv6                  417792  34

因为错误消息谈到“tx 失败”和“sdio”(与 I/O 相关?),您想知道问题是硬件方面还是软件方面。

我应该进一步检查什么才能找到问题的根本原因?

更新

看来它sdio在错误的巴士上寻找巴士:

brcmfmac: probe of mmc0:0001:2 failed with error -62

但 WiFi 收发器实际上连接在不同的“mmcX”总线上。我可以在哪里更改此设置?

相关内容