TI E2E Community
WiLink™ WiFi + Bluetooth Forum
How to build WL1271 driver for kernel 2.6.32 with OMAP3630
Hi,I am trying to build tiwlan driver for wl271 on kernel 2.6.32.My H/W is zoom2 with OMAP3630 cpu board andthe kernel is from git://dev.omapzoom.org/pub/scm/integration/kernel-omap3.gitI 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, authProtocol = 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 ignored. 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_184.108.40.206.115 Firmware Version: Rev 6.1.3.01.5 Station ID : 08-00-28-12-34-56 -------------------------------------------------------------------- /lib/modules # CmdBldCmdIE , WARNING:cmdBld_CmdIeConfigureTemplateFrame: 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_DownloadsBut 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
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.
Where can I track the availability of 2.6.32 kernel support officially?
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.
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
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!!
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
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.