After updating to more current TI software I am not able to load one of the codec servers which we use.

@0,069,812us: [+0 T:0x40020bf0 S:0xbea5c7e4] ti.sdo.ce.alg - ALG_init> Enter
@0,070,063us: [+0 T:0x40020bf0 S:0xbea5c7d4] OG - Global_atexit> enter (fxn=0x4360f184)
@0,070,269us: [+0 T:0x40020bf0 S:0xbea5c804] ti.sdo.ce.alg - ALG_init> Exit
@0,070,440us: [+0 T:0x40020bf0 S:0xbea5c7fc] OG - Global_atexit> enter (fxn=0x4360e5b0)
@0,070,802us: [+0 T:0x40020bf0 S:0xbea5c7d4] OM - Memory_alloc> Enter(0x18)
@0,072,872us: [+0 T:0x40020bf0 S:0xbea5c7d4] OM - Memory_alloc> return (0x20530) @0,073,916us: [+0 T:0x40020bf0 S:0xbea5c7fc] OG - Global_atexit> enter (fxn=0x436140e8) @0,075,017us: [+6 T:0x40020bf0 S:0xbea5c7f4] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max) @0,075,914us: [+0 T:0x40020bf0 S:0xbea5c7e4] OG - Global_atexit> enter (fxn=0x4360ba44)
@0,076,803us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> Enter(0x18)
@0,077,684us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> return (0x20570)
@0,078,571us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> Enter(0x18)
@0,079,454us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> return (0x20590)
@0,080,335us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> Enter(0x18)
@0,081,737us: [+0 T:0x40020bf0 S:0xbea5c7c4] OM - Memory_alloc> return (0x205b0)
@0,082,244us: [+0 T:0x40020bf0 S:0xbea5c7fc] CS - Server_init()
@0,082,467us: [+0 T:0x40020bf0 S:0xbea5c7fc] CS - Server_init> Global_useLinkArbiter = 0 @0,082,666us: [+0 T:0x40020bf0 S:0xbea5c7fc] OG - Global_atexit> enter (fxn=0x43609d24) @0,083,831us: [+0 T:0x40020bf0 S:0xbea5c80c] OG - Global_atexit> enter (fxn=0x43608730) @0,084,384us: [+0 T:0x40020bf0 S:0xbea5c7bc] CE - Engine_open> Enter('mpeg2_dec_server', 0x0, 0xbea5c86c)
@0,084,638us: [+0 T:0x40020bf0 S:0xbea5c7a4] OM - Memory_alloc> Enter(0x2c)
@0,084,846us: [+0 T:0x40020bf0 S:0xbea5c7a4] OM - Memory_alloc> return (0x25e60) @0,085,134us: [+0 T:0x40020bf0 S:0xbea5c7bc] CE - rserverOpen('mpeg2_dec_server.x64P'), count = 0 @0,085,437us: [+0 T:0x40020bf0 S:0xbea5c784] OP - Processor_create> Enter(imageName='mpeg2_dec_server.x64P', linkCfg='(null)', attrs=0xbea5c810)
@0,087,182us: [+0 T:0x40020bf0 S:0xbea5c76c] OM - Memory_alloc> Enter(0x24)
@0,087,483us: [+0 T:0x40020bf0 S:0xbea5c76c] OM - Memory_alloc> return (0x25e90) @0,087,691us: [+0 T:0x40020bf0 S:0xbea5c764] OP - doCmd> Enter (cmdId=1, proc=0x25e90) @0,087,981us: [+0 T:0x40020bf0 S:0xbea5c754] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x20390] @0,088,421us: [+0 T:0x44643490 S:0x44642d54] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x20390] status[0]
@0,088,688us: [+0 T:0x44643490 S:0x44642d74] OP - getCmd_d> Exit (result=1)
@0,088,884us: [+0 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Enter(proc=0x25e90) @0,089,177us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Initializing DSP PROC... @0,089,405us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'mpeg2_dec_server.x64P']
@0,089,637us: [+0 T:0x44643490 S:0x44642d5c] OM - Memory_alloc> Enter(0xe0)
@0,089,830us: [+0 T:0x44643490 S:0x44642d5c] OM - Memory_alloc> return (0x25eb8) @0,090,113us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8fa00000, sizeInBytes=0x400000, shared=1, syncd=0 @0,090,374us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x8fe00000, sizeInBytes=0x100000, shared=1, syncd=0 @0,090,608us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x8ff00000, sizeInBytes=0x80, shared=1, syncd=0 @0,090,841us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='DDRALGHEAP', startAddress=0x8b800000, sizeInBytes=0x4000000, shared=0, syncd=0 @0,091,498us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> DODSPCTRL was=1; now=0 @0,096,990us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Attaching to DSP PROC... @0,111,387us: [+0 T:0x40020bf0 S:0xbea5c764] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x20390] @0,111,642us: [+0 T:0x40020bf0 S:0xbea5c744] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x203a8] timeout[0xffffffff] @0,117,279us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Opening MSGQ pool... @0,119,000us: [+2 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Loading mp
eg2_dec_server.x64P on DSP (1 args)...
@0,123,595us: [+7 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Loading and starting DSP server 'mpeg2_dec_server.x64P' FAILED, status=[0x80008009] (look for error code 'DSP_EBASE + 0x9' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h) @0,124,538us: [+0 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Enter (proc=0x25e90) @0,125,372us: [+2 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Closing remote transport... @0,126,397us: [+6 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008000. @0,127,279us: [+2 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Stopping DSP... @0,128,314us: [+6 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008000 @0,129,204us: [+2 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Closing pool... @0,130,442us: [+2 T:0x44643490 S:0x44642d5c] OP - Processor_delete_d> Detaching from DSP...

At which point the system is hung.

My application config is.

environment['xdc.cfg.check.fatal'] = 'false';

var TraceUtil = xdc.useModule('ti.sdo.ce.utils.trace.TraceUtil');
TraceUtil.attrs = TraceUtil.SOCRATES_TRACING;

var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');
osalGlobal.runtimeEnv = osalGlobal.DSPLINK_LINUX;


var Engine = xdc.useModule('ti.sdo.ce.Engine');

var myEngine = Engine.createFromServer(
   "mpeg2_dec_server",
   "./server_production/mpeg2_dec_server.x64P",
   "ittiam.servers.mpeg2_dec_server"
);

Program.main = Program.system = null;

var linkGppPkg = xdc.loadPackage("dsplink.gpp");
linkGppPkg.Global.runtimeOS = linkGppPkg.Global.LINUX;

osalGlobal.armDspLinkConfig = osalGlobal.DEFAULT_ARMDSPLINKCONFIG;

I am building against

MV Pro 5.0 toolchain
Codec Engine 2.23.01
DSP/BIOS 5.33.05
XDCTOOLS 3.15.00.50
Framework Components 2.23.01
XDAIS 6.23
DSPLINK 1.61.03
CMEM (linuxutils) 2.23.01

The error message @0,123,595us: [+7 T:0x44643490 S:0x44642d74] OP - Processor_create_d> Loading and starting DSP server 'mpeg2_dec_server.x64P' FAILED, status=[0x80008009] (look for error code 'DSP_EBASE + 0x9' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h) says...

/* The specified executable file could not be found. */
#define DSP_EFILE                   (DSP_EBASE + 0x9l)

Previously I had simply located the DSP binary in the CWD, but surely I've missed something in the documentation and this is now incorrect. Is there a different way of configuring the path? I recall something from a much older version of CE where you could specify the absolute path in the engine creation call.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to