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.

TDA4VM: Error upon running custom kernel on C66X

Part Number: TDA4VM

Dear all,

I am trying to port the kernel_app basic example from c7x to c66x DSP. The compiling works and I get the Linux / TIRTOS binaries. Upon running I get the following errors, that I can not debug. Can you help me with this. The Kernel application in c66x is the exact one in c7x, I only changed the node in the VX Graph to DSP1.

APP: Init ... !!!
APP_LOG: Mapping 0xac000000 ...
APP_LOG: Mapped 0xac000000 -> 0xffff93d60000 of size 262144 bytes
MEM: Init ION ... !!!
MEM: Initialized ION (fd=4) !!!
MEM: Init ION ... Done !!!
IPC: Init ... !!!
APP_LOG: Mapping 0xac040000 ...
APP_LOG: Mapped 0xac040000 -> 0xffff91dc0000 of size 33161216 bytes
APP_LOG: Mapping 0x30e00000 ...
APP_LOG: Mapped 0x30e00000 -> 0xffff94250000 of size 3072 bytes
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
APP: Init ... Done !!!
     0.000259 s:  VX_ZONE_INIT:Enabled
     0.000273 s:  VX_ZONE_ERROR:Enabled
     0.000278 s:  VX_ZONE_WARNING:Enabled
     0.000829 s:  VX_ZONE_INIT:[tivxInit:64] Initialization Done !!!
     0.001016 s:  VX_ZONE_INIT:[tivxHostInit:44] Initialization Done for HOST !!!
     0.005032 s:  VX_ZONE_ERROR:[ownContextSendCmd:553] Command ack message returned failure cmd_status: -7
     0.005055 s:  VX_ZONE_ERROR:[ownNodeKernelInit:486] Target kernel, TIVX_CMD_NODE_CREATE failed
     0.005062 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel app_c66x_kernel.img_add ... failed !!!
     0.005069 s:  VX_ZONE_ERROR:[vxVerifyGraph:2010] Node kernel init failed
     0.005074 s:  VX_ZONE_ERROR:[vxVerifyGraph:2064] Graph verify failed
     0.005104 s:  VX_ZONE_ERROR:[tivxExportGraphToDot:1414] Invalid parameters or graph node not verified Loading [/opt/vision_apps/test_data/psdkra/app_c7x/img_1.bmp] ...
 Loading [/opt/vision_apps/test_data/psdkra/app_c7x/img_2.bmp] ...
 Running graph ...
     0.006587 s:  VX_ZONE_ERROR:[ownContextSendCmd:553] Command ack message returned failure cmd_status: -7
     0.006595 s:  VX_ZONE_ERROR:[ownNodeKernelInit:486] Target kernel, TIVX_CMD_NODE_CREATE failed
     0.006601 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel app_c66x_kernel.img_add ... failed !!!
     0.006607 s:  VX_ZONE_ERROR:[vxVerifyGraph:2010] Node kernel init failed
     0.006612 s:  VX_ZONE_ERROR:[vxVerifyGraph:2064] Graph verify failed
     0.006638 s:  VX_ZONE_ERROR:[ownGraphScheduleGraphWrapper:746] ownGraphScheduleGraphWrapper: graph is not in a state required to be scheduled
     0.006644 s:  VX_ZONE_ERROR:[vxWaitGraph:812] vxWaitGraph: graph not in expected state
 Saving [app_c7x_out_img.bmp] ...
 Done !!!
     0.007398 s:  VX_ZONE_INIT:[tivxHostDeInit:49] De-Initialization Done for HOST !!!
     0.011714 s:  VX_ZONE_INIT:[tivxDeInit:100] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ION ... !!!
MEM: Alloc's: 16 alloc's of 697600 bytes
MEM: Free's : 16 free's  of 697600 bytes
MEM: Open's : 0 allocs  of 0 bytes
MEM: Deinit ION ... Done !!!
APP: Deinit ... Done !!!

Thanks,

Pouyan