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.

Missing WLAN files in latest AM18x EZSDK

Hello.

I am using the latest EZSDK from here

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sdk/AM1x/latest/index_FDS.html

 

Looking at the documentation here

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sdk/AM1x/latest/exports/sitara-linuxsdk-sdg-05.02.00.00.pdf

 

I would expect to find the install-wlan.sh script on the filesystem but do not. Nor is there a wlan_cu utility. E.g.

root@am180x-evm:/usr/share/wl1271-demos# ls /usr/share/wl1271-demos/

bluetooth

Is there a new or alternate method for configuring the wl271 from the command line?
I did run the Wifi demo from the matrix gui and can scan to find my local essid.
However I wasn't able to actually connect to the network via the gui.
 
-Martin

  • Hi Martin,

     

    We have lots of material in our WiKi page that presents how to configure the WiFi and the Bluetooth, specifically for the SDK5.02

    Please visit our WiKi page in http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Demos

     

    Regards,

    Eyal

     

  • Hi Eyal,

     

    Thanks for the link. Do you agree that the SDK documentation is outdated in this regard? Specifically

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sdk/AM1x/latest/exports/sitara-linuxsdk-sdg-05.02.00.00.pdf

     

    Is it correct that this is the best/only location for configuring station mode via the command line?

    http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Calibration_Proccess_NLCP#Example

     

    Unfortunately that recipe doesn't work for me. In particular these two steps fail

            root@am180x-evm:~# ifconfig wlan0 down

            ifconfig: SIOCGIFFLAGS: No such device

            ...

            root@am180x-evm:~# modprobe wl12xx_sdio

            cfg80211: Calling CRDA to update world regulatory domain

            Compat-wireless backport release: compat-wireless-2011-04-26-3-g6542f4c

            Backport based on wl12xx.git v2.6.35-33527-g1bbadc2

            cfg80211: World regulatory domain updated:

            cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

            cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

            cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

            cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

            cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

            cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

            root@am180x-evm:~# calibrator plt calibrate

            Fail to set PLT power mode on

     

    I think I may have a hardware problem.

    Going back to the legacy driver (I presume) in DVSDK 4.02.00.06

    I get a kernel oops when loading the firmware

            root@arago:/etc/rc5.d# /usr/share/wl1271-demos/wlan/install-wlan.sh

            Installing WL1271-WLAN kernel modules...

            TI WiLink 1271 SDIO: Driver loaded

              Success

            TIWLAN: driver init

            TIWLAN: 2406.631722:

            Zoom2 use external board configuration as well

            wifi_probe: got wlan irq 207

            wifi_probe: got wlan irq trigger falling flag

              Success

            Loading firmware...

            Success

            Bringing-up the WLAN interface...

            pInitParams->RoamingScanning_2_4G_enable 0

            hPlatform_DevicePowerOn: timeout waiting for sdio init

            kernel BUG at drivers/net/wireless/wilink/SdioDrv.c:342!

            Unable to handle kernel NULL pointer dereference at virtual address 00000000

     

    Any suggestions/ideas?

     

    -Martin