Hi,
I am new to OMAP developement and our company has just recently chosen OMAP-L138 as our base platform for future product development.
One of the first products we are going to use OMAP-L138 will require wireless connectivity which we found out that the WL1271 can provide (Wifi + bluetooth).
However, base on the post I've read from the forum I only found support for the WL1271 on the OMAP35xx.
Can you please clarify if the OMAP-L138 can be interfaced with the WL1271?
Also are their available any Linux device drivers for the WL1271 which can be installed in the Linux package for the OMAP-L138.
Please advice.
Grant Hatamosa
Senior Software Engineer
Also, what is the difference between open-source (PSP_03.20.00.xx) and non-open source (05.20.00.xx?)? Are there license fees for the non-open source code?
Hi Inderjit,
We have Open source driver for 1271 chip set on PS 03.21.00.04 on AM18x platform as part of SDK 5.02. in addition SDK5.03 is currently planned to be at the end of September and it will also include open source drivers for 1271 chipset, and as far as I know it will be with 2.6.38, although it may change. In addition in SDK5.03 we will have more advance WLAN driver with some bug fixes and more features.
As for PSP_03.20.00.xx, we do have also WLAN driver for 1271 chip on AM18x platform, however it is TI proprietary driver, and not open source driver, both driver drivers are license free however the Open source driver is currently our mainline, we will continue supporting it moving forward with bug fixes and new feature as well it will be supported by Community. As for the proprietary driver, it will be supported however not with new features, so my advice is to go with the open source driver.
Regards,
Eyal
More questions:
1. Is there any point in working with SDK5.02? What are the new features in WLAN driver in 5.03? Will it include host mode?
2. Is PSP_03.21.00.04 the successor to PSP_03.20.00.xx or a new branch?
the main new feature in SDK5.03 is wifi direct, in addition PSP_03.21.00.04 is a new branch from PSP_03.20.00.xx
WiFi direct is certainly interesting, and worth waiting for. Is PSP_03.20.00.xx a dead end?
I agree that WiFi direct is interesting feature, in addition PSP_03.20.00.xx will not be used for AM18x SDK moving forward.
I have ported our company's proprietary wlan driver on to the OMAP L138 board to support our wi-fi card. It is working perfectly and am able to connect to an access point with that board. Our card is interfacing through SDIO slot. Now I have the following doubts:
1) It is mentioned that NAND, NOR and SDIO are multiplexed and so we cant use them all at a once(mentioned not to enable all in kernel config). Currently I am using NFS server, TFTP server to load uImage and my target file system on to the board. Then using the sdio slot for our wi-fi card. Is there a way, I can flash my uImage and file system on to NAND or other storage media and use my wi-fi card to access wi-fi. Also the documentation doesn't give any procedure to boot file system from sd card and copy it on to SDRAM for stand-alone usage.
2) I am using iperf to measure the throughputs and I am getting very low throughputs than our card could give. I am using 'arago-am18xx-demo-image-da850-omapl138-evm' file system and DaVinci-PSP-SDK-03.20.00.14 kernel. Is there any change, I should make regarding sdio drivers for good throughputs??? Are there any updated versions of the filesystem or the kernel I am using??
Rupesh
Dear All,
This is a reminder that this forum and TI engineering team is focused on supporting the WL1271 device as the preferred WiFi and Bluetooth solution for TI host processors.
Adnan
Eyal,
Our main goal is to test WLAN in station mode using a terminal or a GUI on a TI AM18x device.
We are using SpectrumDigital's AM1810 board attached to TI TMDXWL1271DC18XL1X OpenLink open source Wi-Fi and Bluetooth daughter card connected via SDIO interface.
The kernel and the filesystem come from ti-sdk-am180x-evm-05.02.00.00.
Based on this discussion, it looks like this SDK has open source driver for 1271 chip set.
Can you please explain the detailed procedure to turn on this opensource driver in the kernel and the procedure to test WLAN in station mode?
Shilpa.
Hi Shilpa,
We have that information in our WiKi page, for compiling the main WLAN modules please refer to http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_compat_wireless_build_options and for instructions how to use WLAN in station mode please refer to http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_Guide#Advanced_Functionality_Options and http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_Training#WLAN_protocol_debug_techniques_and_advanced_settings
Eyal, Thanks for the links. I wish these links were easy to find. We finally got the wifi to work with the kernel at tftpboot and filesystem on the 1.8V SD CARD that comes with the wifi card. When we program the kernel on the SD card, we get the following error. Hit any key to stop autoboot: 0 reading uImage [ ST0 ERROR 8] block read failed: -18 ** Unable to read "uImage" from mmc 0:1 ** Wrong Image Format for bootm command ERROR: can't get kernel image! U-Boot > Can you please tell us what we are doing wrong here? Shilpa.
Thanks for the links. I wish these links were easy to find. We finally got the wifi to work with the kernel at tftpboot and filesystem on the 1.8V SD CARD that comes with the wifi card.
When we program the kernel on the SD card, we get the following error.
Hit any key to stop autoboot: 0
reading uImage
[ ST0 ERROR 8]
block read failed: -18
** Unable to read "uImage" from mmc 0:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
U-Boot >
Can you please tell us what we are doing wrong here?
Looks like SDK5.03 has been delayed again, to Dec. 2011. Is there any chance that it will actually be ready in December, or will it be delayed yet again at that time?
as far as i know now, it will be released iddle of December. it will still be based on Kernel 2.6.37
I've been working with 5.02: more specifically, the AM1808 individual components. wl12xx_set_power() in board-da850-evm.c is entered to turn on power, and a bit later it's entered again to turn power off. Before I start debugging the code, can you answer the following:
1. Is there a menu-config setting for WL12xx?
2. Are 0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch and 0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch applied to am180x-evm-sdk-src-05.02.00.00.tar.gz? The patches point to "/home/hudson/amsdk-nightly-build/arm9/arago/recipes/linux/linux-davinci-2.6.37-psp03.21.00.04.sdk/00"
3. What is the expected release day in December for 5.03?
Inderjit
I enabled some additional settings as noted here: http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture
I included the options in the Kernel, instead of using modules ("*" instead of "M", not sure if this is the right thing to do).
Now there are multiple power-ons and power-offs of the WiFi module:
Powering on wifi davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode usbcore: registered new interface driver usbhid usbhid: USB HID core driver ALSA device list: No soundcards found. nf_conntrack version 0.5.0 (1951 buckets, 7804 max) ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered NET: Registered protocol family 17 Bluetooth: L2CAP ver 2.15 Bluetooth: L2CAP socket layer initialized Bluetooth: SCO (Voice Link) ver 0.6 Bluetooth: SCO socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM ver 1.11 Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: HIDP (Human Interface Emulation) ver 1.2 lib80211: common routines for IEEE802.11 drivers davinci_emac_probe: using random MAC addr: c6:4d:52:51:73:7a omap_rtc omap_rtc: setting system clock to 2009-04-14 23:32:59 UTC (1239751979) mmc1: card claims to support voltages below the defined range. These will be ignored. mmc1: queuing unknown CIS tuple 0x91 (3 bytes) mmc1: new SDIO card at address 0001 Powering off wifi Powering on wifi Powering off wifi Powering on wifi wl1271: loaded wl1271: initialized Powering off wifi davinci_mdio davinci_mdio.0: resetting idled controller net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, id=221555) IP-Config: Failed to open wlan0
.....
Any suggestions?