cypress v5.4.18 backports fmac driver fails to load when used on 5.4 kernel

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

cross mob
adarsh19raj_488
Level 1
Level 1
5 sign-ins First reply posted First question asked

We are using imx6ul custom board with kernel version 5.4

here are the logs

compat: loading out-of-tree module taints kernel.
[ 48.112816] Loading modules backported from Linux version v5.4.18-2020_0402-0-g392330e
[ 48.136949] Backport generated by backports.git v5.5.11-1-0-gabe05f0
[ 52.381616] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 52.438974] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 52.448004] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 52.456654] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 64.488165] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 64.512666] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 90.690569] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 90.701665] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 90.710733] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 90.721296] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 90.731692] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
[ 90.852696] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 90.882206] usbcore: registered new interface driver brcmfmac
[ 90.893490] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.fsl,imx6ul-14x14-evk.txt failed with error -2
[ 90.918201] brcmfmac mmc0:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.fsl,imx6ul-14x14-evk.txt
[ 115.688266] cfg80211: failed to load regulatory.db
[ 125.928556] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[ 152.543901] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

If you are using v5.4.18 based FMAC release, the relevant WLAN chip files should be placed in /lib/firmware/cypress directory because the driver would search for the firmware, nvram and clm_blob files in that directory. In otherwords, the following files should be placed in /lib/firmware/cypress directory and named as shown below:

cyfmac43455-sdio.bin
cyfmac43455-sdio.clm_blob
cyfmac43455-sdio.txt

View solution in original post

0 Likes
1 Reply
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

If you are using v5.4.18 based FMAC release, the relevant WLAN chip files should be placed in /lib/firmware/cypress directory because the driver would search for the firmware, nvram and clm_blob files in that directory. In otherwords, the following files should be placed in /lib/firmware/cypress directory and named as shown below:

cyfmac43455-sdio.bin
cyfmac43455-sdio.clm_blob
cyfmac43455-sdio.txt

0 Likes