3 Replies Latest reply on Jul 2, 2020 7:40 PM by raji_4720746

    Problems with WIFI SDIO-driver detection

    raji_4720746

      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.