Cannot bring up brcmfmac 43455 version 7.45.173 on Raspberry Pi3 +

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BaLe_4136021
Level 1
Level 1
First like given

Hi,

I need to run brcmfmac 43455 version 7.45.173  on my raspberry PI 3+ as it supports WPA3, When I install

brcmfmac43455-sdio.bin

brcmfmac43455-sdio.clm_blob

brcmfmac43455-sdio.txt

on my box I get the following dmesg

3.801323] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006

[4.176620] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 21 2018 04:08:34 version 7.45.173 (r707987 CY) FWID 01-d2799ea2

[    4.177318] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.116 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-09-21 03:52:44

[    7.991577] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[    7.991586] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   10.551612] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   10.551635] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   13.111628] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   13.111643] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   15.671549] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   15.671559] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   18.231598] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   18.231613] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   20.791599] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   25.911589] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-110)

[   28.471588] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211

[   31.031577] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   31.031591] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   33.591589] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   33.591604] brcmfmac: brcmf_cfg80211_get_tx_power: error (-110)

[   36.151635] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   41.271583] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-110)

[   43.831578] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211

Do  I need a specific build for the Raspberry PI 3 +? Is there an image I can use.

Here is where I got the image from

Cypress Linux WiFi Driver Release (FMAC) [2018-09-28]

Thank for the help

0 Likes
1 Solution

Try compiling the driver source present in the following release or add the patches provided in the release to your driver source

and compile it.

Cypress Linux WiFi Driver Release (FMAC) [2018-09-28]

Then insmod/modprobe the drivers to see whether the error is still persisting.

View solution in original post

7 Replies
VinayakS_26
Moderator
Moderator
Moderator
100 replies posted 50 replies posted 25 replies posted

Hi,

Could you post how you are insmoding the drivers modules for fmac in the kernel.

Which all modules are being insmoded into the kernel.

BR,

Vinayak

Hi,

I simple got three files from which I downloaded from

brcmfmac43455-sdio.bin

brcmfmac43455-sdio.clm_blob

brcmfmac43455-sdio.txt

GitHub - reMarkable/brcmfmac-firmware: Firmware files from Cypress for brcmfmac

With these three files I copied  to  /lib/firmware/brcm and rebooted my Pie. Then after reboot I get the errors ,shown from dmesg

BTW I am  Raspbian Stretch with desktop and recommended software

Version: November 2018

Release date:2018-11-13

Kernel version:4.14

0 Likes
lock attach
Attachments are accessible only for community members.

Hi,

Sorry for the late reply.

The logs are not clear enough. Could you run the following sets of lines.Also please check whether the module cfg80211is present in the lsmod. if not modprobe the module as well.

sh -c "echo options brcmfmac debug=0x100000 > /etc/modprobe.d/brcmfmac.conf" // for debug logs

//Power cycle the device

modprobe -r brmcfmac

echo -n "3f300000.mmc" > /sys/devices/platform/soc/3f300000.mmc/driver/unbind

echo -n "3f300000.mmc" > /sys/bus/platform/drivers/mmc-bcm2835/bind

modprobe cfg80211

modprobe brcmfmac

Also please check whether the module cfg80211is present in the lsmod.

I am attaching a firmware and blob so that you could try out with it and see the error persists.

Regards,

Vinayak

Hi Vinayak,

Thank you for your reply!.

I am away now and will get a response back to you in a day or so.

0 Likes

Hi Vinayak,

   I tried to load your image you provided but errors occurred. Also I had no luck running the commands  you listed.

From lsmod (part of the list)

Module          Size      Used by

brcmfmac     307200  0

brcmutil        6384      1 brcmfmac

cfg80211      573440  1 brcmfmac

rfkill              28672    4 bluetooth,cfg80211

So cfg80211 exists

Problems with commands

I first

sudo sh -c "echo options brcmfmac debug=0x100000 > /etc/modprobe.d/brcmfmac.conf"

reboot

pi@raspberrypi:~ $sudo modprobe -r brcmfmac

pi@raspberrypi:~ $ sudo echo -n "3f300000.mmc" > /sys/devices/platform/soc/3f300000.mmc/driver/unbind

bash: /sys/devices/platform/soc/3f300000.mmc/driver/unbind: Permission denied

pi@raspberrypi:~ $ sudo echo -n "3f300000.mmc" > /sys/bus/platform/drivers/mmc-bcm2835/bind

bash: /sys/bus/platform/drivers/mmc-bcm2835/bind: Permission denied

pi@raspberrypi:~ $ sudo modprobe  cfg80211

pi@raspberrypi:~ $ sudo modprobe  brcmfmac

Dmesg log

[    3.656390] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.

[    3.666527] bcm2835_alsa bcm2835_alsa: card created with 8 channels

[    3.874003] brcmfmac: F1 signature read @0x18000000=0x15264345

[    3.891319] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006

[    3.892211] usbcore: registered new interface driver brcmfmac

[    4.169574] random: crng init done

[    4.169591] random: 7 urandom warning(s) missed due to ratelimiting

[    4.236341] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jun 20 2018 20:26:28 version 7.45.165 (r692055 CY) FWID 01-1de59a68

[    4.236867] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.116 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-06-20 20:12:36

[    4.252204] brcmfmac: CONSOLE: d 0

[    4.252222] brcmfmac: CONSOLE: 000000.063 wl0: Broadcom BCM4345 802.11 Wireless Controller 7.45.165 (r692055 CY)

[    4.252230] brcmfmac: CONSOLE: 000000.063 TCAM: 256 used: 251 exceed:0

[    4.252238] brcmfmac: CONSOLE: 000000.064 reclaim section 1: Returned 123240 bytes to the heap

[    4.252245] brcmfmac: CONSOLE: 000000.064 reclaim section 4: Returned 44 bytes to the heap

[    4.252251] brcmfmac: CONSOLE: 000000.065 sdpcmd_dpc: Enable

[    4.252259] brcmfmac: CONSOLE:

[    4.252266] brcmfmac: CONSOLE: 000000.088 wl0: wlc_iovar_op: txbf BCME -23 (Unsupported)

[    4.332371] brcmfmac: CONSOLE: 000000.103 wl0: unable to find iovar "rsdb_mode"

[    4.332385] brcmfmac: CONSOLE: 000000.103 wl0: wlc_iovar_op: rsdb_mode BCME -23 (Unsupported)

[    4.332394] brcmfmac: CONSOLE: 000000.159 wl0: wlc_enable_probe_req: state down, deferring setting of host flags

[    4.332402] brcmfmac: CONSOLE: 000000.160 wl0: wlc_enable_probe_req: state down, deferring setting of host flags

[    5.114464] uart-pl011 3f201000.serial: no DMA platform data

[    6.493137] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x00

[    6.493387] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed

[    6.596851] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS

[    7.991568] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[    7.991577] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   10.551592] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   10.551610] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-110)

[   43.899292] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[   46.471602] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

[   51.591587] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-110)

[   54.151591] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211

[   54.151657] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 1598.725254] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.

[ 1598.725793] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.

[ 1598.725806] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)

[ 1599.951209] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x00

[ 1599.955263] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x0c024, err: -110

[ 1599.959564] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x0c020, err: -110

[ 1600.965418] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x00

[ 1601.019529] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a408, err: -110

[ 1601.023690] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0a800, err: -110

[ 1601.027302] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x0a408, err: -110

Same errors

[ 1601.863673] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x09800, err: -110

[ 1601.867341] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x09800, err: -110

[ 1601.872009] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x09800, err: -110

[ 1601.876257] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x09800, err: -110

[ 1601.880420] brcmfmac: brcmf_sdiod_regrw_helper: failed to write data F1@0x09408, err: -110

[ 1601.884576] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x09408, err: -110

[ 1601.884896] usbcore: deregistering interface driver brcmfmac

[ 1675.185547] brcmfmac: brcmf_sdiod_probe: Failed to enable F1: err=-62

[ 1675.185754] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -62...

[ 1675.185813] brcmfmac: probe of mmc1:0001:2 failed with error -62

[ 1675.186371] usbcore: registered new interface driver brcmfmac

Thankls!!

0 Likes

Try compiling the driver source present in the following release or add the patches provided in the release to your driver source

and compile it.

Cypress Linux WiFi Driver Release (FMAC) [2018-09-28]

Then insmod/modprobe the drivers to see whether the error is still persisting.

mame_1363116
Level 2
Level 2
Welcome!

You need a newer brcmfmac driver to use that (and newer) FW.

The one provided with Raspbian won't work

0 Likes