TI E2E Community
Multimedia Software Codecs
Multimedia Software Codecs forum
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.The CMEMK error as follows:
CMEMK Error: get_phys: Unable to find phys addr for 0x00000000CMEMK Error: get_phys: get_user_pages() failed: -14CMEMK Error: FREE: Failed to convert virtual 0x0 to physical
CMEM Error: free: failed to free 0
My loadmodules.sh as follows:
#!/bin/shrmmod cmemk 2>/dev/nullrmmod irqk 2>/dev/nullrmmod edmak 2>/dev/null#rmmod dm365mmap 2>/dev/null# Pools configurationinsmod 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=1x28672insmod irqk.koinsmod edmak.ko#insmod dm365mmap.ko
Could you give me some suggestions?
Thank you! Give my best wishes to you!
Which s/w are you using for this ? DVSDK or something else ?
Dear Yashwant Dutt:
Thank you for your attention!The problem has been sloved now!It's a bug of our kernel!
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.
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 1280x720Starting application atul video 01 ...CMEMK Error: Failed to find a pool which fits 28672CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000ool: Failed to get a pool fitting a size 28672CMEMK Error: get_phys: get_user_pages() failed: -14CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000hys: Failed to get physical address of 0CMEMK Error: get_phys: get_user_pages() failed: -14CMEMK Error: FREE: Failed to convert virtual 0x0 to physicalCMEM Error: free: failed to free 0CMEMK Error: Failed to find a pool which fits 3112704CMEM Error: getPool: Failed to get a pool fitting a size 3112704Failed to create video encoder: h264encEnd of application.
Thanks & Regards
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.