imx6q with wf111 wifi module

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

imx6q with wf111 wifi module

1,830 次查看
aydogmus
Contributor II

Hi,

I am trying to work with wf111 silabs on imx6q. I have made some changes over dts file and kernel configs. I also added wf111-linux-driver_5.2.2-r2_armv7-a to yocto, it compiles module into /lib/modules/4.1.36-fslc\+g2fa70a9/extra/unifi_sdio.ko and it does not auto load.

my kconfig changes are:


CONFIG_BT_ATH3K=y
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
+CONFIG_WIRELESS_EXT=y
+CONFIG_WEXT_CORE=y
+CONFIG_WEXT_PROC=y
+CONFIG_WEXT_SPY=y
+CONFIG_WEXT_PRIV=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
@@ -832,8 +837,12 @@
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
-# CONFIG_CFG80211_WEXT is not set
-# CONFIG_LIB80211 is not set
+CONFIG_CFG80211_WEXT=y
+CONFIG_LIB80211=y
+CONFIG_LIB80211_CRYPT_WEP=y
+CONFIG_LIB80211_CRYPT_CCMP=y
+CONFIG_LIB80211_CRYPT_TKIP=y
+# CONFIG_LIB80211_DEBUG is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
@@ -1348,7 +1357,8 @@
# CONFIG_DHD_USE_SCHED_SCAN is not set
# CONFIG_BRCMSMAC is not set
# CONFIG_BRCMFMAC is not set
-# CONFIG_HOSTAP is not set
+CONFIG_HOSTAP=y
+# CONFIG_HOSTAP_FIRMWARE is not set
# CONFIG_LIBERTAS is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set

and my device tree changes are pinctls and :

- bcmdhd_wlan_0: bcmdhd_wlan@0 {
- compatible = "android,bcmdhd_wlan";
+ wf111: wf111@0 {
+ compatible = "unifi_sdio,unifi";
wlreg_on-supply = <&wlreg_on>;
+ status = "okay";
};
}; 

I am not sure about compatible keywords.

end of these operations, I get dmesg entries :

usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
ata1: SATA link down (SStatus 0 SControl 300)
ahci-imx 2200000.sata: no device found, disabling link.
ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO
sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
sdhci-esdhc-imx 219c000.usdhc: assigned as wifi host
sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found

and ifconfig wlan0 gives no interface found error.

标签 (1)
标记 (3)
0 项奖励
2 回复数

770 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Abdulaziz Aydoğmuş,

I think the following thread may be of help since it shows how to add the driver using a Yocto layer with the driver available at a git repository.

https://community.nxp.com/message/869708

Regards,

0 项奖励

770 次查看
aydogmus
Contributor II

I have already added driver to my image, I think my problem is more related to the device tree. Because part 8.4 in https://www.silabs.com/documents/login/application-notes/AN996.pdf document  describes my stuation.

0 项奖励