• 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 » The CMEMK error when I debug h264enc+jpegenc(width:1600+height:1152) on DM368
Share
Multimedia Software Codecs
  • Forum
Options
  • Subscribe via RSS

The CMEMK error when I debug h264enc+jpegenc(width:1600+height:1152) on DM368

The CMEMK error when I debug h264enc+jpegenc(width:1600+height:1152) on DM368

This question is not answered
li guipan
Posted by li guipan
on Apr 28 2012 23:43 PM
Intellectual295 points

Dear all:

The CMEMK error when I debug h264enc+jpegenc(width:1600+height:1152) on DM368.The CMEMK error as follows:

CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEMK Error: FREE: Failed to convert virtual 0x0 to physical

CMEM Error: free: failed to free 0

My loadmodules.sh as follows:

#!/bin/sh
rmmod cmemk 2>/dev/null
rmmod irqk 2>/dev/null
rmmod edmak 2>/dev/null
#rmmod dm365mmap 2>/dev/null

# Pools configuration
insmod cmemk.ko phys_start=0x8A000000 phys_end=0x90000000 pools=4x5288,1x20480,1x6230016,1x896,1x52036,1x53268,1x67200,1x131072,1x262144,1x640,1x49152,1x30464,1x9344,1x800,1x24,1x146,64x56,1x68,8x62,1x98,1x153600,1x50176,8x3686400 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

insmod irqk.ko
insmod edmak.ko
#insmod dm365mmap.ko

Could you give me some suggestions?

Thank you! Give my best wishes to you!

DM368 CMEM
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Yashwant Dutt
    Posted by Yashwant Dutt
    on May 02 2012 07:15 AM
    Genius15110 points

    Which s/w are you using for this ? DVSDK or something else ?

    regards

    Yashwant

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • li guipan
    Posted by li guipan
    on May 21 2012 21:43 PM
    Intellectual295 points

    Dear Yashwant Dutt:

    Thank you for your attention!The problem has been sloved now!It's a bug of our kernel!

    Thank you! Give my best wishes to you!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on May 23 2012 20:12 PM
    Genius3920 points

    Guipan,

    please mark the post as verified so that it will be clear for others to findout its answered.

    Also if possible reply with the cause of the problem and what you did for resolving.

    Thank you

    Sujit

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atul Kumar
    Posted by Atul Kumar
    on May 28 2012 03:58 AM
    Prodigy160 points

    Dear li guipan

              I am facing exactly same issues, can you suggest the solution or changes you have updated in kernel??

    root@dm365-evm:/dev/shm# ./video_encode_io1_dm368.x470MV -c h264enc -i video_cap
    .yuv -o output.264 -n 25 -e encode -r 1280x720
    Starting application atul video 01 ...
    CMEMK Error: Failed to find a pool which fits 28672
    CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
    ool: Failed to get a pool fitting a size 28672
    CMEMK Error: get_phys: get_user_pages() failed: -14
    CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
    CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
    hys: Failed to get physical address of 0
    CMEMK Error: get_phys: get_user_pages() failed: -14
    CMEMK Error: FREE: Failed to convert virtual 0x0 to physical
    CMEM Error: free: failed to free 0
    CMEMK Error: Failed to find a pool which fits 3112704
    CMEM Error: getPool: Failed to get a pool fitting a size 3112704
    Failed to create video encoder: h264enc
    End of application.

    Thanks & Regards

    Atul kumar


    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