This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
软件环境:dvsdk_2_00_00_22(内含dsplink-1_61_03-prebuilt)
问题:在http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map 中提到,1.40版本以上的dsplink,只需要在arm端的cfg文件中,指定dsplink对应的内存分配即可,但是在dvsdk2.0自带的例子中,没有一个有类似的用法的,并且在我目前的dsplink中,也不能像1.40之前版本那样规划内存,请问我应该怎样规划这一块的内存的?以下是官方文档的资料:
你好,
我认为网上资料的意思就是让你在cfg文件里面添加osalGlobal.armDspLinkConfig,请问你添加后有什么问题?
我有在arm端的cfg文件中加入osalGlobal.armDspLinkConfig的,并且起始地址和长度都是和dsp中的tcf文件分配的一致的。
修改后我将程序放到板子上运行,提示:
TraceUtil> Error: Failed to open codec engine "imgalg" TraceUtil> Error: Aborting TraceUtil_start
arm端app文件和x64P文件存放在同一个目录中,pp程序指定在当前目录中寻找x64P文件。
我在网上查到一些资料说是由于arm端分配的dsplink内存和dsp端指定的内存不一致导致的,具体问题我也不确定。
你好,
请问你使用的DVSDK里面的CE的版本是多少?
http://processors.wiki.ti.com/index.php/CE_Config_Updates#DSP_Link.2C_ARM-side_memory_map_config_-_for_dual-core_ARM-DSP_devices
你好,
我看了一下DVSDK2.0里面的CE版本是codec_engine_2_23_01。也就是2.x的。请参考我上面提供链接里面的下面的内容:
CE version where a change was introduced | Change | Example configuration |
---|---|---|
1.00 | Initial implementation | n/a. Configuration was done statically in DSP Link. See DSP Link 1.30 documentation for details on how to configure the memory map. |
1.20 | Dynamic configuration of memory map used by DSPLINK was introduced. The memory map can be specified in the application's cfg file using the osalGlobal.armDspLinkConfig variable. This configuration must match how memory is defined in the server's DSP/BIOS tcf configuration file |
var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global'); osalGlobal.armDspLinkConfig = { memTable: [ ["DDRALGHEAP", {addr: 0x88000000, size: 0x07A00000, type: "other"}], ["DDR2", {addr: 0x8FA00000, size: 0x00400000, type: "main" }], ["DSPLINKMEM", {addr: 0x8FE00000, size: 0x00100000, type: "link" }], ["RESETCTRL", {addr: 0x8FF00000, size: 0x00000080, type: "reset"}], ], }; |
2.00 | The function Engine.createFromServer() was introduced. This function automatically configures an engine using the memory configuration specified in the server's DSP/BIOS tcf configuration file |
var Engine = xdc.useModule('ti.sdo.ce.Engine'); var demoEngine = Engine.createFromServer( "encode", // Name of engine "./encodeCombo.x64P", // Path to server executable "ti.sdo.servers.encode" // Server package name ); |
谢谢回复,dvsdk内codec_engine版本号为2.23。
你发过来的那个链接下午看过了,在cfg中也进行了对应的修改,还是会在Engine_open的时候出错,我开启了CE_DEBUG=2,打印出来的log如下:
CE_DEBUG=2 ./encode -v test.264 -b 1000000 -k -y 2
Encode demo started.
@0,572,753us: [+4 T:0x4001f950] OG - Global_init> This program was built with the following packages:
@0,573,329us: [+4 T:0x4001f950] OG - package gnu.targets.rts470MV (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/rts470MV/) [1,0,0,0,1242339149665]
@0,573,596us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.h264enc (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/h264enc/) [1,0,0,1435734370000]
@0,573,773us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.mpeg4enc (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/mpeg4enc/) [1,0,0,1435734370000]
@0,573,934us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.g711enc (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/g711enc/) [1,0,0,1435734369000]
@0,574,089us: [+4 T:0x4001f950] OG - package ti.sdo.ce.global (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/global/) [1,0,0,1240276693464]
@0,574,335us: [+4 T:0x4001f950] OG - package ti.xdais.dm (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/dm/) [1,0,5,1236972452910]
@0,574,491us: [+4 T:0x4001f950] OG - package ti.sdo.utils.trace (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/utils/trace/) [1,0,0,1240266922890]
@0,574,645us: [+4 T:0x4001f950] OG - package ti.sdo.ce.utils.xdm (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/xdm/) [1,0,2,1240276919490]
@0,574,835us: [+4 T:0x4001f950] OG - package dsplink.gpp (/opt/dvsdk_2_00_00_22/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/) [5,0,0,1436427730000]
@0,574,995us: [+4 T:0x4001f950] OG - package ti.sdo.linuxutils.cmem (/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/) [2,2,0,1240253001679]
@0,575,150us: [+4 T:0x4001f950] OG - package ti.xdais (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/) [1,2,1,1236972427008]
@0,575,293us: [+4 T:0x4001f950] OG - package ti.sdo.ce.node (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/node/) [1,0,0,1240276734858]
@0,575,439us: [+4 T:0x4001f950] OG - package ti.sdo.fc.global (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/global/) [1,0,0,1240266696499]
@0,575,588us: [+4 T:0x4001f950] OG - package ti.sdo.fc.dman3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/dman3/) [1,0,4,1240266658662]
@0,575,735us: [+4 T:0x4001f950] OG - package ti.sdo.fc.memutils (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/memutils/) [1,0,0,1240266801007]
@0,575,885us: [+4 T:0x4001f950] OG - package ti.sdo.fc.acpy3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/acpy3/) [1,0,4,1240266659108]
@0,576,033us: [+4 T:0x4001f950] OG - package gnu.targets (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/) [1,0,1,1242339114958]
@0,576,181us: [+4 T:0x4001f950] OG - package ti.catalog.arm (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/catalog/arm/) [1,0,1,0,0]
@0,576,326us: [+4 T:0x4001f950] OG - package ti.platforms.evmDM6446 (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/platforms/evmDM6446/) [1,0,0,1,0]
@0,576,475us: [+4 T:0x4001f950] OG - package ti.sdo.ce.osal (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/) [2,0,2,1240276730877]
@0,576,623us: [+4 T:0x4001f950] OG - package ti.sdo.ce.osal.linux (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1240276736840]
@0,576,770us: [+4 T:0x4001f950] OG - package ti.sdo.ce.ipc (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/) [2,0,1,1240276698961]
@0,576,916us: [+4 T:0x4001f950] OG - package ti.sdo.ce.ipc.dsplink (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1240276714152]
@0,577,063us: [+4 T:0x4001f950] OG - package ti.sdo.ce.alg (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/alg/) [1,0,1,1240276276798]
@0,577,216us: [+4 T:0x4001f950] OG - package ti.sdo.ce (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/) [1,0,6,1240276276491]
@0,577,760us: [+4 T:0x4001f950] OG - package ti.sdo.ce.video1 (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/video1/) [1,0,2,1240276935900]
@0,577,968us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.h264enc.ce (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/h264enc/ce/) [1,0,0,1435734370000]
@0,578,134us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.mpeg4enc.ce (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/mpeg4enc/ce/) [1,0,0,1435734370000]
@0,578,286us: [+4 T:0x4001f950] OG - package ti.sdo.ce.speech1 (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/speech1/) [1,0,1,1240276763928]
@0,578,430us: [+4 T:0x4001f950] OG - package ti.sdo.codecs.g711enc.ce (/opt/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05/packages/ti/sdo/codecs/g711enc/ce/) [1,0,0,1435734370000]
@0,578,665us: [+4 T:0x4001f950] OG - package ti.sdo.ce.speech (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/speech/) [1,0,2,1240276762193]
@0,578,823us: [+4 T:0x4001f950] OG - package ti.sdo.ce.audio (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/audio/) [1,0,2,1240276296374]
@0,578,967us: [+4 T:0x4001f950] OG - package ti.sdo.ce.audio1 (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/audio1/) [1,0,1,1240276296900]
@0,579,111us: [+4 T:0x4001f950] OG - package ti.sdo.ce.video (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/video/) [1,0,3,1240276930771]
@0,579,254us: [+4 T:0x4001f950] OG - package ti.sdo.ce.video2 (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/video2/) [1,0,2,1240276933444]
@0,579,395us: [+4 T:0x4001f950] OG - package ti.sdo.ce.image (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/image/) [1,0,3,1240276700525]
@0,579,534us: [+4 T:0x4001f950] OG - package ti.sdo.ce.image1 (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/image1/) [1,0,1,1240276698808]
@0,579,892us: [+4 T:0x4001f950] OG - package ti.sdo.dmai (/opt/dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/) [1,0,0,1436429316000]
@0,580,056us: [+4 T:0x4001f950] OG - package ti.sdo.simplewidget (/opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/packages/ti/sdo/simplewidget/) []
@0,580,206us: [+4 T:0x4001f950] OG - package ti.sdo.ce.bioslog (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/bioslog/) [1,0,1,1240276303166]
@0,580,351us: [+4 T:0x4001f950] OG - package ti.sdo.ce.utils.trace (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/trace/) [1,0,1,1240276915917]
@0,580,494us: [+4 T:0x4001f950] OG - package encode_config (/opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/encode/encode_config/) []
@0,581,488us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,581,745us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x571c0]
@0,581,913us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,582,068us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x571d8]
@0,582,229us: [+0 T:0x4001f950] OT - Thread_create> Enter (fxn=0x2b2c0, attrs=0x0)
@0,583,265us: [+0 T:0x4001f950] OT - Thread_create> Exit (task=0x57210)
@0,583,623us: [+0 T:0x4001f950] ti.sdo.ce.alg - ALG_init> Enter
@0,583,801us: [+0 T:0x4001f950] ti.sdo.ce.alg - ALG_init> Exit
@0,584,099us: [+6 T:0x4001f950] CE - Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
@0,584,390us: [+0 T:0x4001f950] CS - Server_init()
@0,584,546us: [+0 T:0x4001f950] CS - Server_init> Global_useLinkArbiter = 0
TraceUtil_start> note: CE_DEBUG env. var is set, so TraceUtil is not active (unset CE_DEBUG if you need TraceUtil)
ERR: Failed to open image file [data/pics/Buttons_SQ.png]
Error: Failed to create png image
Error: Failed to create user interface buttons
Error: Failed to create UI
@0,586,600us: [+0 T:0x4001f950] OP - doCmd> Enter (cmdId=3, proc=0x0)
@0,587,884us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x571c0]
@0,588,634us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x571c0]
@0,588,831us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x571d8] timeout[0xffffffff]
@0,589,241us: [+1 T:0x40bc8490] OP - daemon> thread created.
@0,589,462us: [+0 T:0x40bc8490] OP - getCmd_d> Enter (proc=0x40bc7de8)
@0,589,760us: [+0 T:0x40bc8490] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x571c0] timeout[0xffffffff]
@0,589,946us: [+0 T:0x40bc8490] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x571c0] status[0]
@0,590,104us: [+0 T:0x40bc8490] OP - getCmd_d> Exit (result=3)
@0,590,247us: [+0 T:0x40bc8490] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x571d8]
@0,590,432us: [+0 T:0x40bc8490] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x571d8]
@0,592,049us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x571d8] status[0]
@0,592,277us: [+0 T:0x4001f950] OP - doCmd> Exit (result=1)
@0,592,417us: [+0 T:0x4001f950] OT - Thread_delete> Enter (task=0x57210)
@0,592,630us: [+4 T:0x4001f950] OT - Thread_delete> pthread_cancel (0x3)
@0,592,835us: [+4 T:0x4001f950] OT - Thread_delete> pthread_join (0x0)
@0,593,006us: [+0 T:0x4001f950] OT - Thread_delete> Exit (task=0x57210)
@0,593,156us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x571c0]
@0,593,344us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
@0,593,490us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x571d8]
@0,593,636us: [+0 T:0x4001f950] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
你好,
红色部分不是错误,只是说由于你设定了CE_DEBUG的值,TraceUtil就不开了。
错误是下面的部分log:
ERR: Failed to open image file [data/pics/Buttons_SQ.png]
Error: Failed to create png image
Error: Failed to create user interface buttons
Error: Failed to create UI
刚才那个是使用encode的例子来跑的,文件不存在应该也能过Engine_open的,下面是我自己的程序打印出来的错误(关闭了trace):
# CE_DEBUG=2 ./timgalg_d hello0 hello1 @0,689,535us: [+4 T:0x4001ea00] OG - Global_init> This program was built with the following packages: @0,690,217us: [+4 T:0x4001ea00] OG - package gnu.targets.rts470MV (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/rts470MV/) [1,0,0,0,1242339149665] @0,690,444us: [+4 T:0x4001ea00] OG - package codecs.iqmath (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/iqmath/) [2,1,0,1437018804000] @0,690,597us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.global (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/global/) [1,0,0,1240276693464] @0,690,734us: [+4 T:0x4001ea00] OG - package ti.xdais.dm (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/dm/) [1,0,5,1236972452910] @0,690,866us: [+4 T:0x4001ea00] OG - package ti.xdais (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/) [1,2,1,1236972427008] @0,690,995us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.node (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/node/) [1,0,0,1240276734858] @0,691,125us: [+4 T:0x4001ea00] OG - package ti.sdo.utils.trace (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/utils/trace/) [1,0,0,1240266922890] @0,691,260us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.utils.xdm (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/xdm/) [1,0,2,1240276919490] @0,691,394us: [+4 T:0x4001ea00] OG - package ti.sdo.fc.global (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/global/) [1,0,0,1240266696499] @0,691,527us: [+4 T:0x4001ea00] OG - package ti.sdo.fc.dman3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/dman3/) [1,0,4,1240266658662] @0,691,657us: [+4 T:0x4001ea00] OG - package ti.sdo.linuxutils.cmem (/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/) [2,2,0,1240253001679] @0,691,863us: [+4 T:0x4001ea00] OG - package ti.sdo.fc.memutils (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/memutils/) [1,0,0,1240266801007] @0,692,016us: [+4 T:0x4001ea00] OG - package ti.sdo.fc.acpy3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/acpy3/) [1,0,4,1240266659108] @0,692,250us: [+4 T:0x4001ea00] OG - package dsplink.gpp (/opt/dvsdk_2_00_00_22/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/) [5,0,0,1436427730000] @0,692,393us: [+4 T:0x4001ea00] OG - package gnu.targets (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/) [1,0,1,1242339114958] @0,692,524us: [+4 T:0x4001ea00] OG - package ti.catalog.arm (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/catalog/arm/) [1,0,1,0,0] @0,692,654us: [+4 T:0x4001ea00] OG - package ti.platforms.evmDM6446 (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/platforms/evmDM6446/) [1,0,0,1,0] @0,692,784us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.osal (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/) [2,0,2,1240276730877] @0,692,953us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.osal.linux (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1240276736840] @0,693,101us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.ipc (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/) [2,0,1,1240276698961] @0,693,233us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.ipc.dsplink (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1240276714152] @0,693,367us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.alg (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/alg/) [1,0,1,1240276276798] @0,693,497us: [+4 T:0x4001ea00] OG - package ti.sdo.ce (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/) [1,0,6,1240276276491] @0,693,626us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.image (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/image/) [1,0,3,1240276700525] @0,693,756us: [+4 T:0x4001ea00] OG - package codecs.evaluate (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/evaluate/) [1,0,0,1437018806000] @1,069,679us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.bioslog (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/bioslog/) [1,0,1,1240276303166] @1,069,885us: [+4 T:0x4001ea00] OG - package ti.sdo.ce.utils.trace (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/trace/) [1,0,1,1240276915917] @1,070,045us: [+4 T:0x4001ea00] OG - package codec_config (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/test_bench/codec_config/) [] @1,071,041us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,071,298us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381c0] @1,071,463us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,071,603us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381d8] @1,071,755us: [+0 T:0x4001ea00] OT - Thread_create> Enter (fxn=0x141ac, attrs=0x0) @1,072,874us: [+0 T:0x4001ea00] OT - Thread_create> Exit (task=0x38210) @1,073,225us: [+0 T:0x4001ea00] ti.sdo.ce.alg - ALG_init> Enter @1,073,400us: [+0 T:0x4001ea00] ti.sdo.ce.alg - ALG_init> Exit @1,073,744us: [+6 T:0x4001ea00] CE - Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min, 2=good, 3=max) @1,074,039us: [+0 T:0x4001ea00] CS - Server_init() @1,074,194us: [+0 T:0x4001ea00] CS - Server_init> Global_useLinkArbiter = 0 @1,074,543us: [+0 T:0x4001ea00] CE - Engine_open> Enter('imgalg', 0x0, 0xbefe7c7c) CImgAlgo: error open engine. @1,075,025us: [+0 T:0x4001ea00] OP - doCmd> Enter (cmdId=3, proc=0x0) @1,075,252us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381c0] @1,075,530us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x381c0] @1,075,704us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381d8] timeout[0xffffffff] @1,076,134us: [+1 T:0x40b02490] OP - daemon> thread created. @1,076,322us: [+0 T:0x40b02490] OP - getCmd_d> Enter (proc=0x40b01de8) @1,076,471us: [+0 T:0x40b02490] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381c0] timeout[0xffffffff] @1,076,684us: [+0 T:0x40b02490] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x381c0] status[0] @1,076,841us: [+0 T:0x40b02490] OP - getCmd_d> Exit (result=3) @1,076,980us: [+0 T:0x40b02490] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381d8] @1,077,188us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x381d8] status[0] @1,077,358us: [+0 T:0x4001ea00] OP - doCmd> Exit (result=1) @1,077,491us: [+0 T:0x4001ea00] OT - Thread_delete> Enter (task=0x38210) @1,078,201us: [+4 T:0x4001ea00] OT - Thread_delete> pthread_cancel (0x0) @1,079,745us: [+4 T:0x4001ea00] OT - Thread_delete> pthread_join (0x0) @1,079,967us: [+0 T:0x4001ea00] OT - Thread_delete> Exit (task=0x38210) @1,080,123us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x381c0] @1,080,317us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_delete> @1,080,464us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x381d8] @1,080,609us: [+0 T:0x4001ea00] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
你好,
使用CE_DEBUG=3,log信息如下:
CE_DEBUG=3 ./timgalg_d hello0 hello1 @0,819,737us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - Global_init> This program was built with the following packages: @0,820,375us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package gnu.targets.rts470MV (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/rts470MV/) [1,0,0,0,1242339149665] @0,820,644us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codecs.iqmath (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/iqmath/) [2,1,0,1437018804000] @0,820,838us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.global (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/global/) [1,0,0,1240276693464] @0,821,018us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.xdais.dm (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/dm/) [1,0,5,1236972452910] @0,821,288us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.xdais (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/) [1,2,1,1236972427008] @0,821,467us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.node (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/node/) [1,0,0,1240276734858] @0,821,645us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.utils.trace (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/utils/trace/) [1,0,0,1240266922890] @0,821,822us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.utils.xdm (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/xdm/) [1,0,2,1240276919490] @0,821,999us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.global (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/global/) [1,0,0,1240266696499] @0,822,174us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.dman3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/dman3/) [1,0,4,1240266658662] @0,822,350us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.linuxutils.cmem (/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/) [2,2,0,1240253001679] @0,822,525us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.memutils (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/memutils/) [1,0,0,1240266801007] @0,822,702us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.acpy3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/acpy3/) [1,0,4,1240266659108] @0,822,877us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package dsplink.gpp (/opt/dvsdk_2_00_00_22/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/) [5,0,0,1436427730000] @0,823,048us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package gnu.targets (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/) [1,0,1,1242339114958] @0,823,229us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.catalog.arm (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/catalog/arm/) [1,0,1,0,0] @0,823,403us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.platforms.evmDM6446 (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/platforms/evmDM6446/) [1,0,0,1,0] @0,823,577us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.osal (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/) [2,0,2,1240276730877] @0,823,753us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.osal.linux (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1240276736840] @0,823,927us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.ipc (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/) [2,0,1,1240276698961] @0,824,102us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.ipc.dsplink (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1240276714152] @0,824,280us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.alg (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/alg/) [1,0,1,1240276276798] @0,824,453us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/) [1,0,6,1240276276491] @1,239,684us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.image (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/image/) [1,0,3,1240276700525] @1,239,931us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codecs.evaluate (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/evaluate/) [1,0,0,1437018806000] @1,240,131us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.bioslog (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/bioslog/) [1,0,1,1240276303166] @1,240,317us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.utils.trace (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/trace/) [1,0,1,1240276915917] @1,240,498us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codec_config (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/test_bench/codec_config/) [] @1,240,801us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x197ac) @1,241,076us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x18bf8) @1,241,355us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x18) @1,241,641us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x380f0) @1,242,208us: [+0 T:0x4001ea00 S:0xbeae2c3c] OG - Global_atexit> enter (fxn=0x16b28) @1,242,577us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,242,798us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38140) @1,242,982us: [+0 T:0x4001ea00 S:0xbeae2c34] OG - Global_atexit> enter (fxn=0x159d4) @1,243,179us: [+0 T:0x4001ea00 S:0xbeae2c3c] OG - Global_atexit> enter (fxn=0x1825c) @1,243,476us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,243,667us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x14) @1,243,924us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381c0) @1,244,150us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381c0] @1,244,337us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,244,499us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x14) @1,244,672us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381d8) @1,244,836us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381d8] @1,245,004us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x18) @1,245,225us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381f0) @1,245,407us: [+0 T:0x4001ea00 S:0xbeae2c14] OT - Thread_create> Enter (fxn=0x141ac, attrs=0x0) @1,245,584us: [+0 T:0x4001ea00 S:0xbeae2bfc] OM - Memory_alloc> Enter(0x64) @1,245,762us: [+0 T:0x4001ea00 S:0xbeae2bfc] OM - Memory_alloc> return (0x38210) @1,246,789us: [+0 T:0x4001ea00 S:0xbeae2c14] OT - Thread_create> Exit (task=0x38210) @1,247,037us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x13b9c) @1,247,263us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x15f20) @1,247,559us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.alg - ALG_init> Enter @1,247,750us: [+0 T:0x4001ea00 S:0xbeae2c24] OG - Global_atexit> enter (fxn=0x137e8) @1,247,937us: [+0 T:0x4001ea00 S:0xbeae2c54] ti.sdo.ce.alg - ALG_init> Exit @1,248,155us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x12c14) @1,248,359us: [+0 T:0x4001ea00 S:0xbeae2c24] OM - Memory_alloc> Enter(0x18) @1,248,546us: [+0 T:0x4001ea00 S:0xbeae2c24] OM - Memory_alloc> return (0x383f0) @1,248,724us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x1874c) @1,249,044us: [+6 T:0x4001ea00 S:0xbeae2c44] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max) @1,249,268us: [+0 T:0x4001ea00 S:0xbeae2c34] OG - Global_atexit> enter (fxn=0x100a8) @1,249,500us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,249,867us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38430) @1,590,917us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,591,159us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38450) @1,591,354us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,591,537us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38470) @1,591,809us: [+0 T:0x4001ea00 S:0xbeae2c4c] CS - Server_init() @1,591,994us: [+0 T:0x4001ea00 S:0xbeae2c4c] CS - Server_init> Global_useLinkArbiter = 0 @1,592,205us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0xe388) @1,592,529us: [+0 T:0x4001ea00 S:0xbeae2c5c] OG - Global_atexit> enter (fxn=0xced0) @1,592,810us: [+0 T:0x4001ea00 S:0xbeae2c0c] CE - Engine_open> Enter('imgalg', 0x0, 0xbeae2c7c) CImgAlgo: error open engine. @1,593,160us: [+0 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> enter @1,593,352us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0xced0()... @1,593,701us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0xe388()... @1,593,921us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x100a8()... @1,594,179us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38430, 0x18) @1,594,390us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,594,568us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38450, 0x18) @1,594,750us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,594,917us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38470, 0x18) @1,595,145us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,595,327us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x1874c()... @1,595,508us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x12c14()... @1,595,690us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x137e8()... @1,595,869us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x15f20()... @1,596,049us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x13b9c()... @1,596,224us: [+0 T:0x4001ea00 S:0xbeae2c2c] OP - doCmd> Enter (cmdId=3, proc=0x0) @1,596,394us: [+0 T:0x4001ea00 S:0xbeae2c1c] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381c0] @1,596,737us: [+0 T:0x4001ea00 S:0xbeae2c2c] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x381c0] @1,596,949us: [+0 T:0x4001ea00 S:0xbeae2c0c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381d8] timeout[0xffffffff] @1,597,227us: [+1 T:0x40b02490 S:0x40b01d74] OP - daemon> thread created. @1,597,460us: [+0 T:0x40b02490 S:0x40b01d74] OP - getCmd_d> Enter (proc=0x40b01de8) @1,597,650us: [+0 T:0x40b02490 S:0x40b01d54] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381c0] timeout[0xffffffff] @1,597,878us: [+0 T:0x40b02490 S:0x40b01d54] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x381c0] status[0] @1,598,075us: [+0 T:0x40b02490 S:0x40b01d74] OP - getCmd_d> Exit (result=3) @1,598,260us: [+0 T:0x40b02490 S:0x40b01d64] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381d8] @1,598,473us: [+0 T:0x40b02490 S:0x40b01d74] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x381d8] Segmentation fault
你好,
下面链接的内容你是否有看过?
http://processors.wiki.ti.com/index.php/Configuring_Codec_Engine_in_Arm_apps_with_createFromServer
你好,log如下:
CE_DEBUG=3 ./timgalg_d hello0 hello1 @0,819,737us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - Global_init> This program was built with the following packages: @0,820,375us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package gnu.targets.rts470MV (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/rts470MV/) [1,0,0,0,1242339149665] @0,820,644us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codecs.iqmath (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/iqmath/) [2,1,0,1437018804000] @0,820,838us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.global (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/global/) [1,0,0,1240276693464] @0,821,018us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.xdais.dm (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/dm/) [1,0,5,1236972452910] @0,821,288us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.xdais (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/) [1,2,1,1236972427008] @0,821,467us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.node (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/node/) [1,0,0,1240276734858] @0,821,645us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.utils.trace (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/utils/trace/) [1,0,0,1240266922890] @0,821,822us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.utils.xdm (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/xdm/) [1,0,2,1240276919490] @0,821,999us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.global (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/global/) [1,0,0,1240266696499] @0,822,174us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.dman3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/dman3/) [1,0,4,1240266658662] @0,822,350us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.linuxutils.cmem (/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/) [2,2,0,1240253001679] @0,822,525us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.memutils (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/memutils/) [1,0,0,1240266801007] @0,822,702us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.fc.acpy3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/acpy3/) [1,0,4,1240266659108] @0,822,877us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package dsplink.gpp (/opt/dvsdk_2_00_00_22/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/) [5,0,0,1436427730000] @0,823,048us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package gnu.targets (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/) [1,0,1,1242339114958] @0,823,229us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.catalog.arm (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/catalog/arm/) [1,0,1,0,0] @0,823,403us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.platforms.evmDM6446 (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/platforms/evmDM6446/) [1,0,0,1,0] @0,823,577us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.osal (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/) [2,0,2,1240276730877] @0,823,753us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.osal.linux (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1240276736840] @0,823,927us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.ipc (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/) [2,0,1,1240276698961] @0,824,102us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.ipc.dsplink (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1240276714152] @0,824,280us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.alg (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/alg/) [1,0,1,1240276276798] @0,824,453us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/) [1,0,6,1240276276491] @1,239,684us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.image (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/image/) [1,0,3,1240276700525] @1,239,931us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codecs.evaluate (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/package/codecs/evaluate/) [1,0,0,1437018806000] @1,240,131us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.bioslog (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/bioslog/) [1,0,1,1240276303166] @1,240,317us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package ti.sdo.ce.utils.trace (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/trace/) [1,0,1,1240276915917] @1,240,498us: [+4 T:0x4001ea00 S:0xbeae2c44] OG - package codec_config (/home/eric/workplace-share/dvsdk-space/image_fun_IMGDEC/test_bench/codec_config/) [] @1,240,801us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x197ac) @1,241,076us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x18bf8) @1,241,355us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x18) @1,241,641us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x380f0) @1,242,208us: [+0 T:0x4001ea00 S:0xbeae2c3c] OG - Global_atexit> enter (fxn=0x16b28) @1,242,577us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,242,798us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38140) @1,242,982us: [+0 T:0x4001ea00 S:0xbeae2c34] OG - Global_atexit> enter (fxn=0x159d4) @1,243,179us: [+0 T:0x4001ea00 S:0xbeae2c3c] OG - Global_atexit> enter (fxn=0x1825c) @1,243,476us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,243,667us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x14) @1,243,924us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381c0) @1,244,150us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381c0] @1,244,337us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,244,499us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x14) @1,244,672us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381d8) @1,244,836us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x381d8] @1,245,004us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> Enter(0x18) @1,245,225us: [+0 T:0x4001ea00 S:0xbeae2c1c] OM - Memory_alloc> return (0x381f0) @1,245,407us: [+0 T:0x4001ea00 S:0xbeae2c14] OT - Thread_create> Enter (fxn=0x141ac, attrs=0x0) @1,245,584us: [+0 T:0x4001ea00 S:0xbeae2bfc] OM - Memory_alloc> Enter(0x64) @1,245,762us: [+0 T:0x4001ea00 S:0xbeae2bfc] OM - Memory_alloc> return (0x38210) @1,246,789us: [+0 T:0x4001ea00 S:0xbeae2c14] OT - Thread_create> Exit (task=0x38210) @1,247,037us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x13b9c) @1,247,263us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x15f20) @1,247,559us: [+0 T:0x4001ea00 S:0xbeae2c34] ti.sdo.ce.alg - ALG_init> Enter @1,247,750us: [+0 T:0x4001ea00 S:0xbeae2c24] OG - Global_atexit> enter (fxn=0x137e8) @1,247,937us: [+0 T:0x4001ea00 S:0xbeae2c54] ti.sdo.ce.alg - ALG_init> Exit @1,248,155us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x12c14) @1,248,359us: [+0 T:0x4001ea00 S:0xbeae2c24] OM - Memory_alloc> Enter(0x18) @1,248,546us: [+0 T:0x4001ea00 S:0xbeae2c24] OM - Memory_alloc> return (0x383f0) @1,248,724us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0x1874c) @1,249,044us: [+6 T:0x4001ea00 S:0xbeae2c44] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max) @1,249,268us: [+0 T:0x4001ea00 S:0xbeae2c34] OG - Global_atexit> enter (fxn=0x100a8) @1,249,500us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,249,867us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38430) @1,590,917us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,591,159us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38450) @1,591,354us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> Enter(0x18) @1,591,537us: [+0 T:0x4001ea00 S:0xbeae2c14] OM - Memory_alloc> return (0x38470) @1,591,809us: [+0 T:0x4001ea00 S:0xbeae2c4c] CS - Server_init() @1,591,994us: [+0 T:0x4001ea00 S:0xbeae2c4c] CS - Server_init> Global_useLinkArbiter = 0 @1,592,205us: [+0 T:0x4001ea00 S:0xbeae2c4c] OG - Global_atexit> enter (fxn=0xe388) @1,592,529us: [+0 T:0x4001ea00 S:0xbeae2c5c] OG - Global_atexit> enter (fxn=0xced0) @1,592,810us: [+0 T:0x4001ea00 S:0xbeae2c0c] CE - Engine_open> Enter('imgalg', 0x0, 0xbeae2c7c) CImgAlgo: error open engine. @1,593,160us: [+0 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> enter @1,593,352us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0xced0()... @1,593,701us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0xe388()... @1,593,921us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x100a8()... @1,594,179us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38430, 0x18) @1,594,390us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,594,568us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38450, 0x18) @1,594,750us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,594,917us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> Enter(0x38470, 0x18) @1,595,145us: [+0 T:0x4001ea00 S:0xbeae2c2c] OM - Memory_free> return (0x1) @1,595,327us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x1874c()... @1,595,508us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x12c14()... @1,595,690us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x137e8()... @1,595,869us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x15f20()... @1,596,049us: [+2 T:0x4001ea00 S:0xbeae2c5c] OG - Global_exit> calling function *0x13b9c()... @1,596,224us: [+0 T:0x4001ea00 S:0xbeae2c2c] OP - doCmd> Enter (cmdId=3, proc=0x0) @1,596,394us: [+0 T:0x4001ea00 S:0xbeae2c1c] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381c0] @1,596,737us: [+0 T:0x4001ea00 S:0xbeae2c2c] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x381c0] @1,596,949us: [+0 T:0x4001ea00 S:0xbeae2c0c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381d8] timeout[0xffffffff] @1,597,227us: [+1 T:0x40b02490 S:0x40b01d74] OP - daemon> thread created. @1,597,460us: [+0 T:0x40b02490 S:0x40b01d74] OP - getCmd_d> Enter (proc=0x40b01de8) @1,597,650us: [+0 T:0x40b02490 S:0x40b01d54] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x381c0] timeout[0xffffffff] @1,597,878us: [+0 T:0x40b02490 S:0x40b01d54] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x381c0] status[0] @1,598,075us: [+0 T:0x40b02490 S:0x40b01d74] OP - getCmd_d> Exit (result=3) @1,598,260us: [+0 T:0x40b02490 S:0x40b01d64] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x381d8] @1,598,473us: [+0 T:0x40b02490 S:0x40b01d74] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x381d8] Segmentation fault
你好,
不好意思,我不大懂你说的“不修改memory的分配”是什么意思?我现在没有在arm端的cfg文件中osalGlobal.armDspLinkConfig来修改内存了,而是直接用Engine.createFromServer()来从dsp端获取内存分布内容的。
算法内容只是一个“hello_world”程序,之前我是用dvevm1.20版本环境的,现在我需要升级dvsdk到2.0版本,目前我正在做这方面的的环境测试,测试可以了,我再会一步步移植我自己的算法。
你好,
我的意思是,你在新的DVSDK里面,使用配套的CE下面的example(不修改代码),能否编译一个可以正常open engine的X64P?
你好,
我将dvsdk2.0/codec_engine_2_23_01/examples中的video_copy编译了一遍(什么都没有改),运行的时候提示以下错误:
(在串口中打印的信息)
./app.out App-> Application started. DSP-side configuration mismatch/failure 0 -> success Positive value -> DSP-side failure code. (Uint32) -1 -> DSP-side component was not initialized. ProcId received : 0, Expected : 0 DRV configuration status [0x0] IPS configuration status [0x0] POOL configuration status [0x0] MPCS configuration status [0x0] MPLIST configuration status [0x0] MQT configuration status [0x0] DATA configuration status [0xffffffff] RINGIO configuration status [0xffffffff] Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c13d0000 [00000000] *pgd=80560031, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] Modules linked in: dsplinkk cmemk CPU: 0 PC is at __wake_up_common+0x18/0x78 LR is at __wake_up+0x40/0x80 pc : [<c0041e50>] lr : [<c0043734>] Tainted: GF sp : c0d81bf0 ip : 00000000 fp : c0d81c1c r10: 00000800 r9 : c0d81c40 r8 : 00000800 r7 : c0fb6410 r6 : c0fb5aa0 r5 : c04bca60 r4 : 00000013 r3 : 00000001 r2 : 00000001 r1 : 00000006 r0 : c00000f0 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user Control: 5317F Table: 813D0000 DAC: 00000015 Process app.out (pid: 528, stack limit = 0xc0d80258) Stack: (0xc0d81bf0 to 0xc0d82000) 1be0: 00000116 00000013 c04bca60 c0fb5aa0 1c00: c0fb6410 00000800 00000205 00000800 c0d81c3c c0d81c20 c0043734 c0041e48 1c20: c0d81c40 c0d81c30 c003a750 c04bca60 c0d81c54 c0d81c40 c005e9a4 c0043704 1c40: c04bca60 00000000 c0d81c6c c0d81c58 c0071394 c005e980 c0fb5aa0 00000800 1c60: c0d81cb4 c0d81c70 c020a2f8 c007135c 00000000 c0c2ad88 00001024 00000000 1c80: 00000000 00000000 c0095e8c c0c2ac80 c0fb5aa0 c0b98ae0 00000008 00000008 1ca0: 00000014 c0fb5aa0 c0d81cfc c0d81cb8 c01bf22c c020a198 0000000a 00000004 1cc0: c0d81cec c0d81cd0 c009617c c0095f2c 00000000 000000ff 00000004 00000000 1ce0: c04913a0 c0024680 00000000 00000000 c0d81d54 c0d81d00 c01c1cf0 c01bf0c4 1d00: 00000001 c0fb5aa0 c00245e0 c0c2ac80 00000001 00000450 00000812 00000813 1d20: 00000814 00000815 00000044 c0fb5aa0 00000000 c04913a0 c0024680 00000000 1d40: c11d15e0 00000113 c0d81d64 c0d81d58 c00b8308 c01c1bf4 c0d81dc4 c0d81d68 1d60: c00b8e8c c00b82f4 c0d81d78 c0d81da8 c00f3ab4 c04913a0 00000000 00000113 1d80: c04913a0 00000815 00000400 00000113 c0c2ac80 c0d81da0 c0071710 c01cdf98 1da0: 00000000 c04913a0 0000044f 00000815 c0d81dd4 00000000 c0d81dd4 c0d81dc8 1dc0: c00f2998 c00b8e28 c0d81e04 c0d81dd8 c00718d4 c00f2990 c00786dc 00000000 1de0: 00000001 c0d80000 c11d15e0 00000113 c0024680 c11d1624 c0d81e54 c0d81e08 1e00: c00745e4 c0071858 c0490c40 00000989 00000400 c0d81e84 c0c56e38 c00245e0 1e20: 00000001 00000003 c01cd3cc c0d80000 00000000 00000000 c0c56e38 40158000 1e40: c0024680 40158000 c0d81eb4 c0d81e58 c007eab4 c00743c4 0000000a 0000000a 1e60: c05648b8 c05648b8 00000000 c0e456e0 00000560 c13d1000 c0644d60 00000000 1e80: c0d81edc 00000002 c003a5a0 40158000 c03b2be0 c0c56e38 c0c083a0 c0e45714 1ea0: c0d81fb0 401583b4 c0d81efc c0d81eb8 c0039c6c c007e74c c0490c40 00000000 1ec0: c05648b8 00000000 00000017 c0e456e0 c0d81f3c ffffffff c03b2be0 00000017 1ee0: c0d81fb0 401583b4 00000294 00000000 c0d81fac c0d81f00 c0039f80 c0039b44 1f00: c0ee2dc8 00000000 00000003 00000003 00000001 41172000 41172000 00000003 1f20: c0d81f3c c0d81f30 c0062e5c c01d12ac c0d81f84 c0d81f40 c0039d38 c0062e5c 1f40: c0062e48 4117c860 00000003 00000000 00000000 c0e456e0 400707c0 ffffffff 1f60: 40968e40 409696b8 400441cc 00000050 00000004 00030100 c0d81f9c c0d81f88 1f80: c0039e90 c0039b44 c0d80000 ffffffff 4117c768 409696b8 00000009 00000294 1fa0: 00000000 c0d81fb0 c0032d88 c0039f54 40157964 00000000 000014af 00000294 1fc0: 400707be 4117c768 409696b8 00000009 00000294 00000294 00000000 40968730 1fe0: 00000a50 409684c0 0000014a 41172630 20000010 ffffffff 92142b01 60260003 Backtrace: [<c0041e38>] (__wake_up_common+0x0/0x78) from [<c0043734>] (__wake_up+0x40/0x80) [<c00436f4>] (__wake_up+0x0/0x80) from [<c005e9a4>] (__wake_up_bit+0x34/0x3c) r4 = C04BCA60 [<c005e970>] (__wake_up_bit+0x0/0x3c) from [<c0071394>] (unlock_page+0x48/0x4c) [<c007134c>] (unlock_page+0x0/0x4c) from [<c020a2f8>] (rd_make_request+0x170/0x214) r4 = 00000800 [<c020a188>] (rd_make_request+0x0/0x214) from [<c01bf22c>] (generic_make_request+0x178/0x190) [<c01bf0b4>] (generic_make_request+0x0/0x190) from [<c01c1cf0>] (submit_bio+0x10c/0x128) r8 = 00000000 r7 = 00000000 r6 = C0024680 r5 = C04913A0 r4 = 00000000 [<c01c1be4>] (submit_bio+0x0/0x128) from [<c00b8308>] (mpage_bio_submit+0x24/0x34) [<c00b82e4>] (mpage_bio_submit+0x0/0x34) from [<c00b8e8c>] (mpage_readpage+0x74/0x80) [<c00b8e18>] (mpage_readpage+0x0/0x80) from [<c00f2998>] (ext2_readpage+0x18/0x20) r4 = 00000000 [<c00f2980>] (ext2_readpage+0x0/0x20) from [<c00718d4>] (page_cache_read+0x8c/0xc0) [<c0071848>] (page_cache_read+0x0/0xc0) from [<c00745e4>] (filemap_nopage+0x230/0x43c) [<c00743b4>] (filemap_nopage+0x0/0x43c) from [<c007eab4>] (__handle_mm_fault+0x378/0x8e0) [<c007e73c>] (__handle_mm_fault+0x0/0x8e0) from [<c0039c6c>] (do_page_fault+0x138/0x2bc) [<c0039b34>] (do_page_fault+0x0/0x2bc) from [<c0039f80>] (do_DataAbort+0x3c/0xa0) [<c0039f44>] (do_DataAbort+0x0/0xa0) from [<c0032d88>] (ret_from_exception+0x0/0x10) r8 = 00000294 r7 = 00000009 r6 = 409696B8 r5 = 4117C768 r4 = FFFFFFFF Code: e24cb004 e24dd004 e590c000 e59b9004 (e59c5000) @0x000e8712:[T:0<6>note: app.out[528] exited with preempt_count 1 x40969490] OP - Processor_createUnable to handle kernel NULL pointer dereference at virtual address 00000360 pgd = c05a0000 [00000360] *pgd=805d1031, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#2] Modules linked in: dsplinkk cmemk CPU: 0 PC is at __wake_up_common+0x18/0x78 LR is at __wake_up+0x40/0x80 pc : [<c0041e50>] lr : [<c0043734>] Tainted: GF sp : c05afda8 ip : 00000360 fp : c05afdd4 r10: c002f860 r9 : c05afdf8 r8 : 40020000 r7 : c05d4880 r6 : c002d700 r5 : c048eb80 r4 : 00000013 r3 : 00000001 r2 : 00000001 r1 : 00000006 r0 : c00000b0 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user Control: 5317F Table: 805A0000 DAC: 00000015 Process sh (pid: 378, stack limit = 0xc05ae258) Stack: (0xc05afda8 to 0xc05b0000) fda0: 00000020 00000013 c048eb80 c002d700 c05d4880 40020000 fdc0: c05a1000 c002f860 c05afdf4 c05afdd8 c0043734 c0041e48 c05afdf8 00001500 fde0: 00000005 c048eb80 c05afe0c c05afdf8 c005e9a4 c0043704 c048eb80 00000000 fe00: c05afe24 c05afe10 c0071394 c005e980 c05a1000 00000000 c05afe54 c05afe28 fe20: c007e018 c007135c c05afe4c c05a1000 80c5c0df c05ae000 c002d700 40020000 fe40: c05a0000 00001000 c05afeb4 c05afe58 c007ee78 c007ded0 c05a1000 c002f8a0 fe60: 80c5c0df c00aa524 00000800 c002f860 00000080 c05a1000 c05d4880 c05afe88 fe80: c00aa7a0 c00aa6d8 c0c08960 40020000 c03b2c60 c002d700 c0fbb980 c002f894 fea0: c05affb0 40020000 c05afefc c05afeb8 c0039c6c c007e74c c0c08960 c0c08960 fec0: c05afedc 00000800 0000081f c002f860 c05aff0c ffffffff c03b2c60 0000081f fee0: c05affb0 40020000 4001e5c0 00000000 c05affac c05aff00 c0039f80 c0039b44 ff00: beeed978 00005413 c09a9980 00000000 c05ae000 00000000 c05aff44 c05aff28 ff20: c00a4e7c c03406f0 c0fbba38 c09a9980 00000000 beeed978 c05aff74 00000000 ff40: 0000001c 000000ae c0032f88 beeed738 00000014 00000000 beeed738 c00559a8 ff60: 00000000 14000000 401447a0 08000000 00000000 0003f96c 14000000 401447a0 ff80: 08000000 00000000 beeed868 ffffffff 00075144 4023a620 00000002 00075144 ffa0: 00000000 c05affb0 c0032d88 c0039f54 40020000 00075144 00000000 00000023 ffc0: 00000002 00075144 4023a620 00000002 00075144 4001e5c0 00000000 0006b958 ffe0: 00000000 beeed968 40170c08 4017d854 20000010 ffffffff 00000000 00000000 Backtrace: [<c0041e38>] (__wake_up_common+0x0/0x78) from [<c0043734>] (__wake_up+0x40/0x80) [<c00436f4>] (__wake_up+0x0/0x80) from [<c005e9a4>] (__wake_up_bit+0x34/0x3c) r4 = C048EB80 [<c005e970>] (__wake_up_bit+0x0/0x3c) from [<c0071394>] (unlock_page+0x48/0x4c) [<c007134c>] (unlock_page+0x0/0x4c) from [<c007e018>] (do_wp_page+0x158/0x574) r4 = 00000000 [<c007dec0>] (do_wp_page+0x0/0x574) from [<c007ee78>] (__handle_mm_fault+0x73c/0x8e0) [<c007e73c>] (__handle_mm_fault+0x0/0x8e0) from [<c0039c6c>] (do_page_fault+0x138/0x2bc) [<c0039b34>] (do_page_fault+0x0/0x2bc) from [<c0039f80>] (do_DataAbort+0x3c/0xa0) [<c0039f44>] (do_DataAbort+0x0/0xa0) from [<c0032d88>] (ret_from_exception+0x0/0x10) r8 = 00075144 r7 = 00000002 r6 = 4023A620 r5 = 00075144 r4 = FFFFFFFF Code: e24cb004 e24dd004 e590c000 e59b9004 (e59c5000) _d> Loading and <6>note: sh[378] exited with preempt_count 2 starting DSP serBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 ver 'video_copy.x64P' FAILED, status=[0x80008052] (look for error code 'DSP_EBASE + 0x52' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h) @0x000e89f5:[T:0x40969490] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008000. @0x000e8af2:[T:0x409694BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 90] OP - ProcessBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 or_delete_d> StoBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 pping DSP FAILEDBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 , status=0x80008BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 000 @0x000eafb3BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 :[T:0x4001df50] BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 CE - rserverOpenBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 : can't start 'vBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 ideo_copy.x64P';BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 Processor_creatBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 e failed CEapp-BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 > ERROR: can't oBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 pen engine videoBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 _copy App-> AppBUG: scheduling while atomic: sh/0x00000002/378, CPU#0 lication FAILED.BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 BUG: scheduling while atomic: sh/0x00000002/378, CPU#0 Unable to handle kernel NULL pointer dereference at virtual address 00000240 pgd = c05a0000 [00000240] *pgd=80590031, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#3] Modules linked in: dsplinkk cmemk CPU: 0 PC is at __wake_up_common+0x18/0x78 LR is at __wake_up+0x40/0x80 pc : [<c0041e50>] lr : [<c0043734>] Tainted: GF sp : c09f5da8 ip : 00000240 fp : c09f5dd4 r10: c002f860 r9 : c09f5df8 r8 : 4023b000 r7 : c058b8ec r6 : c05cdf40 r5 : c0481d60 r4 : 00000013 r3 : 00000001 r2 : 00000001 r1 : 00000006 r0 : c0000098 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user Control: 5317F Table: 805A0000 DAC: 00000015 Process init (pid: 533, stack limit = 0xc09f4258) Stack: (0xc09f5da8 to 0xc09f6000) 5da0: 000200d2 00000013 c0481d60 c05cdf40 c058b8ec 4023b000 5dc0: c05a1008 c002f860 c09f5df4 c09f5dd8 c0043734 c0041e48 c09f5df8 c002d6a8 5de0: 00000109 c0481d60 c09f5e0c c09f5df8 c005e9a4 c0043704 c0481d60 00000000 5e00: c09f5e24 c09f5e10 c0071394 c005e980 c05a1008 00000001 c09f5e54 c09f5e28 5e20: c007e018 c007135c c09f5e4c c05a1008 805eb0dd c09f4000 c05cdf40 4023b000 5e40: c05a0000 00001008 c09f5eb4 c09f5e58 c007ee78 c007ded0 c05a1008 c002f8a0 5e60: 805eb0dd c002d6a8 00000800 c002f860 000000ec c05a1008 c058b8ec 00000000 5e80: c09f5edc 00000002 c003a5a0 4023b000 c03b2be0 c05cdf40 c0c08960 c002f894 5ea0: c09f5fb0 4023b034 c09f5efc c09f5eb8 c0039c6c c007e74c c04818a0 00000000 5ec0: c002d6a8 00000800 00000817 c002f860 c09f5f3c ffffffff c03b2be0 00000817 5ee0: c09f5fb0 4023b034 00000000 4023a000 c09f5fac c09f5f00 c0039f80 c0039b44 5f00: c05cedfc 00000000 00000000 00000002 00000000 4017f000 4017f000 00000002 5f20: c09f5f3c c09f5f30 c0062e5c c01d12ac c09f5f84 c09f5f40 c0039d38 c0062e5c 5f40: c09f5fac c09f5f50 c003298c 00000000 00000000 c002f860 00000215 ffffffff 5f60: fffe8994 00000001 00000078 bebf66c0 00000000 4023a000 c09f5f9c c09f5f88 5f80: c0039e90 c0039b44 c0043e30 ffffffff fffe8994 00000001 00000078 bebf66c0 5fa0: 00000000 c09f5fb0 c0032d88 c0039f54 00000000 00000000 00000000 bebf66ec 5fc0: 4023a6c0 fffe8994 00000001 00000078 bebf66c0 00000000 4023a000 bebf671c 5fe0: 40222994 bebf66c0 4023b034 401aa294 80000010 ffffffff 00000000 00000000 Backtrace: [<c0041e38>] (__wake_up_common+0x0/0x78) from [<c0043734>] (__wake_up+0x40/0x80) [<c00436f4>] (__wake_up+0x0/0x80) from [<c005e9a4>] (__wake_up_bit+0x34/0x3c) r4 = C0481D60 [<c005e970>] (__wake_up_bit+0x0/0x3c) from [<c0071394>] (unlock_page+0x48/0x4c) [<c007134c>] (unlock_page+0x0/0x4c) from [<c007e018>] (do_wp_page+0x158/0x574) r4 = 00000001 [<c007dec0>] (do_wp_page+0x0/0x574) from [<c007ee78>] (__handle_mm_fault+0x73c/0x8e0) [<c007e73c>] (__handle_mm_fault+0x0/0x8e0) from [<c0039c6c>] (do_page_fault+0x138/0x2bc) [<c0039b34>] (do_page_fault+0x0/0x2bc) from [<c0039f80>] (do_DataAbort+0x3c/0xa0) [<c0039f44>] (do_DataAbort+0x0/0xa0) from [<c0032d88>] (ret_from_exception+0x0/0x10) r8 = BEBF66C0 r7 = 00000078 r6 = 00000001 r5 = FFFE8994 r4 = FFFFFFFF Code: e24cb004 e24dd004 e590c000 e59b9004 (e59c5000) <6>note: init[533] exited with preempt_count 2 Unable to handle kernel NULL pointer dereference at virtual address 00000240 pgd = c0fa0000 [00000240] *pgd=8002a031, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#4] Modules linked in: dsplinkk cmemk CPU: 0 PC is at __wake_up_common+0x18/0x78 LR is at __wake_up+0x40/0x80 pc : [<c0041e50>] lr : [<c0043734>] Tainted: GF sp : c0509da8 ip : 00000240 fp : c0509dd4 r10: c002fd40 r9 : c0509df8 r8 : 4023b000 r7 : c115c8ec r6 : c002de90 r5 : c0481d60 r4 : 00000013 r3 : 00000001 r2 : 00000001 r1 : 00000006 r0 : c0000098 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user Control: 5317F Table: 80FA0000 DAC: 00000015 Process init (pid: 1, stack limit = 0xc0508258) Stack: (0xc0509da8 to 0xc050a000) 9da0: c03b6bc4 00000013 c0481d60 c002de90 c115c8ec 4023b000 9dc0: c0fa1008 c002fd40 c0509df4 c0509dd8 c0043734 c0041e48 c0509df8 00000000 9de0: c0509e44 c0481d60 c0509e0c c0509df8 c005e9a4 c0043704 c0481d60 00000000 9e00: c0509e24 c0509e10 c0071394 c005e980 c0fa1008 00000000 c0509e54 c0509e28 9e20: c007e018 c007135c c0509e54 c0fa1008 805eb0df c0508000 c002de90 4023b000 9e40: c0fa0000 00001008 c0509eb4 c0509e58 c007ee78 c007ded0 c0fa1008 c002fd80 9e60: 805eb0df 0040004c 00000800 c002fd40 000000ec c0fa1008 c115c8ec c0508000 9e80: c0505bc0 00000017 c0509eac 4023b000 c03b2c60 c002de90 c0505bc0 c002fd74 9ea0: c0509fb0 4023b004 c0509efc c0509eb8 c0039c6c c007e74c 00000009 c0505cd0 9ec0: c0509edc 00000800 0000081f c002fd40 ffffffff ffffffff c03b2c60 0000081f 9ee0: c0509fb0 4023b004 00000215 4023a000 c0509fac c0509f00 c0039f80 c0039b44 9f00: c0509f3c c0509f10 c0044644 c033e3d8 c0509f94 40000013 bebf66c0 00000000 9f20: c0c08960 01200011 00000000 00000215 c0509f8c c0509f40 c00469fc c00443f8 9f40: 00000000 4001e608 00000215 c0509f58 c0055b00 c005562c c0509f7c 00000000 9f60: bebf6c30 4001e608 00000000 00000001 00000078 c0032f88 c0508000 00000000 9f80: c0509fa4 c0509f90 c0036828 ffffffff 4023a000 00001000 00000078 bebf66c0 9fa0: 00000000 c0509fb0 c0032d88 c0039f54 00000215 00000000 4023b000 00000000 9fc0: 4001e608 4023a000 00001000 00000078 bebf66c0 00000215 4023a000 bebf671c 9fe0: 4001ea60 bebf66a8 401aa364 4017f694 60000010 ffffffff 1a000005 e3c1301d Backtrace: [<c0041e38>] (__wake_up_common+0x0/0x78) from [<c0043734>] (__wake_up+0x40/0x80) [<c00436f4>] (__wake_up+0x0/0x80) from [<c005e9a4>] (__wake_up_bit+0x34/0x3c) r4 = C0481D60 [<c005e970>] (__wake_up_bit+0x0/0x3c) from [<c0071394>] (unlock_page+0x48/0x4c) [<c007134c>] (unlock_page+0x0/0x4c) from [<c007e018>] (do_wp_page+0x158/0x574) r4 = 00000000 [<c007dec0>] (do_wp_page+0x0/0x574) from [<c007ee78>] (__handle_mm_fault+0x73c/0x8e0) [<c007e73c>] (__handle_mm_fault+0x0/0x8e0) from [<c0039c6c>] (do_page_fault+0x138/0x2bc) [<c0039b34>] (do_page_fault+0x0/0x2bc) from [<c0039f80>] (do_DataAbort+0x3c/0xa0) [<c0039f44>] (do_DataAbort+0x0/0xa0) from [<c0032d88>] (ret_from_exception+0x0/0x10) r8 = BEBF66C0 r7 = 00000078 r6 = 00001000 r5 = 4023A000 r4 = FFFFFFFF Code: e24cb004 e24dd004 e590c000 e59b9004 (e59c5000) <0>Kernel panic - not syncing: Attempted to kill init!
然后我又试过只是修改video_copy中dsp端的tcf文件中的mem_ext,修改成我目前设备的内存分布格局,运行的时候提示以下错误:
# CE_DEBUG=3 ./app.out App-> Application started. @0,917,646us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - Global_init> This program was built with the following packages: @0,918,194us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package gnu.targets.rts470MV (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/rts470MV/) [1,0,0,0,1242339149665] @0,918,409us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.global (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/global/) [1,0,0,1240276693464] @0,918,584us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package dsplink.gpp (/opt/dvsdk_2_00_00_22/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/) [5,0,0,1436427730000] @0,918,752us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.linuxutils.cmem (/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/) [2,2,0,1240253001679] @0,919,015us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package gnu.targets (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/gnu/targets/) [1,0,1,1242339114958] @0,919,202us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.utils.trace (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/utils/trace/) [1,0,0,1240266922890] @0,919,371us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.xdais.dm (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/dm/) [1,0,5,1236972452910] @0,919,534us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.xdais (/opt/dvsdk_2_00_00_22/xdais_6_23/packages/ti/xdais/) [1,2,1,1236972427008] @0,919,887us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.node (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/node/) [1,0,0,1240276734858] @0,920,071us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.utils.xdm (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/xdm/) [1,0,2,1240276919490] @0,920,250us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.fc.global (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/global/) [1,0,0,1240266696499] @0,920,420us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.fc.dman3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/dman3/) [1,0,4,1240266658662] @0,920,592us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.fc.memutils (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/memutils/) [1,0,0,1240266801007] @0,920,760us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.fc.acpy3 (/opt/dvsdk_2_00_00_22/framework_components_2_23_01/packages/ti/sdo/fc/acpy3/) [1,0,4,1240266659108] @0,920,925us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.catalog.arm (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/catalog/arm/) [1,0,1,0,0] @0,921,087us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.platforms.evmDM6446 (/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/ti/platforms/evmDM6446/) [1,0,0,1,0] @0,921,255us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.osal (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/) [2,0,2,1240276730877] @0,921,423us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.osal.linux (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1240276736840] @0,921,590us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.ipc (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/) [2,0,1,1240276698961] @0,921,754us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.ipc.dsplink (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1240276714152] @0,921,917us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.alg (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/alg/) [1,0,1,1240276276798] @0,922,081us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/) [1,0,6,1240276276491] @0,922,246us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.video (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/video/) [1,0,3,1240276930771] @1,319,687us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.examples.codecs.viddec_copy (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec_copy/) [1,0,0,1435648842000] @1,319,938us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.examples.codecs.videnc_copy (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/videnc_copy/) [1,0,0,1435648724000] @1,320,131us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.bioslog (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/bioslog/) [1,0,1,1240276303166] @1,320,305us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ti.sdo.ce.utils.trace (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/packages/ti/sdo/ce/utils/trace/) [1,0,1,1240276915917] @1,320,477us: [+4 T:0x4001df50 S:0xbecf5c9c] OG - package ceapp (/opt/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/ce/examples/apps/video_copy/dualcpu/evmDM6446/ceapp/) [] @1,320,744us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x1a548) @1,320,995us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x19994) @1,321,342us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> Enter(0x18) @1,321,598us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> return (0x323d0) @1,322,092us: [+0 T:0x4001df50 S:0xbecf5c94] OG - Global_atexit> enter (fxn=0x178c4) @1,322,462us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> Enter(0x18) @1,322,676us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> return (0x32420) @1,322,853us: [+0 T:0x4001df50 S:0xbecf5c8c] OG - Global_atexit> enter (fxn=0x16770) @1,323,154us: [+0 T:0x4001df50 S:0xbecf5c94] OG - Global_atexit> enter (fxn=0x18ff8) @1,323,485us: [+0 T:0x4001df50 S:0xbecf5c8c] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,323,681us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> Enter(0x14) @1,323,910us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> return (0x324a0) @1,324,122us: [+0 T:0x4001df50 S:0xbecf5c8c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x324a0] @1,324,306us: [+0 T:0x4001df50 S:0xbecf5c8c] ti.sdo.ce.osal.Sem - Sem_create> count: 0 @1,324,459us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> Enter(0x14) @1,324,627us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> return (0x324b8) @1,324,785us: [+0 T:0x4001df50 S:0xbecf5c8c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x324b8] @1,324,945us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> Enter(0x18) @1,325,110us: [+0 T:0x4001df50 S:0xbecf5c74] OM - Memory_alloc> return (0x324d0) @1,325,319us: [+0 T:0x4001df50 S:0xbecf5c6c] OT - Thread_create> Enter (fxn=0x14f48, attrs=0x0) @1,325,485us: [+0 T:0x4001df50 S:0xbecf5c54] OM - Memory_alloc> Enter(0x64) @1,325,649us: [+0 T:0x4001df50 S:0xbecf5c54] OM - Memory_alloc> return (0x324f0) @1,326,532us: [+0 T:0x4001df50 S:0xbecf5c6c] OT - Thread_create> Exit (task=0x324f0) @1,326,810us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x14938) @1,327,054us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x16cbc) @1,327,399us: [+0 T:0x4001df50 S:0xbecf5c8c] ti.sdo.ce.alg - ALG_init> Enter @1,327,591us: [+0 T:0x4001df50 S:0xbecf5c7c] OG - Global_atexit> enter (fxn=0x14584) @1,327,769us: [+0 T:0x4001df50 S:0xbecf5cac] ti.sdo.ce.alg - ALG_init> Exit @1,327,920us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x139b0) @1,328,156us: [+0 T:0x4001df50 S:0xbecf5c7c] OM - Memory_alloc> Enter(0x18) @1,328,337us: [+0 T:0x4001df50 S:0xbecf5c7c] OM - Memory_alloc> return (0x326d0) @1,328,506us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0x194e8) @1,328,800us: [+6 T:0x4001df50 S:0xbecf5c9c] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max) @1,329,007us: [+0 T:0x4001df50 S:0xbecf5c8c] OG - Global_atexit> enter (fxn=0x10e44) @1,329,189us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> Enter(0x18) @1,669,509us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> return (0x32710) @1,669,966us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> Enter(0x18) @1,670,175us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> return (0x32730) @1,670,353us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> Enter(0x18) @1,670,525us: [+0 T:0x4001df50 S:0xbecf5c6c] OM - Memory_alloc> return (0x32750) @1,670,825us: [+0 T:0x4001df50 S:0xbecf5ca4] CS - Server_init() @1,671,015us: [+0 T:0x4001df50 S:0xbecf5ca4] CS - Server_init> Global_useLinkArbiter = 0 @1,671,192us: [+0 T:0x4001df50 S:0xbecf5ca4] OG - Global_atexit> enter (fxn=0xf124) @1,671,495us: [+0 T:0x4001df50 S:0xbecf5cb4] OG - Global_atexit> enter (fxn=0xcb48) @1,671,812us: [+0 T:0x4001df50 S:0xbecf5c64] CE - Engine_open> Enter('video_copy', 0x0, 0xbecf5cd4) @1,672,020us: [+0 T:0x4001df50 S:0xbecf5c4c] OM - Memory_alloc> Enter(0x2c) @1,672,256us: [+0 T:0x4001df50 S:0xbecf5c4c] OM - Memory_alloc> return (0x327d0) @1,672,445us: [+0 T:0x4001df50 S:0xbecf5c64] CE - rserverOpen('video_copy.x64P'), count = 0 @1,672,615us: [+0 T:0x4001df50 S:0xbecf5c2c] OP - Processor_create> Enter(imageName='video_copy.x64P', linkCfg='(null)', attrs=0xbecf5cb8) @1,673,381us: [+0 T:0x4001df50 S:0xbecf5c14] OM - Memory_alloc> Enter(0x24) @1,673,662us: [+0 T:0x4001df50 S:0xbecf5c14] OM - Memory_alloc> return (0x32800) @1,673,854us: [+0 T:0x4001df50 S:0xbecf5c0c] OP - doCmd> Enter (cmdId=1, proc=0x32800) @1,674,024us: [+0 T:0x4001df50 S:0xbecf5bfc] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x324a0] @1,674,326us: [+0 T:0x4001df50 S:0xbecf5c0c] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x324a0] @1,674,539us: [+0 T:0x4001df50 S:0xbecf5bec] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x324b8] timeout[0xffffffff] @1,674,815us: [+1 T:0x40969490 S:0x40968d74] OP - daemon> thread created. @1,675,085us: [+0 T:0x40969490 S:0x40968d74] OP - getCmd_d> Enter (proc=0x40968de8) @1,675,286us: [+0 T:0x40969490 S:0x40968d54] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x324a0] timeout[0xffffffff] @1,675,476us: [+0 T:0x40969490 S:0x40968d54] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x324a0] status[0] @1,675,651us: [+0 T:0x40969490 S:0x40968d74] OP - getCmd_d> Exit (result=1) @1,675,817us: [+0 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Enter(proc=0x32800) @1,675,986us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Initializing DSP PROC... @1,676,164us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'video_copy.x64P'] @1,676,352us: [+0 T:0x40969490 S:0x40968d5c] OM - Memory_alloc> Enter(0xe0) @1,676,589us: [+0 T:0x40969490 S:0x40968d5c] OM - Memory_alloc> return (0x32828) @1,676,832us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x87b00000, sizeInBytes=0x300000, shared=1, syncd=0 @1,677,070us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x87e00000, sizeInBytes=0x100000, shared=1, syncd=0 @1,677,334us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x87f00000, sizeInBytes=0x80, shared=1, syncd=0 @1,677,558us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='DDRALGHEAP', startAddress=0x85000000, sizeInBytes=0x2b00000, shared=0, syncd=0 @1,677,770us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> DODSPCTRL was=1; now=0 @1,682,067us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Attaching to DSP PROC... @1,694,034us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Opening MSGQ pool... @1,694,867us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Loading video_copy.x64P on DSP (1 args)... @1,725,404us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Starting DSP PROC... DSP-side configuration mismatch/failure 0 -> success Positive value -> DSP-side failure code. (Uint32) -1 -> DSP-side component was not initialized. ProcId received : 0, Expected : 0 DRV configuration status [0xffffffff] IPS configuration status [0xffffffff] POOL configuration status [0xffffffff] MPCS configuration status [0xffffffff] MPLIST configuration status [0xffffffff] MQT configuration status [0xffffffff] DATA configuration status [0xffffffff] RINGIO configuration status [0xffffffff] @24,915,599us: [+7 T:0x40969490 S:0x40968d74] OP - Processor_create_d> Loading and starting DSP server 'video_copy.x64P' FAILED, status=[0x80008052] (look for error code 'DSP_EBASE + 0x52' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h) @24,915,924us: [+0 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Enter (proc=0x32800) @24,916,116us: [+2 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Closing remote transport... @24,916,404us: [+6 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008000. @24,916,618us: [+2 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Stopping DSP... @24,916,822us: [+6 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008000 @24,917,009us: [+2 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Closing pool... @24,917,765us: [+2 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Detaching from DSP... @24,925,437us: [+2 T:0x40969490 S:0x40968d5c] OP - Processor_delete_d> Destroying DSP... (object, that is) @24,927,106us: [+0 T:0x40969490 S:0x40968d3c] OM - Memory_free> Enter(0x32828, 0x0) @24,927,370us: [+0 T:0x40969490 S:0x40968d3c] OM - Memory_free> return (0x1) @24,927,555us: [+0 T:0x40969490 S:0x40968d74] OP - Processor_delete_d> return @24,927,725us: [+2 T:0x40969490 S:0x40968d74] OP - Processor_create_d> return (0) @24,927,895us: [+0 T:0x40969490 S:0x40968d64] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x324b8] @24,928,178us: [+0 T:0x4001df50 S:0xbecf5bec] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x324b8] status[0] @24,928,389us: [+0 T:0x4001df50 S:0xbecf5c0c] OP - doCmd> Exit (result=2) @24,928,551us: [+0 T:0x4001df50 S:0xbecf5c14] OP - Processor_delete> Enter(proc=0x32800) @24,928,713us: [+1 T:0x4001df50 S:0xbecf5c14] OP - Processor_delete(0x32800) freeing object ... @24,928,868us: [+0 T:0x4001df50 S:0xbecf5bf4] OM - Memory_free> Enter(0x32800, 0x24) @24,929,034us: [+0 T:0x4001df50 S:0xbecf5bf4] OM - Memory_free> return (0x1) @24,929,196us: [+0 T:0x4001df50 S:0xbecf5c2c] OP - Processor_delete> return. @24,929,344us: [+6 T:0x4001df50 S:0xbecf5c64] CE - rserverOpen: can't start 'video_copy.x64P'; Processor_create failed @24,929,513us: [+0 T:0x4001df50 S:0xbecf5c64] CE - rserverOpen('video_copy.x64P'): 0x0 done. @24,929,889us: [+0 T:0x4001df50 S:0xbecf5c44] CE - Engine_close(0x327d0) @24,930,078us: [+0 T:0x4001df50 S:0xbecf5c44] OM - Memory_free> Enter(0x327d0, 0x2c) @24,930,265us: [+0 T:0x4001df50 S:0xbecf5c44] OM - Memory_free> return (0x1) @24,930,429us: [+0 T:0x4001df50 S:0xbecf5c64] CE - Engine_open> return(0) CEapp-> ERROR: can't open engine video_copy App-> Application FAILED. @24,931,034us: [+0 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> enter @24,931,229us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0xcb48()... @24,931,436us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0xf124()... @24,931,620us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x10e44()... @24,931,836us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> Enter(0x32710, 0x18) @24,932,033us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> return (0x1) @24,932,206us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> Enter(0x32730, 0x18) @24,932,380us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> return (0x1) @24,932,587us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> Enter(0x32750, 0x18) @24,932,762us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> return (0x1) @24,932,929us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x194e8()... @24,933,101us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x139b0()... @24,933,272us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x14584()... @24,933,439us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x16cbc()... @24,933,604us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x14938()... @24,933,798us: [+0 T:0x4001df50 S:0xbecf5cbc] OP - doCmd> Enter (cmdId=3, proc=0x0) @24,934,001us: [+0 T:0x4001df50 S:0xbecf5cac] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x324a0] @24,934,191us: [+0 T:0x4001df50 S:0xbecf5cbc] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x324a0] @25,275,332us: [+0 T:0x4001df50 S:0xbecf5c9c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x324b8] timeout[0xffffffff] @25,275,607us: [+0 T:0x40969490 S:0x40968d74] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x324b8] @25,275,835us: [+0 T:0x40969490 S:0x40968d74] OP - getCmd_d> Enter (proc=0x40968de8) @25,276,019us: [+0 T:0x40969490 S:0x40968d54] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x324a0] timeout[0xffffffff] @25,276,208us: [+0 T:0x40969490 S:0x40968d54] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x324a0] status[0] @25,276,385us: [+0 T:0x40969490 S:0x40968d74] OP - getCmd_d> Exit (result=3) @25,276,549us: [+0 T:0x40969490 S:0x40968d64] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x324b8] @25,276,830us: [+0 T:0x4001df50 S:0xbecf5c9c] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x324b8] status[0] @25,277,029us: [+0 T:0x4001df50 S:0xbecf5cbc] OP - doCmd> Exit (result=1) @25,277,191us: [+0 T:0x4001df50 S:0xbecf5cc4] OT - Thread_delete> Enter (task=0x324f0) @25,279,033us: [+4 T:0x4001df50 S:0xbecf5cc4] OT - Thread_delete> pthread_cancel (0x0) @25,280,372us: [+4 T:0x4001df50 S:0xbecf5cc4] OT - Thread_delete> pthread_join (0x0) @25,280,613us: [+0 T:0x4001df50 S:0xbecf5ca4] OM - Memory_free> Enter(0x324f0, 0x64) @25,280,804us: [+0 T:0x4001df50 S:0xbecf5ca4] OM - Memory_free> return (0x1) @25,281,016us: [+0 T:0x4001df50 S:0xbecf5cdc] OT - Thread_delete> Exit (task=0x324f0) @25,281,188us: [+0 T:0x4001df50 S:0xbecf5ccc] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x324a0] @25,281,400us: [+0 T:0x4001df50 S:0xbecf5cac] OM - Memory_free> Enter(0x324a0, 0x14) @25,281,593us: [+0 T:0x4001df50 S:0xbecf5cac] OM - Memory_free> return (0x1) @25,281,751us: [+0 T:0x4001df50 S:0xbecf5cdc] ti.sdo.ce.osal.Sem - Leaving Sem_delete> @25,281,906us: [+0 T:0x4001df50 S:0xbecf5ccc] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x324b8] @25,282,068us: [+0 T:0x4001df50 S:0xbecf5cac] OM - Memory_free> Enter(0x324b8, 0x14) @25,282,240us: [+0 T:0x4001df50 S:0xbecf5cac] OM - Memory_free> return (0x1) @25,282,437us: [+0 T:0x4001df50 S:0xbecf5cdc] ti.sdo.ce.osal.Sem - Leaving Sem_delete> @25,282,594us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> Enter(0x324d0, 0x18) @25,282,761us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> return (0x1) @25,282,921us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x18ff8()... @25,283,135us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x16770()... @25,283,326us: [+0 T:0x4001df50 S:0xbecf5ccc] OM - Memory_free> Enter(0x32420, 0x18) @25,283,500us: [+0 T:0x4001df50 S:0xbecf5ccc] OM - Memory_free> return (0x1) @25,283,662us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x178c4()... @25,283,909us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> Enter(0x323d0, 0x18) @25,284,092us: [+0 T:0x4001df50 S:0xbecf5cbc] OM - Memory_free> return (0x1) @25,284,304us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x19994()... @25,284,475us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x1a548()... @25,284,639us: [+2 T:0x4001df50 S:0xbecf5cec] OG - Global_exit> calling function *0x198f4()...
你好,
下面链接提到了类似的错误,是ARM和DSP使用的工具不匹配。请问工具软件你都自己编译过了么?
http://processors.wiki.ti.com/index.php/Troubleshooting_DSPLink_configuration_issues#Problem:_PROC_start_failed_with_configuration_mismatch.2Ffailure_showing_some_modules_with_0_and_others_with_0xffffffff
你好,
dsplink我有重新编译过,但是没有修改内存方面的内容。这个链接我下午也在看,还没有尝试成功。
有一个问题我一直很疑惑,官方文档上说ce2.0以上版本,可以使用Engine.createFromServer来直接获取dsp中tcf的内存,当需要修改dsplink内存时,也不需要重新编译dsplink的内容,而是在app的cfg文件中直接使用osalGlobal.armDspLinkConfig来指定(当然这里的内存指定要和dsp的tcf文件一致),然后重新编译arm端app程序即可,那我是不是可以理解成,dsplinkk.ko我可以一直用dsplink中预编译好的那个dsplinkk.ko内容呢?而不需要我自己配置dsplink中的内存相关的内容的?
在http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map中有以下内容: