murata-wireless / meta-murata-wireless

Murata's customized Linux Yocto layer for our Wi-Fi/Bluetooth modules. For support, post questions to: https://community.murata.com
GNU General Public License v2.0
25 stars 35 forks source link

Issue on driver loading step for imx8mm #19

Open amenophiks opened 5 years ago

amenophiks commented 5 years ago

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 (branch imx-sumo-manda) layer from github and configure it with the script add-murata-wireless.sh for imx8mmevk board. 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 .