• 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 » Embedded Software » Linux » Linux forum » OMAP-L138 & TIWI-R2 (WL1271)
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

OMAP-L138 & TIWI-R2 (WL1271)

This question is answered
michael clark
Posted by michael clark
on Apr 02 2012 13:15 PM
Prodigy220 points

4174.kernel_config.txt

Hello,

I am trying to integrate the TI WL1271 Wi-Fi module with a custom OMAP-L138 SOM board. We successfully tested the system using EVM modules and Linux kernel v3.3-rc7. I am now  trying to get other subsystems running on our custom board with kernel-v3.3-rc7, but I am experiencing problems during USB device initialization. The Linux kernel is failing to enumerate the USB device and assign a user-space interface (i.e. ttyUSB0 ). When I execute "lsusb" nothing is returned. I have verified that VBUS power is applied to the device.

I was previously using kernel v2.6.32-rc6 successfully, but there was no board level support for the WL1271. This seemed to be properly added in v3.3.

Should I expect such problems with this kernel version 3.3 and OMAP-L138? Is CPPI41 DMA still supported for DA8xx devices? I can't seem to remove the MUSB_PIO_ONLY option, which I thought was the cause of this USB issue. At this point, I am curious if this is expected behavior or am I missing a configuration parameter.

Any help would be appreciated.

Thanks!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ajay
    Posted by Ajay
    on Apr 02 2012 23:20 PM
    Genius9470 points

    Michael,

    As you picked up non TI PSP released kernel so it doesn't have CPPI4.1 DMA support and only option is to use PIO mode. I would recommend to use TI PSP kernel for AM18x. The latest staging tree for AM18x is available at http://arago-project.org/git/projects/?p=linux-davinci.git;a=shortlog;h=refs/heads/davinci-next

    And the last released tree based on v2.6.37 available at http://arago-project.org/git/projects/?p=linux-davinci.git;a=shortlog;h=refs/heads/usb_pio_plus_dma

    Ajay

     

    If my reply answers your question then please click on the green button "Verify Answer"

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • michael clark
    Posted by michael clark
    on Apr 06 2012 06:21 AM
    Verified Answer
    Verified by michael clark
    Prodigy220 points

    Ajay,

    Thanks for the information. The latest staging tree is working on our platform. There were a few compiler errors that I would like to share:

    1. 'DAVINCI_SYSTEM_MODULE_BASE' undeclared in function dump_header_stats

    drivers/usb/musb/musb_procfs.c: In function 'dump_header_stats':
    drivers/usb/musb/musb_procfs.c:517: error: 'DAVINCI_SYSTEM_MODULE_BASE' undeclared (first use in this function)
    drivers/usb/musb/musb_procfs.c:517: error: (Each undeclared identifier is reported only once
    drivers/usb/musb/musb_procfs.c:517: error: for each function it appears in.)
    make[4]: *** [drivers/usb/musb/musb_procfs.o] Error 1

    My solution was to define DAVINCI_SYSTEM_MODULE_BASE in /mach/hardware.h

    2. MUSB_DA8XX_GLUE requires USB_GADGET support

    drivers/built-in.o: In function `musb_gadget_cleanup':
    clkdev.c:(.text+0x7eb9c): undefined reference to `usb_del_gadget_udc'
    drivers/built-in.o: In function `musb_gadget_setup':
    clkdev.c:(.devinit.text+0x2ecc): undefined reference to `usb_add_gadget_udc'

    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