Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Sep 2015 10:30 AM by  Jaimesh Mistry
WiFi - missing module wl12xx_sdio (BSP 2.4-4)
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Jaimesh Mistry
New Member
New Member
Posts:6


--
10 Sep 2015 04:40 AM

    I have upgraded from BSP 2.2-2 to 2.4-4.

    In section 4.13.1 of the 'DM37x Linux BSP User Guide (Sept -15)', it indicates that I should run "modprobe wl12xx_sdio" to initialise the WiFi module, which should make the "wlan0" interface available in ifconfig -a. This command can be found in the file /etc/rc.d/init.d/wpa_supplicant, and worked fine in BSP 2.2-4. However, in BSP 2.4-4 this module does not exist and hence wlan0 can not be found. I believe this is due to an upgrade of the wl12xx package.

    In the new BSP, which module should I modprobe/insmod to make the wlan0 interface available?

    Thanks!

    Jaimesh Mistry
    New Member
    New Member
    Posts:6


    --
    10 Sep 2015 05:33 AM
    I have now tested with the Logic PD demo BSP 2.4-4, and found that the wlcore_sdio module must be loaded to show the wlan0 interface. This module is dependent on wlcore.

    However, on my own build of the BSP (using LTIB), the wlcore module fails to load properly. Is anyone else having a similar issue?
    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    10 Sep 2015 09:04 AM
    Jaimesh,

     

    The latest STP (Software Test Plan) shows the steps in section 12 for testing Wireless Ethernet in the Linux BSP 2.4-4. 

    Here is the command for loading the wlcore_sdio driver.

    $ modprobe wlcore_sdio                   

    I have provide the kernel configuration files for both the 2.4-3 and the 2.4-4 demo images below so you can verify the similar changes exist in your kernel configuration file, if you are still seeing an error when attempting to load the wlcore_sdio.

    Below are the kernel config file for the recent demo images.  

    config_2.4-3_demo_image.txt

    config_2.4-4_demo_image.txt

    Hopefully comparing these configuration files to your 1027480_LogicPD_Linux_BSP_2.4-4/config/platform/omap_logic/omap3logic_defconfig.dev will help you determine why you are not able to load the wlcore_sdio module.

    Regards,

    Brad

    Jaimesh Mistry
    New Member
    New Member
    Posts:6


    --
    11 Sep 2015 03:03 AM
    Thanks Brad. Yes, the wlcore_sdio driver is the one I want, and loading this brings up the wlan0 interface on the demo BSP.

    I think I have narrowed down the problem a bit. When I modprobe the wlcore module, it attempts to load a dependency called cfg80211. As part of the setup of cfg80211, it tries to call CRDA to change update the power rules for the regulatory domain. In my BSP, the dmesg output of cfg80211 is cut short and there isn't the message to say that wlcore is loaded.

    Output of cfg80211:

    [ 6170.340618] cfg80211: Calling CRDA for country: US
    [ 6170.346573] cfg80211: Regulatory domain changed to country: US
    [ 6170.346580] cfg80211:  DFS Master region: FCC
    [ 6170.346582] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 6170.346588] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [ 6170.346591] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
    [ 6170.346595] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
    [ 6170.346599] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [ 6170.346602] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

    ******** cgf80211 messages stop here on my BSP, but continue on the demo image.

    There are no telling differences between the kernel configs of the demo and mine. Would it be possible to have a look at the ltib config file for the demo image??

    Jaimesh

    Jaimesh Mistry
    New Member
    New Member
    Posts:6


    --
    11 Sep 2015 03:03 AM
    Thanks Brad. Yes, the wlcore_sdio driver is the one I want, and loading this brings up the wlan0 interface on the demo BSP.

    I think I have narrowed down the problem a bit. When I modprobe the wlcore module, it attempts to load a dependency called cfg80211. As part of the setup of cfg80211, it tries to call CRDA to change update the power rules for the regulatory domain. In my BSP, the dmesg output of cfg80211 is cut short and there isn't the message to say that wlcore is loaded.

    Output of cfg80211:

    [ 6170.340618] cfg80211: Calling CRDA for country: US
    [ 6170.346573] cfg80211: Regulatory domain changed to country: US
    [ 6170.346580] cfg80211:  DFS Master region: FCC
    [ 6170.346582] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 6170.346588] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [ 6170.346591] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
    [ 6170.346595] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
    [ 6170.346599] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [ 6170.346602] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

    ******** cgf80211 messages stop here on my BSP, but continue on the demo image.

    There are no telling differences between the kernel configs of the demo and mine. Would it be possible to have a look at the ltib config file for the demo image??

    Jaimesh

    Jaimesh Mistry
    New Member
    New Member
    Posts:6


    --
    11 Sep 2015 10:30 AM

    Hi Brad,

    It turns out that by setting the root filesystem to read-only, depmod was failing to run (as it wasn't able to modify the modules.dep file). After running depmod, I simply have to modprobe wlcore_sdio This loads all the module dependencies automatically (i.e. wlcore, wl12xx, cfg80211, mac80211, compat) and the wlan0 shows up in ifconfig.

    Thanks for your support on this.

    You are not authorized to post a reply.