On Wed, Nov 6, 2013 at 5:57 PM, Arend van Spriel <arend@xxxxxxxxxxxx> wrote: > On 11/06/2013 09:30 AM, Arend van Spriel wrote: >> >> On 11/05/2013 10:26 AM, Dong Aisheng wrote: >>> >>> On Tue, Nov 5, 2013 at 4:57 PM, Dong Aisheng <dongas86@xxxxxxxxx> wrote: >>>> >>>> On Tue, Nov 5, 2013 at 4:36 PM, Arend van Spriel <arend@xxxxxxxxxxxx> >>>> wrote: >>>>> >>>>> On 11/05/2013 03:51 AM, Dong Aisheng wrote: >>>>>> >>>>>> >>>>>> On Mon, Nov 4, 2013 at 5:44 PM, Arend van Spriel <arend@xxxxxxxxxxxx> >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> On 11/04/2013 09:13 AM, Dong Aisheng wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Hi Arend, >>>>>>>> >>>>>>>> On Mon, Nov 4, 2013 at 11:44 AM, Dong Aisheng <dongas86@xxxxxxxxx> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Hi Arend, >>>>>>>>> >>>>>>>>> On Fri, Nov 1, 2013 at 9:25 PM, Arend van Spriel >>>>>>>>> <arend@xxxxxxxxxxxx> >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 11/01/2013 01:21 PM, Dong Aisheng wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Hi Arend, >>>>>>>>>>> >>>>>>>>>>> On Fri, Nov 1, 2013 at 6:35 PM, Arend van Spriel >>>>>>>>>>> <arend@xxxxxxxxxxxx> >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 11/01/2013 07:22 AM, Dong Aisheng wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Hi ALL, >>>>>>>>>>>>> >>>>>>>>>>>>> I'm verifying BCM4335 WiFi module on i.MX6SL EVK board. >>>>>>>>>>>>> The kernel i ran is latest from: >>>>>>>>>>>>> >>>>>>>>>>>>> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless.git >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> The firmware is used is from: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> NVRAM file is got from the vendor which should work for the >>>>>>>>>>>>> module. >>>>>>>>>>>>> >>>>>>>>>>>>> But i ran into the following issues, hope somebody can give >>>>>>>>>>>>> me some >>>>>>>>>>>>> hints. >>>>>>>>>>>>> >>>>>>>>>>>>> First, i met error when module is auto loaded, but seems the >>>>>>>>>>>>> driver >>>>>>>>>>>>> is >>>>>>>>>>>>> still loaded successfully since i found the new WiFi >>>>>>>>>>>>> interface with >>>>>>>>>>>>> ifconfig. >>>>>>>>>>>>> But it can not work after run rfkill unblock wlan and a lot >>>>>>>>>>>>> error >>>>>>>>>>>>> messages comes out. >>>>>>>>>>>>> >>>>>>>>>>>>> I'm wondering if this driver can support bcm4335 well, can >>>>>>>>>>>>> anybody >>>>>>>>>>>>> provide some help? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> I can try. I have used the bcm4335 with a SDIO3.0 controller >>>>>>>>>>>> on a >>>>>>>>>>>> x86 >>>>>>>>>>>> PC. >>>>>>>>>>>> Looking at an issue right now, but your log does not show >>>>>>>>>>>> that so >>>>>>>>>>>> you >>>>>>>>>>>> have a >>>>>>>>>>>> different issue. Could you load the module with parameter >>>>>>>>>>>> 'debug=0x146'. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Thanks for the help. >>>>>>>>>>> So that means the brcmfmac driver should support bcm4335 >>>>>>>>>>> module well, >>>>>>>>>>> right? >>>>>>>>>>> The difference is that i'm using a ARM platform. >>>>>>>>>>> Below is log with 'debug=0x146'. >>>>>>>>>>> It only includes driver probe log. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> That log actually looks fine. Just not sure why software rfkill >>>>>>>>>> was >>>>>>>>>> enabled. >>>>>>>>>> Is that still the case? What distro is running on your platform? >>>>>>>>>> >>>>>>>>> >>>>>>>>> Do you mean the error message during probe is also fine? >>>>>>>>> root@imx6slevk:~# mmc0: queuing unknown CIS tuple 0x91 (3 bytes) >>>>>>>>> mmc0: new high speed SDIO card at address 0001 >>>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>>> 0xffffffac >>>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>>> 0xffffffac >>>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>>> 0xffffffac >>>>>>>>> brcmfmac: brcmf_sdio_regrw_helper: failed with -84 <--- error >>>>>>>>> message >>>>>>>>> brcmfmac: brcmf_sdio_chip_ >>>>>>>>> drivestrengthinit: No SDIO Drive strength >>>>>>>>> init done for chip 4335 rev 1 pmurev 18 >>>>>>>>> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 >>>>>>>>> 2013 >>>>>>>>> 20:36:01 version 6.30.171.24.20 (B0 Station/P2P) >>>>>>>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23 <---- >>>>>>>>> error >>>>>>>>> message >>>>>>>>> >>>>>>>>> I'm using yocto rootfs, seems rfkill is always enabled by default. >>>>>>>>> I could try another rootfs without rfkill. >>>>>>>>> But i don't think rfkill should block WiFi driver to work properly. >>>>>>>>> >>>>>>>> >>>>>>>> I tried another rootfs without rfkill, met the same issue when doing >>>>>>>> ifconfig wlan0 up, just like 'rfkill unblock wlan'. >>>>>>>> >>>>>>>> root@freescale ~$ mmc0: mmc_rescan_try_freq: trying to init card at >>>>>>>> 400000 >>>>>>>> Hz >>>>>>>> mmc0: queuing unknown CIS tuple 0x91 (3 bytes) >>>>>>>> mmc0: new high speed SDIO card at address 0001 >>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>> 0xffffffac >>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>> 0xffffffac >>>>>>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: >>>>>>>> 0xffffffac >>>>>>>> brcmfmac: brcmf_sdio_regrw_helper: failed with -84 >>>>>>>> brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO Drive strength >>>>>>>> init done for chip 4335 rev 1 pmurev 18 >>>>>>>> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 2013 >>>>>>>> 20:36:01 version 6.30.171.24.20 (B0 Station/P2P) >>>>>>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23 >>>>>>>> >>>>>>>> root@freescale ~$ >>>>>>>> root@freescale ~$ >>>>>>>> root@freescale ~$ ifconfig -a >>>>>>>> ...... >>>>>>>> >>>>>>>> wlan0 Link encap:Ethernet HWaddr 00:90:4C:C5:12:38 >>>>>>>> BROADCAST MULTICAST MTU:1500 Metric:1 >>>>>>>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >>>>>>>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >>>>>>>> collisions:0 txqueuelen:1000 >>>>>>>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) >>>>>>>> >>>>>>>> root@freescale ~$ ifconfig wlan0 up >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout >>>>>>>> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists >>>>>>>> brcmfmac: brcmf_add_if: ignore IF event >>>>>>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110 >>>>>>>> >>>>>>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23 >>>>>>>> root@freescale ~$ >>>>>>>> root@freescale ~$ >>>>>>>> root@freescale ~$ brcmfmac: brcmf_sdioh_request_byte: Failed to >>>>>>>> write >>>>>>>> byte F1:@0x1001f=01, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> >>>>>>>> root@freescale ~$ brcmfmac: brcmf_sdioh_request_byte: Failed to >>>>>>>> write >>>>>>>> byte F1:@0x1001f=01, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte >>>>>>>> F1:@0x1001f=01, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte >>>>>>>> F1:@0x1001f=ff, Err: -110 >>>>>>>> >>>>>>>> I looked into a bit more about the error and found there's CMD >>>>>>>> timeout >>>>>>>> on the bus during SDIO >>>>>>>> command transfer. >>>>>>>> --------------------------------------- >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 19 00 00 0c 00 35 00 00 >>>>>>>> ........5.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> mmc0: starting CMD52 arg 92001400 flags 00000195 >>>>>>>> sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00010000 >>>>>>>> mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000 >>>>>>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte >>>>>>>> F1:@0x1000a=00, Err: -110 >>>>>>>> ------------------------------------------ >>>>>>>> I'm not sure how this happened, whether caused by host side or wifi >>>>>>>> driver >>>>>>>> side. >>>>>>>> But for the host, i tried this host driver with another WiFi >>>>>>>> card(Atheros AR6103) with same kernel, >>>>>>>> and it worked well. So the host driver seems more like ok to me. >>>>>>>> >>>>>>>> Since i'm not familar with the WiFi driver, i wonder if you could >>>>>>>> provide suggestion >>>>>>>> from WiFi driver layer to see what the issue could be. >>>>>>>> >>>>>>>> Below is the detailed log when run 'ifconfig wlan0 up' >>>>>>>> >>>>>>>> root@freescale ~$ ifconfig wlan0 up >>>>>>>> brcmfmac: brcmf_netdev_open Enter, idx=0 >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 2f 00 d0 ff 10 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> /............... >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_checkdied firmware not built with -assert >>>>>>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110 >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 27 00 d8 ff 12 00 00 0c 00 26 00 00 >>>>>>>> '........&.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 28 00 d7 ff 11 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> (............... >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 >>>>>>>> ............ >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 13 00 00 0c 00 32 00 00 >>>>>>>> ........2.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 28 00 d7 ff 12 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> (............... >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 10 00 ef ff 14 83 0f 0c 00 32 00 00 >>>>>>>> .........2.. >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_fws_hdrpull enter: ifidx 0, skblen 88, sig 8 >>>>>>>> brcmfmac: brcmf_fws_hdrpull tlv type=TRANS_ID (18), len=6 (6) >>>>>>>> brcmfmac: brcmf_fws_hdrpull enter: ifidx 0, skblen 87, sig 8 >>>>>>>> brcmfmac: brcmf_fws_hdrpull tlv type=TRANS_ID (18), len=6 (6) >>>>>>>> brcmfmac: brcmf_fws_notify_credit_map enter: credits >>>>>>>> 09:27:12:09:09:02 >>>>>>>> brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0 >>>>>>>> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists >>>>>>>> brcmfmac: brcmf_add_if: ignore IF event >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 17 00 00 0c 00 33 00 00 >>>>>>>> ........3.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 28 00 d7 ff 13 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> (............... >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 >>>>>>>> ............ >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 18 00 00 0c 00 34 00 00 >>>>>>>> ........4.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 28 00 d7 ff 14 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> (............... >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 >>>>>>>> ............ >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 >>>>>>>> ............ >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 19 00 00 0c 00 35 00 00 >>>>>>>> ........5.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmutil: TxHdr: >>>>>>>> 00000000: 28 00 d7 ff 15 00 00 14 00 00 00 00 00 00 00 00 >>>>>>>> (............... >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 >>>>>>>> ............ >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_dpc Enter >>>>>>>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>>>>>>> brcmfmac: brcmf_sdbrcm_isr Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>>>>>>> brcmfmac: brcmf_sdio_readframes Enter >>>>>>>> brcmutil: RxHdr: >>>>>>>> 00000000: 20 00 df ff 1a 00 00 0c 00 36 00 00 >>>>>>>> ........6.. >>>>>>>> brcmfmac: brcmf_sdbrcm_read_control Enter >>>>>>>> brcmfmac: brcmf_config_dongle power save set to enabled >>>>>>>> brcmfmac: brcmf_dongle_roam Internal Roaming = On >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> It seem this is the last command being sent. Could you provide file >>>>>>> contents >>>>>>> in /sys/kernel/debug/brcmfmac/mmc*/ >>>>>>> >>>>>>> Not sure if Yocto mounts debugfs on /sys/kernel/debug. Otherwise >>>>>>> you can >>>>>>> do: >>>>>>> >>>>>>> # mkdir /tmp/debugfs >>>>>>> # mount -t debugfs none /tmp/debugfs >>>>>>> >>>>>> >>>>>> Please see below: >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# ls >>>>>> counters forensics fws_stats >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# ls -l >>>>>> total 0 >>>>>> -r--r--r-- 1 root root 0 Sep 6 23:21 counters >>>>>> -r--r--r-- 1 root root 0 Sep 6 23:21 forensics >>>>>> -r--r--r-- 1 root root 0 Sep 6 23:21 fws_stats >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# cat counters >>>>>> intrcount: 19 >>>>>> lastintrs: 0 >>>>>> pollcnt: 0 >>>>>> regfails: 0 >>>>>> tx_sderrs: 0 >>>>>> fcqueued: 0 >>>>>> rxrtx: 0 >>>>>> rx_toolong: 0 >>>>>> rxc_errors: 0 >>>>>> rx_hdrfail: 0 >>>>>> rx_badhdr: 0 >>>>>> rx_badseq: 0 >>>>>> fc_rcvd: 0 >>>>>> fc_xoff: 0 >>>>>> fc_xon: 0 >>>>>> rxglomfail: 0 >>>>>> rxglomframes: 0 >>>>>> rxglompkts: 0 >>>>>> f2rxhdrs: 36 >>>>>> f2rxdata: 3 >>>>>> f2txdata: 0 >>>>>> f1regdata: 42 >>>>>> tickcnt: 53 >>>>>> tx_ctlerrs: 0 >>>>>> tx_ctlpkts: 17 >>>>>> rx_ctlerrs: 0 >>>>>> rx_ctlpkts: 17 >>>>>> rx_readahead: 0 >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# cat forensics >>>>>> >>>>>> RTE (USB-SDIO-CDC) 6.30.171.24.20 (B0 Station/P2P) on BCM4335 r1 @ >>>>>> 37.4/161.3/161.3MHz >>>>>> 000000.011 sdpcmdcdc0: Broadcom SDPCMD CDC driver >>>>>> 000000.018 reclaim section 0: Returned 42772 bytes to the heap >>>>>> 000000.061 wl0: Broadcom BCM4335 802.11 Wireless Controller >>>>>> 6.30.171.24.20 (B0 Station/P2P) >>>>>> 000000.070 reclaim section 1: Returned 62128 bytes to the heap >>>>>> 000000.209 wl0: wlc_enable_probe_req: state down, deferring setting of >>>>>> host flags >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# ring setting of >>>>>> host flags >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# cat fws_stats >>>>>> header_pulls: 0 >>>>>> header_only_pkt: 0 >>>>>> tlv_parse_failed: 0 >>>>>> tlv_invalid_type: 0 >>>>>> mac_update_fails: 0 >>>>>> ps_update_fails: 0 >>>>>> if_update_fails: 0 >>>>>> pkt2bus: 0 >>>>>> generic_error: 0 >>>>>> rollback_success: 0 >>>>>> rollback_failed: 0 >>>>>> delayq_full: 0 >>>>>> supprq_full: 0 >>>>>> txs_indicate: 0 >>>>>> txs_discard: 0 >>>>>> txs_suppr_core: 0 >>>>>> txs_suppr_ps: 0 >>>>>> txs_tossed: 0 >>>>>> txs_host_tossed: 0 >>>>>> bus_flow_block: 0 >>>>>> fws_flow_block: 0 >>>>>> send_pkts: BK:0 BE:0 VO:0 VI:0 BCMC:0 >>>>>> requested_sent: BK:0 BE:0 VO:0 VI:0 BCMC:0 >>>>>> root@imx6slevk:/sys/kernel/debug/brcmfmac/mmc0:0001:1# >>>>> >>>>> >>>>> >>>>> Nothing exciting there either. Let's take a step back. The rfkill >>>>> seems an >>>>> issue, but I first would like to know if you can get connectivity. >>>>> Does the >>>>> 'ifconfig wlan0 up' complete at all and is it successful. >>>>> >>>> >>>> The second rootfs i tried does not have rfkill. >>>> But shows the similar issue with 'ifconfig wlan0 up'. >>>> >>>>> As you noticed during the up sequence there is a timeout. I would >>>>> like to >>>>> know what command that is. Could you run it again with debug=1546? >>>>> >>>> >>>> Will run the test now. >>>> Thanks for the help. >>>> >>> >>> Please see blow log: >>> Note: there's no rfkill in this rootfs. >>> >>> root@freescale ~$ ifconfgi ig wlan0 >>> brcmfmac: brcmf_netdev_get_stats Enter, idx=0 >>> wlan0 Link encap:Ethernet HWaddr 00:90:4C:C5:12:38 >>> BROADCAST MULTICAST MTU:1500 Metric:1 >>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >>> collisions:0 txqueuelen:1000 >>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) >>> >>> root@freescale ~$ ifconfig wlan0 up >>> brcmfmac: brcmf_netdev_open Enter, idx=0 >>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: TxHdr: >>> 00000000: 2f 00 d0 ff 10 00 00 14 00 00 00 00 00 00 00 00 >>> /............... >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> >>> <--------- I noticed a few seconds stall here >>> >>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_checkdied firmware not built with -assert >>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110 >>> brcmfmac: brcmf_fil_iovar_data_get name=toe_ol, len=4 >>> brcmutil: data >>> 00000000: 28 aa 49 80 (.I. >>> >>> brcmutil: RxHdr: >>> 00000000: 27 00 d8 ff 12 00 00 0c 00 26 00 00 '........&.. >>> brcmfmac: brcmf_sdbrcm_read_control Enter >>> brcmfmac: brcmf_fil_cmd_int_set cmd=2, value=0 >>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: TxHdr: >>> 00000000: 28 00 d7 ff 11 00 00 14 00 00 00 00 00 00 00 00 >>> (............... >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmutil: RxHdr: >>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 ............ >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmutil: RxHdr: >>> 00000000: 20 00 df ff 13 00 00 0c 00 32 00 00 ........2.. >>> brcmfmac: brcmf_sdbrcm_read_control Enter >>> >>> brcmfmac: brcmf_fil_cmd_int_set cmd=185, value=40 >>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: TxHdr: >>> 00000000: 28 00 d7 ff 12 00 00 14 00 00 00 00 00 00 00 00 >>> (............... >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmutil: RxHdr: >>> 00000000: 10 00 ef ff 14 83 0f 0c 00 32 00 00 .........2.. >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_fws_hdrpull enter: ifidx 0, skblen 88, sig 8 >>> brcmfmac: brcmf_fws_hdrpull tlv type=TRANS_ID (18), len=6 (6) >>> brcmfmac: brcmf_fws_hdrpull enter: ifidx 0, skblen 87, sig 8 >>> brcmfmac: brcmf_fws_hdrpull tlv type=TRANS_ID (18), len=6 (6) >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_fweh_event_worker event FIFO_CREDIT_MAP (74) ifidx 0 >>> bsscfg 0 addr 80:80:80:80:80:80 >>> brcmfmac: brcmf_fweh_event_worker version 2 flags 24 status 0 reason 0 >>> brcmutil: event payload, len=6 >>> 00000000: 09 27 12 09 09 02 .'.... >>> brcmfmac: brcmf_fws_notify_credit_map enter: credits 09:27:12:09:09:02 >>> brcmfmac: brcmf_fweh_event_worker event IF (54) ifidx 0 bsscfg 0 addr >>> 00:90:4c:c5:12:38 >>> brcmfmac: brcmf_fweh_event_worker version 2 flags 0 status 0 reason 0 >>> brcmutil: event payload, len=5 >>> 00000000: 00 01 00 00 00 ..... >>> brcmfmac: brcmf_fweh_handle_if_event action: 1 idx: 0 bsscfg: 0 flags: >>> 0 role: 0 >>> brcmfmac: brcmf_fweh_handle_if_event adding wl0 (00:90:4c:c5:12:38) >>> brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0 >>> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists >>> brcmfmac: brcmf_add_if: ignore IF event >>> brcmutil: RxHdr: >>> 00000000: 20 00 df ff 17 00 00 0c 00 33 00 00 ........3.. >>> brcmfmac: brcmf_sdbrcm_read_control Enter >>> brcmfmac: brcmf_fil_cmd_int_set cmd=187, value=40 >>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmutil: RxHdr: >>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 ............ >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: TxHdr: >>> 00000000: 28 00 d7 ff 13 00 00 14 00 00 00 00 00 00 00 00 >>> (............... >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmutil: RxHdr: >>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 ............ >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> ....... >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_checkdied firmware not built with -assert >>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110 >>> brcmfmac: brcmf_dongle_scantime: Scan unassoc time error (-110) >>> brcmutil: RxHdr: >>> 00000000: 20 00 df ff 18 00 00 0c 00 34 00 00 ........4.. >>> brcmfmac: brcmf_sdbrcm_read_control Enter >>> brcmfmac: brcmf_fil_cmd_int_set cmd=86, value=2 >>> brcmfmac: brcmf_sdbrcm_bus_txctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmutil: RxHdr: >>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 ............ >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: TxHdr: >>> 00000000: 28 00 d7 ff 14 00 00 14 00 00 00 00 00 00 00 00 >>> (............... >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> ................................. >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_checkdied firmware not built with -assert >>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110 >>> brcmfmac: brcmf_netdev_open: failed to bring up cfg80211 >>> brcmutil: RxHdr: >>> 00000000: 20 00 df ff 19 00 00 0c 00 35 00 00 ........5.. >>> brcmfmac: brcmf_sdbrcm_read_control Enter >>> ifconfig: SIOCSIFFLAGS: Operationbrcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> not permitted >>> root@freescale ~$ brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110 >>> >>> brcmfmac: brcmf_sdbrcm_rxfail: abort command, terminate frame, send NAK >>> root@freescale ~$ >>> root@freescale ~$ brcmfmac: brcmf_sdioh_request_word: Failed to write >>> word, Err: 0xffffff92 >>> >>> root@freescale ~$ >>> root@freescale ~$ >>> root@freescale ~$ brcmfmac: brcmf_sdioh_request_word: Failed to write >>> word, Err: 0xffffff92 >>> >>> root@freescale ~$ brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>> brcmfmac: brcmf_sdio_readframes Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmutil: RxHdr: >>> 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 ............ >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte >>> F1:@0x1001f=01, Err: -110 >>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte >>> F1:@0x1001f=01, Err: -110 >>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte >>> F1:@0x1001f=01, Err: -110 >>> brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered >>> brcmfmac: brcmf_sdbrcm_isr Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_dpc Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_kso_control Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >>> brcmfmac: brcmf_sdbrcm_bus_sleep Enter >> >> >> One more question. I looked up the board you mentioined. What I found >> has a dedicated SDIO slot for Wifi. Are you using that and do you know >> if that is an SDIO3.0 or not? Earlier in the thread i found this logging: >> >> > root@imx6slevk:~# mmc0: queuing unknown CIS tuple 0x91 (3 bytes) >> > mmc0: new high speed SDIO card at address 0001 >> >> I think it means it is a SDIO2, but I like to be sure. > > > And just for the hack of it. Can you send your .config and a full kernel log > (as attachments). > > Please see attachment. Regards Dong Aisheng >> Gr. AvS >> >>> Regards >>> Dong Aisheng >>> >> > >
U-Boot 2013.04 (Sep 06 2013 - 12:07:05) CPU: Freescale i.MX6SL rev1.2 at 396 MHz CPU: Temperature 43 C, calibration data: 0x5955125f Reset cause: POR Board: MX6SLEVK I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0 In: serial Out: serial Err: serial Found PFUZE100! deviceid=10,revid=11 Net: FEC [PRIME] Normal Boot Hit any key to stop autoboot: 3 2 1 0 Booting from net ... Using FEC device TFTP from server 10.192.224.44; our IP address is 10.192.242.153; sending through gateway 10.192.242.254 Filename 'zImage.as.imx'. Load address: 0x80800000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################################################### 881.8 KiB/s done Bytes transferred = 4601736 (463788 hex) Using FEC device TFTP from server 10.192.224.44; our IP address is 10.192.242.153; sending through gateway 10.192.242.254 Filename 'imx6sl-evk.dtb'. Load address: 0x82800000 Loading: *#### 655.3 KiB/s done Bytes transferred = 16118 (3ef6 hex) ## Flattened Device Tree blob at 82800000 Booting using the fdt blob at 0x82800000 Using Device Tree in place at 82800000, end 82806ef5 Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 3.12.0-rc3+ (b29396@shlinux2) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #240 SMP Tue Nov 5 16:42:05 CST 2013 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Freescale i.MX6 SoloLite (Device Tree), model: Freescale i.MX6 SoloLite EVK Board Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 7 pages/cpu @81098000 s7488 r8192 d12992 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=10.192.224.44:/data/rootfs_home/b29396/rootfs-mx6x-up,v3,tcp brcmfmac.debug=0x1546 PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1030740K/1048576K available (5919K kernel code, 287K rwdata, 1808K rodata, 323K init, 375K bss, 17836K reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc0800000 - 0xff000000 (1000 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80793f24 (7728 kB) .init : 0x80794000 - 0x807e4d40 ( 324 kB) .data : 0x807e6000 - 0x8082dc60 ( 288 kB) .bss : 0x8082dc68 - 0x8088baec ( 376 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. NR_IRQS:16 nr_irqs:16 16 L310 cache controller enabled l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32030000, Cache size: 256 kB sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms Console: colour dummy device 80x30 Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x805ce070 - 0x805ce0e0 Brought up 1 CPUs SMP: Total of 1 processors activated. CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 pinctrl core: initialized pinctrl subsystem regulator-dummy: no parameters NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered vdd1p1: 800 <--> 1375 mV at 1100 mV vdd3p0: 2800 <--> 3150 mV at 3000 mV vdd2p5: 2100 <--> 2850 mV at 2500 mV cpu: 725 <--> 1450 mV at 1100 mV vddpu: 725 <--> 1450 mV vddsoc: 725 <--> 1450 mV at 1200 mV hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. imx6sl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Linux video capture interface: v2.00 pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx> PTP clock support registered Advanced Linux Sound Architecture Driver Initialized. Switched to clocksource mxc_timer1 cfg80211: Calling CRDA to update world regulatory domain NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP: reno registered UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.22) msgmni has been set to 2013 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) imx-sdma 20ec000.sdma: initialized Serial: IMX driver 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX console [ttymxc0] enabled serial: Freescale lpuart driver [drm] Initialized drm 1.1.0 20060810 brd: module loaded loop: module loaded libphy: fec_enet_mii_bus: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-mxc: Freescale On-Chip EHCI Host driver usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0 i2c /dev entries driver imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: no vqmmc regulator found mmc0: no vmmc regulator found mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA mmc1: no vqmmc regulator found mmc1: no vmmc regulator found mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA mmc2: no vqmmc regulator found mmc2: no vmmc regulator found mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA usbcore: registered new interface driver usbhid usbhid: USB HID core driver [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [drm] No driver support for vblank timestamp query. [drm] Initialized imx-drm 1.0.0 20120507 on minor 0 TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Key type dns_resolver registered snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0) imx-drm imx-drm: No connectors reported connected with modes [drm] Cannot find any crtc or sizes - going 1024x768 Console: switching to colour frame buffer device 128x48 imx-drm imx-drm: fb0: frame buffer device imx-drm imx-drm: registered panic notifier mmc1: new high speed SDHC card at address aaaa fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1) mmcblk0: mmc1:aaaa SU08G 7.40 GiB IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready mmcblk0: p1 p2 libphy: 2188000.ethernet:00 - Link is Up - 100/Full IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sending DHCP requests ., OK IP-Config: Got DHCP answer from 10.192.242.252, my address is 10.192.242.69 IP-Config: Complete: device=eth0, hwaddr=00:04:9f:02:76:e5, ipaddr=10.192.242.69, mask=255.255.255.0, gw=10.192.242.254 host=10.192.242.69, domain=ap.freescale.net, nis-domain=(none) bootserver=0.0.0.0, rootserver=10.192.224.44, rootpath= nameserver0=10.192.130.201, nameserver1=10.211.0.3, nameserver2=10.196.51.200 ALSA device list: No soundcards found. VFS: Mounted root (nfs filesystem) readonly on device 0:11. devtmpfs: mounted Freeing unused kernel memory: 320K (80794000 - 807e4000) starting pid 50, tty '': '/etc/rc.d/rcS' Mounting /proc and /sys Starting the hotplug events dispatcher udevd Synthesizing initial hotplug evenudevd (59): /proc/59/oom_adj is deprecated, please use /proc/59/oom_score_adj instead. ts imx-sdma 20ec000.sdma: firmware not found Setting the hostname to freescale Mounting filesystems mount: mounting usbfs on /proc/bus/usb failed: No such file or directory Generating keys for the dropbear ssh server: /etc/rc.d/init.d/dropbear: line 24: dropbearkey: not found Starting the dropbear ssh server: /usr/sbin/dropbear: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory gtk: creating gdk-pixbuf.loaders pango: creating module list starting pid 532, tty '': '/etc/rc.d/rc_mxc.S' arm-none-linux-gnueabi-gcc (4.4.4_09.06.2010) 4.4.4 root filesystem built on Sun, 18 Sep 2011 05:49:56 -0500 Freescale Semiconductor, Inc. freescale login: root login[534]: root login on 'ttymxc0' BusyBox v1.18.5 () built-in shell (ash) Enter 'help' for a list of built-in commands. root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ mmc0: queuing unknown CIS tuple 0x91 (3 bytes) mmc0: new high speed SDIO card at address 0001 brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac brcmfmac: brcmf_sdio_regrw_helper: failed with -84 brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO Drive strength init done for chip 4335 rev 1 pmurev 18 brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P) brcmfmac: brcmf_fil_cmd_data: Failed err=-23 root@freescale ~$ root@freescale ~$ root@freescale ~$ wlanifonconfig -wlan0 wlan0 Link encap:Ethernet HWaddr 00:90:4C:C5:12:38 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@freescale ~$ root@freescale ~$ root@freescale ~$ ifconfig wlan0 up brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists brcmfmac: brcmf_add_if: ignore IF event brcmfmac: brcmf_fil_cmd_data: Failed err=-110 brcmfmac: brcmf_fil_cmd_data: Failed err=-23 root@freescale ~$ root@freescale ~$ brcmfmac: brcmf_sdioh_request_byte: Failed to write byte F1:@0x1001f=01, Err: -110 brcmfmac: brcmf_sdioh_request_byte: Failed to read byte F1:@0x1001f=ff, Err: -110 brcmfmac: brcmf_sdioh_request_byte: Failed to read byte F1:@0x1001f=ff, Err: -110 root@freescale ~$ root@freescale ~$ root@freescale ~$ brcmfmac: brcmf_sdioh_request_byte: Failed to write byte F1:@0x1001f=01, Err: -110 brcmfmac: brcmf_sdioh_request_byte: Failed to read byte F1:@0x1001f=ff, Err: -110 brcmfmac: brcmf_sdioh_request_byte: Failed to read byte F1:@0x1001f=ff, Err: -110 root@freescale ~$ root@freescale ~$ root@freescale ~$ root@freescale ~$ U-Boot 2013.04 (Sep 06 2013 - 12:07:05) CPU: Freescale i.MX6SL rev1.2 at 396 MHz CPU: Temperature 42 C, calibration data: 0x5955125f Reset cause: POR Board: MX6SLEVK I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0 In: serial Out: serial Err: serial Found PFUZE100! deviceid=10,revid=11 Net: FEC [PRIME] Normal Boot Hit any key to stop autoboot: 3 0 => => => => => =>
Attachment:
.config
Description: Binary data