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.

How to build WL1271 driver for kernel 2.6.32 with OMAP3630

Other Parts Discussed in Thread: WL1271, AM3703

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