Murata SDIO wireless, imx8mm and Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Murata SDIO wireless, imx8mm and Yocto

4,295 次查看
flouveau
Contributor II

Hi,

I try to connect and configure the 1DX SDIO module to a Imx8mm EVK board.
The 1DX module is connected through an adapter (from Saiko system) to the microSD.

WL_REG_ON is connected on VIO_IN (3.3V)
WL_HOST_WAKE is not connected


I recover the meta-murata-wireless layer from github and configure it with the script add-murata-wireless.sh
Compilation is fine.

I flash the eMMC with Uboot to start in TFTP + NFS.


Firmwares are correctly located in

 

    # ls /lib/firmware/brcm/  
    README_NVRAM                 brcmfmac43430-sdio.txt  
    brcmfmac43012-sdio.bin       brcmfmac43455-sdio.bin  
    brcmfmac43012-sdio.clm_blob  brcmfmac43455-sdio.clm_blob  
    brcmfmac43012-sdio.txt       brcmfmac43455-sdio.txt  
    brcmfmac43340-sdio.bin       brcmfmac4354-sdio.bin  
    brcmfmac43340-sdio.txt       brcmfmac4354-sdio.clm_blob  
    brcmfmac43362-sdio.bin       brcmfmac4354-sdio.txt  
    brcmfmac43362-sdio.txt       brcmfmac4356-pcie.bin  
    brcmfmac4339-sdio.bin        brcmfmac4356-pcie.clm_blob  
    brcmfmac4339-sdio.txt        brcmfmac4356-pcie.txt  
    brcmfmac43430-sdio.bin       brcmfmac4359-pcie.bin  
    brcmfmac43430-sdio.clm_blob  murata-master  ‍‍‍‍‍‍‍‍‍‍‍‍‍


My main issue is that I have several kinf of error messages. It seems issue on communication (RX/TX) bus.

I search into community forum without any success.

 [   81.424980] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)  
 [   81.432118] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)  
 [   81.440554] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)  
 [   81.447684] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)  
 [   81.455792] mmc1: queuing unknown CIS tuple 0x80 (6 bytes)  
 [   81.559031] mmc1: new high speed SDIO card at address 0001  
 [   81.667279] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0808c, err: -84  
 [   81.694639] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x080ac, err: -84  
 [   81.703149] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001  
 [   81.875439] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08508, err: -84  
 [   81.895647] brcmfmac: brcmf_sdio_read_control: read 216 control bytes failed: -84  
 [   81.903172] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK  
 [   84.443257] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout  
 [   84.449111] brcmfmac: brcmf_c_process_clm_blob: clmload (7222 byte file) failed (-110);   
 [   84.452354] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -84  
 [   84.466590] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK  
 [   87.135290] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout  
 [   87.141146] brcmfmac: brcmf_c_process_clm_blob: get clmload_status failed (-110)  
 [   87.148582] brcmfmac: brcmf_c_preinit_dcmds: download CLM blob file failed, -5  
 [   87.155832] brcmfmac: brcmf_bus_started: failed: -5  
 [   87.160747] brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
    [   30.304845] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x080e4, err: -84  
     [   30.316715] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x080fc, err: -84  
     [   30.329910] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0c040, err: -84  
     [   30.343086] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001  
     [   31.405779] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50  
     [   32.439722] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50  
     [   33.458473] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50  ‍‍‍‍‍‍‍‍‍‍‍‍‍‍


    [   43.265595] mmc1: new high speed SDIO card at address 0001  
    [   43.282966] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001  
    [   43.453868] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08508, err: -84  
    [   43.477337] brcmfmac: brcmf_c_preinit_dcmds: Murata Customized Version: imx-sumo-manda_r1.0;  
    [   43.485820] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 11 2018 09:22:09 version 7.45.98.65 (r707797 CY) FWID 01-b54727f  
    [   43.499047] brcmfmac: brcmf_sdio_read_control: read 232 control bytes failed: -84  
    [   43.506573] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK  
    [   46.061988] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout  
    [   46.077209] brcmfmac: brcmf_sdio_ulp_preinit: ulp_sdioctrl iovar returned err = -23  
    [   46.096442] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -84  
    [   46.102586] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK  
    [   48.738014] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout  
    [   48.747608] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -84  
    [   48.753734] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK  
    [   51.298013] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout  ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍


    [  580.074390] mmc1: new high speed SDIO card at address 0001  
    [  580.167552] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08000, err: -84  
    [  580.175687] brcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported  
    [  580.183543] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!  
    [  580.190299] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed  
    [  580.197025] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19..  


Thanks for your help.

Fabrice .

0 项奖励
回复
2 回复数

3,577 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fabrice

for murata modules one can check useful links

https://community.nxp.com/message/1178410?commentID=1178410#comment-1178410 

writing a dts file for porting a CYW43455 wifi/... | Cypress Developer Community 

and post issue on murata support portal

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,929 次查看
vinayharitsakp1
Contributor III

Hi I am using an iMX8MM Mini lpddr4 cpu2 EVK board.  I intend to connect the Murata uSD to M.2 connector  Rev A board to microSD card slot of the iMX8MM mini EVK board and connect CYW54591 on M.2 connector of murata.

I have made the connections for this board based on Section 6.3 of this link.

https://www.murata.com/-/media/webrenewal/products/connectivitymodule/asset/pub/rfm/data/murata_user...

Does MicroSD card slot of iMX8MM support reconfiguration of SDIO or SDMMC on microSD card slot?

I am getting the following issues from when  make the setup as described above.

[  257.866450] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  257.874020] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  257.879679] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  257.885425] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  257.891258] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  257.896918] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  257.902664] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  257.908410] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  257.914676] mmc1: sdhci: ============================================
[  267.999635] mmc1: Timeout waiting for hardware cmd interrupt.
[  268.005392] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  268.011835] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[  268.018275] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000001
[  268.024717] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000000
[  268.031158] mmc1: sdhci: Present:   0x00688009 | Host ctl: 0x00000001
[  268.037597] mmc1: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
[  268.044037] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x000010ff
[  268.050477] mmc1: sdhci: Timeout:   0x0000008e | Int stat: 0x00000000
[  268.056917] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[  268.063358] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[  268.069799] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[  268.076240] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[  268.082680] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]:  0x00000000
[  268.089120] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  268.095561] mmc1: sdhci: Host ctl2: 0x00000000
[  268.100005] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  268.106446] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  268.114015] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  268.119677] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  268.125423] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  268.131256] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  268.136915] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  268.142661] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  268.148407] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  268.154673] mmc1: sdhci: ============================================

Request you to share any inputs in this regard.

0 项奖励
回复