PINE64
AW-CM256SM wifi card - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: RockPro64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=102)
+--- Thread: AW-CM256SM wifi card (/showthread.php?tid=16635)



AW-CM256SM wifi card - mtek - 05-10-2022

Hello!

I've seen a couple of threads asking how to get the AW-CM256SM combo wifi/bluetooth module working, but I haven't seen any conclusive cases of a user getting it running yet.  I'm in the same boat myself, but I think I'm making progress towards it.

I'm using Manjaro for ARM, the image specifically for the RockPro64.  I installed brcmfmac from the Arch repositories using yay, as I believe that's the correct driver for the module.  

"dmesg | grep SDIO" gives me this: "[     2.172676] mmc0: new ultra high speed SDF104 SDIO card at address 0001"

"dmesg | grep brcmfmac" returns the following: 
[    8.602310] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    8.602862] usbcore: registered new interface driver brcmfmac
[    8.605626] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.pine64,rockpro64-v2.1.bi
n failed with error -2
[    8.614427] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.pine64,rockpro64-v2.1.tx
t failed with error -2
[    8.614570] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[    9.641432] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50


If I am understanding correctly then, the module is being detected on mmc0, and I do have the driver installed, but something isn't configured correctly.  Any ideas on what I need to do next?

Thanks in advance!


RE: AW-CM256SM wifi card - sl1pkn07 - 04-25-2023

Hi i have the same issue with SOquartz64 2GB+16Gb eMMc unit

any fix for the issue?

greetings


RE: AW-CM256SM wifi card - sl1pkn07 - 04-25-2023

sorry the double post, but i done with:

Code:
sudo ln -sf /lib/firmware/brcm/brcmfmac43455-sdio.AW-CM256SM.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt
sudo ln -sf /lib/firmware/cypress/cyfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
sudo ln -sf /lib/firmware/cypress/cyfmac43455-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
sudo rmmod brcmfmac
sudo modprobe brcmfmac

dmesg
Code:
[ 7896.303895] usbcore: registered new interface driver brcmfmac
[ 7896.490453] brcmfmac_wcc: brcmf_wcc_attach: executing
[ 7896.504985] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2

nmctl show dev
Code:
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         E8:FB:1C:7F:48:A7
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (desconectado)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

GENERAL.DEVICE:                         p2p-dev-wlan0
GENERAL.TYPE:                           wifi-p2p
GENERAL.HWADDR:                         (desconocido)
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (desconectado)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

greetings


RE: AW-CM256SM wifi card - moserwi - 10-30-2023

rockpro64 debian 12.2 bugfix was PERFECT - Thank you!


RE: AW-CM256SM wifi card - diederik - 10-30-2023

On a Debian (based) system, install firmware-brcm80211 package and then do this:

Code:
cd /lib/firmware/brcm/
ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.0.txt
ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.1.txt

That should be all you need.
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=d11ae98478d52548172918511f949aa92193f2c6