T113-i WIFI模块(cyfmac55572-sdio)移植求助!!!
-
您好,
我们最近在尝试将murate的LBEE5XV2EZ WiFi模块移植到T113-i系列开发板中,遇到了一点麻烦。
Linux内核版本:5.4.61
WIFI固件版本:cyfmac55572-sdio
问题描述:在SDR50模式下,频率100Mhz,驱动能够挂载成功,ifconfig -a也有了wlan0节点,但是在执行ifconfig wlan0 up指令后,系统给出“SIOCSIFFLAGS: Input/output error”报错,偶尔能成功,但在后续通过iw dev wlan0 scan指令搜索WIFI,会有connected timeout的报错。后尝试逐步降频至10Mhz,问题依然存在。目前对硬件电压进行了排查,VBAT外部稳定供电3.3V,VDDIO外部稳定供电1.8V,CLK稳定输出。
关键log信息如下:
[ 41.845869] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac55572-sdio for chip BCM55560/2
[ 41.858594] brcmfmac mmc2:0001:1: Direct firmware load for cypress/cyfmac55572-sdio.t.allwinner,t113_irxse failed with error -2
[ 41.871630] brcmf_ops_sdio_probe enter
[ 41.883436] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac55572-sdio.txt
[ 42.742833] brcmfmac: brcmf_sdio_hdparse: seq 0: max tx seq number error
[ 42.750455] brcmfmac: brcmf_sdio_hdparse: seq 1: max tx seq number error
[ 42.760151] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac55572-sdio for chip BCM55560/2
[ 42.776699] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM55560/2 wl0: Nov 24 2023 01:48:44 version 18.53.284.17 (92de749) FWID 01-772c0c50
[ 64.954376] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ 66.409176] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 67.912072] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 69.415059] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 69.478936] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-110
[ 69.486444] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 74.370916] ieee80211 phy0: brcmf_dongle_scantime: Scan assoc time error (-19)
[ 69.502614] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[ 69.818991] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ 71.273878] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 72.776887] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 74.280046] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 74.343933] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-110
[ 74.351398] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 74.370916] ieee80211 phy0: brcmf_dongle_scantime: Scan assoc time error (-19)
[ 74.678864] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ 76.133645] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 77.636564] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 79.139538] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 79.203422] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-110
[ 79.210907] ieee80211 phy0: brcmf_netdev_open: failed to bring up cfg80211
[ 79.210917] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 79.544614] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110具体log信息参考附件
恳请您的帮助!
-
@joehuang dts里面sdc1pin有没有设置1.8v
sdc1_pins_a: sdc1@0 { vcc-pg-supply = <®_pio1_8>; pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; function = "sdc1"; drive-strength = <30>; bias-pull-up; };
-
@touchuu 非常好意思,前段时间在调试其他模块,没有继续跟踪这个问题,sdc1 pins并没有单独配置1.8v,请问可以分享一下reg_pio1_8节点的内容吗?我会尝试一下这个改动。
非常感谢!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号