• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » How to build WL1271 driver for kernel 2.6.32 with OMAP3630
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

How to build WL1271 driver for kernel 2.6.32 with OMAP3630

This question is answered
Gyungoh Yoo
Posted by Gyungoh Yoo
on Jan 25 2010 21:35 PM
Prodigy10 points

Hi,

I am trying to build tiwlan driver for wl271 on kernel 2.6.32.
My H/W is zoom2 with OMAP3630 cpu board and
the kernel is from git://dev.omapzoom.org/pub/scm/integration/kernel-omap3.git

I tried http://dev.omapzoom.org/?p=vijay/wlan.git;a=summary for tiwlan driver.

===================================

/lib/modules # insmod sdio.ko                                                 
sdioDrv_init: Debug mode                                                      
TI WiLink 1271 SDIO: Driver loaded                                            
/lib/modules # insmod tiwlan_drv.ko                                           
TI WLAN: driver loading                                                       
wifi_probe_irq: got wlan irq 322                                              
wifi_probe_irq: got wlan irq trigger falling flag                             
/lib/modules # ./tiwlan_loader                                                
/lib/modules # ifconfig tiwlan0 up                                            
TIWLAN: 1441.904754: mainSecSm               , SM:MainSec SM: config, authProtoc
ol = 0, keyExchangeProtocol=0, unicastSuite=0, broadcastSuite=0               
mainSecSm               , SM:MAIN_SEC_SM: successful configuration SM         
pInitParams->RoamingScanning_2_4G_enable 1                                    
mmc2: card claims to support voltages below the defined range. These will be ign
ored.                                                                         
mmc2: new SDIO card at address 0001                                           
VIJAY tiwlan_sdio_probe called                                                
TIWLAN: Found TI/WLAN SDIO controller (vendor 0x104c, device 0x9066, class 0x7)
TxnQueue                , ERROR:chitra calling busDrv_ConnectBus              
SdioBusDrv              , ERROR:chitra calling txnQ_ConnectBus                
sdioDrv_EnableFunction: func 2                                                
sdioDrv_enablefunc passed                                                     
TxnQueue                , WARNING:txnQ_Run(): Called while func 2 state is 2! 
CHIP VERSION... set 1273 chip top registers                                   
Working on a 1273 PG 2.0 board.                                               
Starting to process NVS...                                                    
No Nvs, Setting default MAC address                                           
pHwInit->uEEPROMCurLen: 1c                                                    
ERROR: If you are not calibating the device, you will soon get errors !!!     
Chip ID is 0x4030111.                                                         
FEM Type 1                                                                    
Firmware successfully downloaded.                                             
FW download OK...                                                             
Firmware successfully downloaded.                                             
FW download OK...                                                             
Firmware successfully downloaded.                                             
FW download OK...                                                             
Firmware successfully downloaded.                                             
FW download OK...                                                             
Firmware successfully downloaded.                                             
FW download OK...                                                             
Finished downloading firmware.                                                
Firmware running.                                                             
Firmware successfully downloaded.                                             
FW download OK...                                                             
                                                                              
--------------------------------------------------------------------          
Driver Version  : WiLink_Driver_6.1.0.0.115                                   
Firmware Version: Rev 6.1.3.01.5                                              
Station ID      : 08-00-28-12-34-56                                           
--------------------------------------------------------------------          
                                                                              
/lib/modules # CmdBldCmdIE             , WARNING:cmdBld_CmdIeConfigureTemplateFr
ame: Frame size (=258) of CmdType (=4) is bigger than MAX_TEMPLATES_SIZE(=252) !
!!                                                                            
CmdBldCmdIE             , WARNING:cmdBld_CmdIeConfigureTemplateFrame: Frame size
 (=258) of CmdType (=1) is bigger than MAX_TEMPLATES_SIZE(=252) !!!           
cmdQueue_SM: ** ERROR **  Mbox status error 14, set bErrorFlag !!!!!          
CmdQueue                , ERROR:cmdQueue_SM: ** ERROR **  Mbox status error 14,
set bErrorFlag !!!!!                                                          
Interrogate TX/RX parameters                                                  

/lib/modules # iwconfig -v                                                    
iwconfig  Wireless-Tools version 29                                           
          Compatible with Wireless Extension v11 to v22.                      
                                                                              
Kernel    Currently compiled with Wireless Extension v22.                     
                                                                              
tiwlan0   Recommend Wireless Extension v0 or later,                           
          Currently compiled with Wireless Extension v0.                      

===========================================

I don't understand why this driver is built with 'Wireless Extension v0'. I believe that it is built with valid kernel code.
In other way, I tried http://wiki.omap.com/index.php/OMAP35x_Wireless_Connectivity_Downloads
But it is for kernel 2.6.29.

Where can I get the WL1271 driver for kernel 2.6.32?
Is there some special way to build the driver?

Thanks,
Gyungoh

wlan 1271 OMAP3630
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • CB
    Posted by CB
    on Jan 26 2010 10:35 AM
    Verified Answer
    Verified by Gyungoh Yoo
    Intellectual805 points

    Hello Gyungoh,

    In this forum we support WL1271 for the OMAP35x EVM.  As you said, currently our drivers support only kernel 2.6.29.  We plan to support 2.6.32 in the coming months (around second quarter). 

    Since you're using a Zoom2 board, you can also try checking the web site www.omapzoom.org and/or post your question to http://groups.google.com/group/omapzoom/?pli=1.

    Hope that helps.

    - Carlos

     

    zoom2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • rainabba
    Posted by rainabba
    on Mar 17 2010 01:48 AM
    Prodigy10 points

    Where can I track the availability of 2.6.32 kernel support officially?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • CB
    Posted by CB
    on Mar 17 2010 07:46 AM
    Intellectual805 points

    Hello, We will make an announcement in the connectivity wiki: www.ti.com/connectivitywiki  and point to where the release is posted once it's available.

     

    WL1271
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Nov 28 2010 03:43 AM
    Genius9240 points

    Hi,

    we had releaseed the beta 2 release that supports Linux 2.6.32

    please download it from our WiKi page in http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connectivity_Downloads please download SW-0005

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • venkatraju koppada
    Posted by venkatraju koppada
    on Apr 16 2012 02:05 AM
    Prodigy110 points

    Dear  Carlos,

    i have been working on am3703 custom board, and we using the wl1271 wifi module.

    my kernel version is 2.6.32,and my hardware wifi connection with mmc2 ,EN pin is for gpio_126,IRQ  pin is for gpio_129.

    how to integrate wl1271 to my custom(am3703) board.

    what are all i have to configure in kernel?and what are sources i have to download,please provide me any reference links?

    please suggest me how to solve this one!!



    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Apr 17 2012 16:24 PM
    Genius9240 points

    Hi,

    We have newer WLAN driver for WL1271 that is based on open source however we have it for Linux 2.6.37, and in case you can migrate to that Linux release then I would recommend using that driver and not the Legacy driver that we published on Linux 2.6.32.

     

    For the open source driver we have a wiki page that can help with the porting you need, please refer to http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Hardware_Porting_for_AM37x_Platform

    And for http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Hardware_Porting_for_new_Platform

     

    We don’t have guidelines for the Legacy driver that was build for Linux2.6.32

     

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use