• Resolved

OMAP-L138 + WL1271 is it possible?

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

  • In reply to Moosa Baransi:

    Yes, it is custom hardware, but it's pretty much the same as the example schematics.  Thanks for trying!

    Inderjit

  • In reply to Inderjit Bains:

    Following this webpage:

    http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture

    it seems that I was missing the firmware.  I'm now getting the following errors:

    ~# ifconfig wlan0 up                                                                                     
    Powering on wifi                                                                                                        
    wl1271: ERROR nvs size is not as expected: 172032 != 912                                                                
    Powering off wifi                                                                                                       
    Powering on wifi                                                                                                        
    ADDRCONF(NETDEV_UP): wlan0: link is not ready   

    The firmware is from:

    http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=tree

    Questions:

    1.  Why am I getting the nvs size error?  Is the firmware the correct version?  What is the ADDRCONF error?

    2.  I'm still using 5.02.  Will 5.03 make any difference?  I couldn't find any source code differences in U-Boot or Linux, as I pointed out here (with no follow-up answer for over a month):

    http://e2e.ti.com/support/embedded/linux/f/354/t/156789.aspx#568725

    3.  Will running the calibration procedure make a difference?  Which calibration procedure is the correct one for OMAPL-138/AM1808 and TiWi-R2?

    4.  Is http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture the correct procedure for OMAPL-138/AM1808 and TiWi-R2?

    Inderjit

  • In reply to Inderjit Bains:

    Hi Inderjit,

    I would like to touch base on the issue Status, could you please let me know if there are still open items?

    Thanks,

    Eyal

  • In reply to Eyal a:

    The question from Feb. 28th was never answered.  Since then, 5.04 has been released.  Can you answer the following:

    1.  Why am I getting the nvs size error in the question from Feb. 28th?

    2.  Is http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture the correct build procedure for OMAPL-138/AM1808 and TiWi-R2?

    3.  Does 5.04 support bluetooth on OMAPL-138/AM1808?

    Thanks,

    Inderjit

  • In reply to Inderjit Bains:

    Hi Inderjit,

    we have different build procedure which you may find in http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Build_Instructions_Guide

    in addition we built a script that should run the entire WLAN package automaticly, it will download all the right components build and install it on your file system, for that please refer to http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_WLAN_build_scripts

    in case you use that i dont think that you get the nvs file size error,

    as for Bluetooth, 5.04 supports BlueZ for AM18x platform, however for OMPAL138 there is a conflict with the Audio chip (the UART CTS colied with the Audio compression chip) however in case you have your own board then Bluetooth will also be supported for OMAPL138

    Regards,

    Eyal 

  • In reply to Inderjit Bains:

     can you run $ls -l /lib/firmware/ti-connectivity

    NVS file should have size 912 bytes.

    I step through http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Calibration_Proccess_NLCP and almost was OK.

  • In reply to Volodya Petrov:

    Hi,

    Petrov is right, there are 2 NVS files with same name but with different size, one is used for WL127x chipset and one for WL128x chipset, were the one used for WL128x is almost twice the size, and that could explain the size error that you get

    Regards,

    Eyal

  • In reply to Eyal a:

    Hi,

    Thanks for the replies.  I was very busy with other tasks but I have been looking at this again for the last couple of days.  In http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Build_Instructions_Guide, there are links to several build instruction guides, including separate build procedures for WLAN and Bluetooth.  There are also separate build scripts for WLAN and Bluetooth.  Is there one build guide/script for both WLAN and Bluetooth, or do I have to go through all of it and try to figure it out (didn't work before)?

    The http://processors.wiki.ti.com/images/d/d0/Wlan_R4_SP2_build_scripts.zip README file is a bit sparse.  There seem to be a lot of assumptions in the build scripts that are not specified in the webpages.  Again, there are two separate build scripts for WLAN and Bluetooth.  Does this mean that just one or the other will work?

    To be clear, this is what I need:  one build script that builds everything required for WLAN and Bluetooth for the WL1271 chipset, for an AM1808 CPU.  I would rather download the required components vs having the build script do it, unless this requires components from many sources.  Why are all the extra components not in the SDK?

    Inderjit

  • In reply to Inderjit Bains:

    Hi Inderjit,

    Thanks for the good feedback, i am currently working to simplify the process and instructions, it should be completed by tomorrow.

    Regards,

    Eyal

  • In reply to Eyal a:

    Please provide a link to the updated process and instructions once your done.

    Thanks,

    Inderjit