On Fri, Sep 20, 2013 at 12:07 PM, Darren Hart <dvh...@linux.intel.com> wrote: > On Wed, 2013-08-28 at 12:06 +0200, Koen Kooi wrote: >> When building external modules like mt7601 CONFIG_WIRELESS_EXT needs to be >> enabled. >> >> Also enable all wifi modules that can be interfaces with the minnowboard >> (USB, PCIe, SDIO, SPI). > > Bruce, we maintained media.cfg in recipe-space as it was a very large > collection of drivers. But for things like wifi, I'm thinking this is > more appropriate as an internal fragment (linux-yocto/meta). Would you > agree? >
Agreed, since they are generally useful to other boards as well, and it'll be widely available this way. > It also seems the wext.cfg from koen should be standard if we have wifi. Yep, since we've been working on and off to get the right mix of options, having a working reference in the tree is a good thing. Bruce > > Thoughts? > > If so, I'll roll these into linux-yocto patches instead of meta-minnow > patches. > > Darren > >> >> Signed-off-by: Koen Kooi <k...@dominion.thruhere.net> >> --- >> recipes-kernel/linux/linux-yocto/wext.cfg | 15 ++ >> .../linux/linux-yocto/wifi-driver-modules.cfg | 152 >> +++++++++++++++++++++ >> recipes-kernel/linux/linux-yocto_3.8.bbappend | 5 +- >> 3 files changed, 171 insertions(+), 1 deletion(-) >> create mode 100644 recipes-kernel/linux/linux-yocto/wext.cfg >> create mode 100644 recipes-kernel/linux/linux-yocto/wifi-driver-modules.cfg >> >> diff --git a/recipes-kernel/linux/linux-yocto/wext.cfg >> b/recipes-kernel/linux/linux-yocto/wext.cfg >> new file mode 100644 >> index 0000000..b5dfc7f >> --- /dev/null >> +++ b/recipes-kernel/linux/linux-yocto/wext.cfg >> @@ -0,0 +1,15 @@ >> +CONFIG_WEXT_CORE=y >> +CONFIG_WEXT_PROC=y >> +CONFIG_CFG80211=m >> +CONFIG_CFG80211_DEFAULT_PS=y >> +CONFIG_CFG80211_WEXT=y >> +CONFIG_MAC80211=m >> +CONFIG_MAC80211_HAS_RC=y >> +CONFIG_MAC80211_RC_PID=y >> +CONFIG_MAC80211_RC_MINSTREL=y >> +CONFIG_MAC80211_RC_MINSTREL_HT=y >> +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y >> +CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" >> +CONFIG_MAC80211_MESH=y >> +CONFIG_MAC80211_LEDS=y >> +CONFIG_AVERAGE=y >> diff --git a/recipes-kernel/linux/linux-yocto/wifi-driver-modules.cfg >> b/recipes-kernel/linux/linux-yocto/wifi-driver-modules.cfg >> new file mode 100644 >> index 0000000..5a7d1ef >> --- /dev/null >> +++ b/recipes-kernel/linux/linux-yocto/wifi-driver-modules.cfg >> @@ -0,0 +1,152 @@ >> +++ .config 2013-08-28 11:58:16.976057205 +0200 >> +CONFIG_WIRELESS_EXT=y >> +CONFIG_WEXT_SPY=y >> +CONFIG_WEXT_PRIV=y >> +CONFIG_LIB80211=m >> +CONFIG_LIB80211_CRYPT_WEP=m >> +CONFIG_LIB80211_CRYPT_CCMP=m >> +CONFIG_LIB80211_CRYPT_TKIP=m >> +CONFIG_EEPROM_93CX6=m >> +CONFIG_USB_NET_RNDIS_HOST=m >> +CONFIG_LIBERTAS_THINFIRM=m >> +CONFIG_LIBERTAS_THINFIRM_USB=m >> +CONFIG_AIRO=m >> +CONFIG_ATMEL=m >> +CONFIG_PCI_ATMEL=m >> +CONFIG_AT76C50X_USB=m >> +CONFIG_PRISM54=m >> +CONFIG_USB_ZD1201=m >> +CONFIG_USB_NET_RNDIS_WLAN=m >> +CONFIG_RTL8180=m >> +CONFIG_RTL8187=m >> +CONFIG_RTL8187_LEDS=y >> +CONFIG_ADM8211=m >> +CONFIG_MAC80211_HWSIM=m >> +CONFIG_MWL8K=m >> +CONFIG_ATH_COMMON=m >> +CONFIG_ATH_CARDS=m >> +CONFIG_ATH5K=m >> +CONFIG_ATH5K_PCI=y >> +CONFIG_ATH9K_HW=m >> +CONFIG_ATH9K_COMMON=m >> +CONFIG_ATH9K_BTCOEX_SUPPORT=y >> +CONFIG_ATH9K=m >> +CONFIG_ATH9K_PCI=y >> +CONFIG_ATH9K_RATE_CONTROL=y >> +CONFIG_ATH9K_HTC=m >> +CONFIG_CARL9170=m >> +CONFIG_CARL9170_LEDS=y >> +CONFIG_CARL9170_WPC=y >> +CONFIG_ATH6KL=m >> +CONFIG_ATH6KL_USB=m >> +CONFIG_AR5523=m >> +CONFIG_WIL6210=m >> +CONFIG_WIL6210_ISR_COR=y >> +CONFIG_B43=m >> +CONFIG_B43_SSB=y >> +CONFIG_B43_PCI_AUTOSELECT=y >> +CONFIG_B43_PCICORE_AUTOSELECT=y >> +CONFIG_B43_PIO=y >> +CONFIG_B43_PHY_N=y >> +CONFIG_B43_PHY_LP=y >> +CONFIG_B43_PHY_HT=y >> +CONFIG_B43_LEDS=y >> +CONFIG_B43_HWRNG=y >> +CONFIG_BRCMUTIL=m >> +CONFIG_BRCMFMAC=m >> +CONFIG_BRCMFMAC_SDIO=y >> +CONFIG_BRCMFMAC_USB=y >> +CONFIG_HOSTAP=m >> +CONFIG_HOSTAP_FIRMWARE=y >> +CONFIG_HOSTAP_PLX=m >> +CONFIG_HOSTAP_PCI=m >> +CONFIG_IPW2100=m >> +CONFIG_IPW2100_MONITOR=y >> +CONFIG_IPW2200=m >> +CONFIG_IPW2200_MONITOR=y >> +CONFIG_IPW2200_RADIOTAP=y >> +CONFIG_IPW2200_PROMISCUOUS=y >> +CONFIG_IPW2200_QOS=y >> +CONFIG_LIBIPW=m >> +CONFIG_IWLWIFI=m >> +CONFIG_IWLDVM=m >> + >> +CONFIG_IWLWIFI_P2P=y >> +CONFIG_IWLEGACY=m >> +CONFIG_IWL4965=m >> +CONFIG_IWL3945=m >> + >> +CONFIG_LIBERTAS=m >> +CONFIG_LIBERTAS_USB=m >> +CONFIG_LIBERTAS_SDIO=m >> +CONFIG_LIBERTAS_SPI=m >> +CONFIG_LIBERTAS_MESH=y >> +CONFIG_HERMES=m >> +CONFIG_HERMES_PRISM=y >> +CONFIG_HERMES_CACHE_FW_ON_INIT=y >> +CONFIG_PLX_HERMES=m >> +CONFIG_TMD_HERMES=m >> +CONFIG_NORTEL_HERMES=m >> +CONFIG_PCI_HERMES=m >> +CONFIG_ORINOCO_USB=m >> +CONFIG_P54_COMMON=m >> +CONFIG_P54_USB=m >> +CONFIG_P54_PCI=m >> +CONFIG_P54_SPI=m >> +CONFIG_P54_SPI_DEFAULT_EEPROM=y >> +CONFIG_P54_LEDS=y >> +CONFIG_RT2X00=m >> +CONFIG_RT2400PCI=m >> +CONFIG_RT2500PCI=m >> +CONFIG_RT61PCI=m >> +CONFIG_RT2800PCI=m >> +CONFIG_RT2800PCI_RT33XX=y >> +CONFIG_RT2800PCI_RT35XX=y >> +CONFIG_RT2800PCI_RT53XX=y >> +CONFIG_RT2800PCI_RT3290=y >> +CONFIG_RT2500USB=m >> +CONFIG_RT73USB=m >> +CONFIG_RT2800USB=m >> +CONFIG_RT2800USB_RT33XX=y >> +CONFIG_RT2800USB_RT35XX=y >> +CONFIG_RT2800USB_RT53XX=y >> +CONFIG_RT2800USB_UNKNOWN=y >> +CONFIG_RT2800_LIB=m >> +CONFIG_RT2X00_LIB_PCI=m >> +CONFIG_RT2X00_LIB_USB=m >> +CONFIG_RT2X00_LIB=m >> +CONFIG_RT2X00_LIB_FIRMWARE=y >> +CONFIG_RT2X00_LIB_CRYPTO=y >> +CONFIG_RT2X00_LIB_LEDS=y >> +CONFIG_RTL8192CE=m >> +CONFIG_RTL8192SE=m >> +CONFIG_RTL8192DE=m >> +CONFIG_RTL8723AE=m >> +CONFIG_RTL8192CU=m >> +CONFIG_RTLWIFI=m >> +CONFIG_RTLWIFI_DEBUG=y >> +CONFIG_RTL8192C_COMMON=m >> +CONFIG_WL_TI=y >> +CONFIG_WL1251=m >> +CONFIG_WL12XX=m >> +CONFIG_WL18XX=m >> +CONFIG_WLCORE=m >> +CONFIG_WLCORE_SPI=m >> +CONFIG_WLCORE_SDIO=m >> +CONFIG_WL12XX_PLATFORM_DATA=y >> +CONFIG_ZD1211RW=m >> +CONFIG_MWIFIEX=m >> +CONFIG_MWIFIEX_SDIO=m >> +CONFIG_MWIFIEX_PCIE=m >> +CONFIG_MWIFIEX_USB=m >> +CONFIG_SSB=m >> +CONFIG_SSB_SPROM=y >> +CONFIG_SSB_BLOCKIO=y >> +CONFIG_SSB_PCIHOST_POSSIBLE=y >> +CONFIG_SSB_PCIHOST=y >> +CONFIG_SSB_B43_PCI_BRIDGE=y >> +CONFIG_SSB_SDIOHOST_POSSIBLE=y >> +CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y >> +CONFIG_SSB_DRIVER_PCICORE=y >> +CONFIG_CRC_ITU_T=m >> +CONFIG_CRC7=m >> diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend >> b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> index a3a9502..544f2f1 100644 >> --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend >> +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> @@ -11,7 +11,10 @@ KERNEL_FEATURES_minnow_append = " >> features/drm-emgd/drm-emgd-1.16 \ >> features/usb-net/usb-net.scc" >> >> SRC_URI_minnow = >> "git://git.yoctoproject.org/linux-yocto-3.8;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-1.16;name=machine,meta,emgd >> \ >> - file://media.cfg" >> + file://media.cfg \ >> + file://wext.cfg \ >> + file://wifi-driver-modules.cfg \ >> +" >> >> SRCREV_machine_pn-linux-yocto_minnow ?= >> "4afed227ab8d84c7eaf222cad85e8232e4ea9cb0" >> SRCREV_meta_pn-linux-yocto_minnow ?= >> "c0851dfb8535635e1e31d4a5146d3f021e30506c" > > -- > Darren Hart > Intel Open Source Technology Center > Yocto Project - Linux Kernel > > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel