Linux 4.9 drivers for CYW4354 chipset

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

cross mob
RaRa_4733311
Level 1
Level 1
10 sign-ins 5 sign-ins First question asked

Hi,

Since our board BSP is based on Linux 4.9, we need an appropriate compatible sdio driver.These are some steps we tried so far :
Downloaded and Backported drivers from the link below.https://community.cypress.com/docs/DOC-19000As per the Readme file, the driver's are working on an x86 machine, linux v4.12.
1. Kept all the firmware file in /lib/firmware/brcm/ path of filesystem
2. Installed Ubuntu 18.04 on an x86 machine, changed the running kernel to linux 4.12,by rebuilding vanilla kernel source
3. Extracted the Backported drivers
   v4.14.77-backports
4. Successfully configured, build and installed v4.14.77-backports on x86.
5. Once the SDIO module is detected by the laptop, inserted drivers and its dependent modules.
  Below is the log message relevant to the sdio device.
[   42.115029] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[   42.116770] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   42.118876] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   42.125249] mmc0: queuing unknown CIS tuple 0x80 (13 bytes)
[   42.128414] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[   42.241351] mmc0: Tuning timeout, falling back to fixed sampling clock
[   42.247769] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[   42.302155] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[   44.369093] mmc0: Tuning timeout, falling back to fixed sampling clock
[   44.425118] mmc0: Tuning timeout, falling back to fixed sampling clock
[   45.501433] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08000, err: -110
[   45.501444] brcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported
[   45.501450] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!
[   45.501455] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed
[   45.501654] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19...
[   45.501814] usbcore: registered new interface driver brcmfmac
(edited)  

Please help in solving this issue.

0 Likes
1 Reply
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Note that the USI WM-BAC-CYW-54 module you have selected has not been transitioned to the Cypress FMAC Linux driver (USI has only tested the module under its predecessor, DHD).  We are talking to USI directly and requesting that they work with your SW team to support the required DHD port to kernel v4.9

0 Likes