• 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 » Multimedia Software Codecs » Multimedia Software Codecs forum » I want to integrate H.264 DM36x Ver 2.0 Codec to into dvsdk2.10.00.18?
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

Forums

I want to integrate H.264 DM36x Ver 2.0 Codec to into dvsdk2.10.00.18?

This question has suggested answer(s)
star zhou
Posted by star zhou
on Sep 10 2010 04:21 AM
Intellectual390 points

Hi, Ti,

     I want to integrate H.264 DM36x Ver 2.0 Codec to into dvsdk2.10.00.18.  The framework_components_2_24_01 and  linuxutils_2_24_03 . I have seen H.264 DM36x Platinum Codec (ver 2.x) - Overview and features in WiKI of Ti.

   1)  When  I run the encode.out. There was a error:

CMEM Error: init: major version mismatch between interface and driver.
CMEM Error:     needs driver version 0x3000000, got 0x2300000

  2) When I use linuxutils_2_25_02_08, have errors:

  File /home/zhou/2approdvsdk/dvsdk_2_10_01_18/linuxutils_2_25_02_08/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc6000000 of size 0x14e000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84c00000)
cmemk initialized
edmak: Unknown symbol EDMA_CHAN_SLOT
edmak: Unknown symbol edma_free_slot
edmak: Unknown symbol edma_alloc_channel
edmak: Unknown symbol EDMA_CTLR
edmak: Unknown symbol edma_alloc_cont_slots
edmak: Unknown symbol edma_free_channel
edmak: Unknown symbol edma_clean_channel
  

 How to deal with it? I want to H.264 DM36x Ver 2.0 Codec to into dvsdk2.10.00.18, Linux version 2.6.18.

 waiting for your replay!



 

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Robert Tivy
    Posted by Robert Tivy
    on Sep 10 2010 12:05 PM
    Suggested Answer
    Genius11090 points

    Star,

    The EMDA symbols that are missing are for non-DM36x kernels.  By default, edmak.ko builds for non-DM36x kernels.  For DM36x kernels (LSP 2.10), a symbol needs to be defined.

    In your linuxutils_02_25_02_08 release, you will need to rebuild edmak.ko with -DLSP_210.  To do so, edit:
        linuxutils_02_25_02_08/packages/ti/sdo/linuxutils/edma/src/module/Makefile
    by changing the -ULSP_210 to -DLSP_210.

    However, there is currently a bug where the EDMA_CTLR() macro is used outside of #ifndef LSP_210.  In edmak.c, in the function release_channel(), the code at line 207 needs to change.  Change:
        if (EDMA_CTLR(chan) == 0) {
            INIT_LIST_HEAD(&channels[channel].users);
            channels[channel].nParam = 0;
            channels[channel].isParam = 0;
        }
    to:
    #ifdef LSP_210
        INIT_LIST_HEAD(&channels[channel].users);
        channels[channel].nParam = 0;
        channels[channel].isParam = 0;
    #else
        if (EDMA_CTLR(chan) == 0) {
            INIT_LIST_HEAD(&channels[channel].users);
            channels[channel].nParam = 0;
            channels[channel].isParam = 0;
        }
    #endif

    Regards,

    - Rob

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yashwant Dutt
    Posted by Yashwant Dutt
    on Sep 20 2010 01:30 AM
    Genius15110 points

    You can also refer to http://processors.wiki.ti.com/index.php/Migration/Integration_Guide_for_DM36x_H.264_version_2.x_codecs for some integrations help.

    regards

    Yashwant

    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