最近在學習TI的dvsdk_2_10_01_18。因爲移植IPNC2.6的時候出現了個問題,
CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
CMEMK Error: get_phys: get_user_pages() failed: -14
根據網上查的,這個問題可能和CMEM的內存分配有關係,所以看了一下CMEM相關的資料,在此做個記錄。
1.首先看了"幫您快速入門 TI 的 Codec Engine.pdf",大致瞭解了dvsdk的架構及所需要的資料。
2.Codec Engine FAQ
http://processors.wiki.ti.com/index.php?title=Codec_Engine_FAQ
3.CMEM overview
http://processors.wiki.ti.com/index.php/CMEM_Overview
3.http://processors.wiki.ti.com/index.php/Codec_Engine_Application_Developers_Guide的Codec_Engine_Application_Developers_Guide,這個也有相關的pdf文檔。pdf文檔還介紹了相關的資料。
4.codec engine memory example:
http://processors.wiki.ti.com/index.php/Codec_Engine_Examples_Memory_Map
5.change the DEVEM memory map:
http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map
6.category:codec engine
http://processors.wiki.ti.com/index.php/Category:Codec_Engine
這個文檔系統介紹了codec engine,從入門開始的步驟。