Hi Team,
I have created a custom kernel and added the functionality required to kernel and rebuilded tiovx successfully.
Later I integrated kernel to my application and ran the command "make sdk" and it got succesfully built.
While testing the application on board facing the errors as shown in attached file.(PFA for the error log).
root@j7-evm:/opt/vision_apps# root@j7-evm:/opt/vision_apps# root@j7-evm:/opt/vision_apps# root@j7-evm:/opt/vision_apps# ./run_app_tidl_rci_od.sh APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=4) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 160.689424 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 160.701868 s: VX_ZONE_INIT:Enabled 160.701890 s: VX_ZONE_ERROR:Enabled 160.701903 s: VX_ZONE_WARNING:Enabled 160.702683 s: VX_ZONE_INIT:[tivxInitLocal:145] Initialization Done !!! 160.702815 s: VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!! Default param set! Parsed user params! Updated user params! 160.730945 s: VX_ZONE_ERROR:[vxFinalizeKernel:460] Invalid kernel signature type 160.730975 s: VX_ZONE_ERROR:[vxLoadKernels:206] Publish function for module rci_postproc_a72 failed Scaler Init Done! Computing checksum at 0x0000FFFFAA0094C0, size = 12712900 TIDL Init Done! Pre Proc Update Done! Pre Proc Init Done! APP_INIT Number of Input Tensors in draw detections 3 rci postproc Update Done! rci postproc Init Done! Img Mosaic Init Done! Display Init Done! App Init Done! TIDL Create Done! 161.363442 s: VX_ZONE_ERROR:[tivxCreateNodeByKernelName:124] Call to vxGetKernelByName failed; kernel may not be registered 161.363453 s: VX_ZONE_ERROR:[vxGetStatus:700] Reference is NULL Postproc node create failed RCI Create Postproc Done! App Create Graph Done! App Run Graph Done! 161.363526 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference App Delete Graph Done! Input image release Done! Scaler deinit Done! Pre-Proc deinit Done! TIDL deinit Done! Post_proc deinit Done! Mosaic deinit Done! Display deinit Done! Graphics deinit Done! TIDL unload Done! ImgProc unload Done! 161.864419 s: VX_ZONE_ERROR:[vxUnloadKernels:251] Unable to unload kernels for module rci_postproc_a72 RCIPostProc unload Done! HWA unload Done! 161.864643 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5ee49e8 of type 0000080f at external count 1, internal count 0, releasing it 161.864651 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=image_108) now as a part of garbage collection 161.864661 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6bb10 of type 00000815 at external count 1, internal count 0, releasing it 161.864668 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tensor_119) now as a part of garbage collection 161.864677 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6b4b0 of type 00000815 at external count 1, internal count 0, releasing it 161.864684 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tensor_120) now as a part of garbage collection 161.864692 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6b6d0 of type 00000815 at external count 1, internal count 0, releasing it 161.864698 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tensor_121) now as a part of garbage collection 161.864707 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6bd30 of type 00000815 at external count 1, internal count 0, releasing it 161.864713 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tidl_node_output_tensors_1) now as a part of garbage collection 161.864722 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6bf50 of type 00000815 at external count 1, internal count 0, releasing it 161.864728 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tidl_node_output_tensors_2) now as a part of garbage collection 161.864737 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5f6c170 of type 00000815 at external count 1, internal count 0, releasing it 161.864743 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=tensor_125) now as a part of garbage collection 161.864751 s: VX_ZONE_WARNING:[vxReleaseContext:1060] Found a reference 0xffffb5ee4ca0 of type 0000080f at external count 1, internal count 0, releasing it 161.864757 s: VX_ZONE_WARNING:[vxReleaseContext:1062] Releasing reference (name=image_132) now as a part of garbage collection Context released! App De-init Done! 161.864792 s: VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!! 161.869166 s: VX_ZONE_INIT:[tivxDeInitLocal:223] De-Initialization Done !!! APP: Deinit ... !!! REMOTE_SERVICE: Deinit ... !!! REMOTE_SERVICE: Deinit ... Done !!! IPC: Deinit ... !!! IPC: DeInit ... Done !!! MEM: Deinit ... !!! DDR_SHARED_MEM: Alloc's: 14 alloc's of 17342992 bytes DDR_SHARED_MEM: Free's : 14 free's of 17342992 bytes DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes DDR_SHARED_MEM: Total size: 536870912 bytes MEM: Deinit ... Done !!! APP: Deinit ... Done !!! root@j7-evm:/opt/vision_apps# CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB0
Kindly suggest me what could be the possible reason and solution.
Thanks,
Chaitanya Prakash Uppala