This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to add WL12xx driver as part of linux kernel compilation

Hi Experts,

I tried to select the WL12xx driver as the part of linux kernel  during compilation. But I am not provided with that option. Instead it is available as the loadable kernel module. Any means to add it permanently as part of linux image ?

Regards,

Lyf

  • Hi Lyf,

    Use "space" key from keyboard to select the any driver to use as inbuilt (with uImage)

    If you select "M" then it would be module driver whereas if you select "*" then it would be build as inbuilt.

    Ex:

    <M>     Dummy net driver support  (Module)

    <*>     Dummy net driver support  (inbuilt)

  • Hi Titus,

    There is no provision for that. I tried it with xconfig. Either it can be ignored or can be configured as the loadable module. (either "." or blank " ") there is no provision for tick icon.

    Regards,

    Lyf

  • Hi Lyf,

    You need to select "*" for all dependent drivers too then only you able to select the WL12xx driver as inbuilt.

    You can check all the dependent options by clicking "h" option ie help.

    Ex:

    CONFIG_WL1271_WLAN:                                                                                                          │  
      │                                                                                                                              │  
      │ This driver support both the standard Linux Wireless Extensions                                                              │  
      │ and TI's proprietary API, so both the Linux Wireless Tools and this                                                          │  
      │ module support 2.4 GHz 802.11 b/g/n standard                                                                                 │  
      │                                                                                                                              │  
      │ Symbol: WL1271_WLAN [=y]                                                                                                     │  
      │ Type  : tristate                                                                                                             │  
      │ Prompt: WL1271 TI's SDIO based wireless card                                                                                 │  
      │   Defined at drivers/net/wireless/Kconfig:35                                                                                 │  
      │   Depends on: NETDEVICES [=y] && WLAN [=y]                                                                                   │  
      │   Location:                                                                                                                  │  
      │     -> Device Drivers                                                                                                        │  
      │       -> Network device support (NETDEVICES [=y])                                                                            │  
      │         -> Wireless LAN (WLAN [=y])                                                                                          │  
      │   Selects: WIRELESS_EXT [=n] && CRYPTO [=y] && WEXT_SPY [=n] && WEXT_PRIV [=n] 

  • Hi Lyf,

    You can't change the state from module to inbuilt because there are some dependency. You can see them in a .../ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01/drivers/net/wireless/Kconfig file. I understand that you works with "make xconfig". After start the config file you have to change in "Wireless" tree - cfg80211 - wireless configuration API (CFG80211) from module . to inbuilt. Next you have to change Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211) again from module . to inbuilt and the you can change the state in TI wl12xx support (WL12XX) from module to inbuilt.

    BR
    Ivan