Problems with WIFI SDIO-driver detection

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

cross mob
lock attach
Attachments are accessible only for community members.
raji_4720746
Level 2
Level 2
First like received

Hi everyone:

    I am porting wifi module on my customed-board with imx8Quad chip,the board I am using is highly similar to imx8QuadXPlus. The wifi module is ublox JODY-W163 series,and I have succeeded in porting this wifi module on my board under yocto 4.14.78.1.0.0 project,but when I update yocto project to 4.14.98.2.3.0,the brcmfmac-sdio driver doesn't work as I expected.The main kernel dts changes can be seen in attached files .

when booting kernel ,the 4.14.78 log about brcmfmac-sdio driver shows below:

[    2.854654] mmc0: SDHCI controller on 5b010000.usdhc [5b010000.usdhc] using A

[    2.867220] sdhci-esdhc-imx 5b020000.usdhc: allocated mmc-pwrseq            

[    2.873323] sdhci-esdhc-imx 5b020000.usdhc: assigned as wifi host           

[    2.881726] mmc_pwrseq_simple_pre_power_on--> 1                             

[    2.910638] mmc_pwrseq_simple_post_power_on--> 0                                     

[    2.964874] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)                                      

[    2.970461] mmc0: new HS200 MMC card at address 0001 

[    4.114331] mmc1: new high speed SDIO card at address 0001                  

[    4.120320] SDIO brcmf_ops_sdio_probe Enter-->                              

ffs.utp0[    4.125063] SDIO brcmf_ops_sdio_probe Enter-->   

whie booting kernel with yocto project 4.14.98.2.3.0,the log only shows:

[    2.197300] mmc1: SDHCI controller on 5b020000.usdhc [5b020000.usdhc] using A

After bring-up,the wifi modules(compat.ko cfg80211.ko brcmutil.ko brcmfmac.ko) are successfully insmod,but the wlan0 interface doesn't show up

How should I make wifi module detected by SDIO driver? Or any suggestions about which porting procedure may cause this problem?Any suggestion will be appreciated.

0 Likes
1 Solution
raji_4720746
Level 2
Level 2
First like received

Drivers built with cypress-fmac-v4.14.77-2019_0503.zip and cypress-fmac-v5.4.18-2020_0402.zip will cause WiFi module wrongly detected to usb bus.the WiFi modules works correctly using the drivers built with cypress-fmac-v4.14.77-2019_1031.zip.

View solution in original post

0 Likes
3 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

I believe this is a wireless automotive module which is not supported in the broad market community. Kindly contact your local Cypress and u-blox sales team and request for support.

0 Likes

Hi Gaurav:

Thanks for reply! The module is supported on the board under yocto 4.14.78,also  I am contacting u-blox FAE for support.

raji_4720746
Level 2
Level 2
First like received

Drivers built with cypress-fmac-v4.14.77-2019_0503.zip and cypress-fmac-v5.4.18-2020_0402.zip will cause WiFi module wrongly detected to usb bus.the WiFi modules works correctly using the drivers built with cypress-fmac-v4.14.77-2019_1031.zip.

0 Likes