Jump to content

NicolasA

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by NicolasA

  1. The above workaround does not work every time, once or twice and then you need to reboot.

     

    I got some debug logs from the driver, dmesg is flooded with this error :

    [85658.544429] brcmfmac: CONSOLE: 085641.821 wl0: PHYTX error
    [85660.512477] brcmfmac: CONSOLE: 085643.786 wl0: PHYTX error
    [85660.512502] brcmfmac: CONSOLE: 085643.788 wl0: PHYTX error
    [85662.404206] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    [85664.964270] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    [85664.964292] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
    [85668.900215] brcmfmac: CONSOLE: 085652.182 wl0: PHYTX error
    [85669.524228] brcmfmac: CONSOLE: 085652.795 wl0: PHYTX error

     

    Should we contact Raxda or Ampak for this issue ?

  2. So, I did test with multiple firmware revision : 7.45.96.0, 7.45.96.40-apsta, 7.45.96.53, 7.45.96.61, 7.45.96.68, 7.84.17.1

    They all have the same behavior, except 7.45.96.0 and 7.45.96.40-apsta which crashes after only 1 day (instead of ~4 for the others); and 7.84.17.1 which create a very high CPU usage and is not usable.

     

    I found a workaround to reset the Wifi chip without rebooting :

    echo -n "fe310000.mmc" > /sys/bus/platform/drivers/dwmmc_rockchip/unbind
    sleep 1
    echo -n "fe310000.mmc" > /sys/bus/platform/drivers/dwmmc_rockchip/bind

     

    It's working but not a real fix. It would be better to have a crash-free firmware.

  3. Hi @denni_isl,

     

    Did you find a solution to this problem ?

     

    I believe this is coming from the Wifi driver brcmfmac. I noticed the same behavior on my RockPi 4 B when using a weird firmware from Broadcom instead of Cypress (brcmfmac43456-sdio.bin   version 7.84.17.1).

     

    # strings /lib/firmware/brcm/brcmfmac43456-sdio.bin | tail -n 1
    43455c5-roml/43455_sdio-pno-aoe-pktfilter-pktctx-lpc-pwropt-43455_ftrs-mfp-noclminc-clm_min Version: 7.84.17.1 (r871554) CRC: 72494685 Date: Thu 2020-05-14 17:41:11 KST Ucode Ver: 1043.20424 FWID: 01-3d9e1d87

     

    Once reverted to the firmware provided with Armbian, this issue disappeared.

  4. The issue is still here with the firmware v 7.45.96.68. Wifi crashed a little bit before reaching 5 days uptime.

    I will see if there is a way to reset the wifi chip, as a workaround. Unloading and reloading the module is not enough.

     

    @Werner Which firmware are you using with you Pinebook ? ( You can check it with `dmesg | grep brcmfmac`)

  5. Armbianmonitor:

    Hi,

     

    I'm using a RockPi 4 B as a wifi access point. Everything is working fine with good performances until the Wifi stop working, usually after 3-4 days.

    When that happens, dmesg is flooded with these logs :

    [221057.075187] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    [221057.075202] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
    [221124.657840] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    [221127.217786] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
    [221127.217806] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110

     

    Reloading `brcmfmac` module do not fix the issue, only a reboot.

     

    I'm using the latest firmware provided by armbian-firmare :

    # dmesg | grep brcm
    Jan 28 09:36:13 crumble kernel: [240969.028417] brcmfmac: F1 signature read @0x18000000=0x15294345
    Jan 28 09:36:13 crumble kernel: [240969.038152] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
    Jan 28 09:36:13 crumble kernel: [240969.041051] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b.txt failed with error -2
    Jan 28 09:36:13 crumble kernel: [240969.042548] usbcore: registered new interface driver brcmfmac
    Jan 28 09:36:13 crumble kernel: [240969.149643] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
    Jan 28 09:36:13 crumble kernel: [240969.149719] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    Jan 28 09:36:13 crumble kernel: [240969.149965] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3

     

    I'm not sure where to go from there. How can I debug or workaround this issue ?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines