IMX8MM BCM43455 sdio WIFI ifconfig wlan0 up fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MM BCM43455 sdio WIFI ifconfig wlan0 up fail

1,168 Views
chenfeng2016
Contributor I

Hello,

 it failed to debug bcm43455 ifconfig wlan0 up with usdhc1 in imx8mm.

The failure is to write a data to the 0 address of WiFi, and then read it out for comparison. In fact, it wrote 0xb83ef198, but it read 0xff0000,which is not correct,The software is: yocot Linux 4.14.78

Help to analyze the causes:

the log as below: 

[   14.292507] dhd_open : no mutex held. set lock
[   14.297016] dhd_init_logstrs_array: Failed to open the file /installmedia/logstrs.bin 
[   14.304983] 
[   14.304983] Dongle Host Driver, version 1.579.77.41.9 (r)
[   14.311902] wl_ext_iapsta_attach_netdev: bssidx=0
[   14.316654] wl_android_wifi_on in 1
[   14.320195] wl_android_wifi_on in 2: g_wifi_on=0
[   14.324880] wifi_platform_set_power = 1
[   14.328750] ======== PULL WL_REG_ON(-1) HIGH! ========
[   14.333924] [WLAN_RFKILL]: rockchip_wifi_power: 1
[   14.338662] [WLAN_RFKILL]:  rockchip_wifi_power: 1 --->on
[   14.344118] [WLAN_RFKILL]: wifi turn on power. -1
[   14.785273] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[   14.809688] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   14.834014] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   14.873314] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[   14.920259] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[   15.549665] sdioh_start: set sd_f2_blocksize 256
[   15.554668] ***fw:/etc/firmware/fw_bcm43455c0_ag.bin, nvram:/etc/firmware/nvram_ap6255.txt 
[   15.563122] 
[   15.563122] 
[   15.563122] dhd_bus_devreset: == WLAN ON ==
[   15.570642] F1 signature read @0x18000000=0x15264345
[   15.578918] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
[   15.585910] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[   15.592862] dhd_bus_set_default_min_res_mask: Unhandled chip id
[   15.602436] dhd_conf_read_config: Ignore config file /etc/firmware/config.txt
[   15.609596] Final fw_path=/etc/firmware/fw_bcm43455c0_ag.bin
[   15.615274] Final nv_path=/etc/firmware/nvram_ap6255.txt
[   15.620601] Final clm_path=/etc/firmware/clm.blob
[   15.625336] Final conf_path=/etc/firmware/config.txt
[   15.630806] dhd_os_open_image: /etc/firmware/fw_bcm43455c0_ag.bin (519802 bytes) open success
[   15.708338] dhd_os_open_image: /etc/firmware/nvram_ap6255.txt (1924 bytes) open success
[   15.716643] NVRAM version:  Cloned from bcm94345wlpagb_p2xx.txt 
[   15.723255] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   15.731165] dhdsdio_download_state: Failed to write 0xb83ef198 to addr 0
[   15.737934] dhdsdio_download_state: contents of addr 0 is 0xffff0000
[   15.744319] _dhdsdio_download_firmware: error getting out of ARM core reset
[   15.751360] dhd_bus_devreset Failed to download binary to the dongle
[   15.757744] dhd_net_bus_devreset: dhd_bus_devreset: -35
thanks 
0 Kudos
1 Reply

1,030 Views
igorpadykov
NXP Employee
NXP Employee

Hi feng

for BCM43455 usage one can look at latest linux manual on link:

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

or sect.4.13 Wi-Fi Linux Manual included in Linux 5.4.3_1.0.0 Documentation

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

0 Kudos