Tool/software:
Hi Team,
After using the SDK to recompile the kernel to add the g_hid module to the sk-am62a-lp board, I'm encountering issues running the app_edgeai.py example.
It used to run without flaws but after the aforementioned changes the example now gives the following errors:
(env) root@am62axx-evm:/opt/edgeai-gst-apps/apps_python# python app_edgeai.py ../configs/face_detection.yaml
libtidl_onnxrt_EP loaded 0x342b9470
Final number of subgraphs created are : 1, - Offloaded Nodes - 257, Total Nodes - 257
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=5) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio2.rpmsg_chrdev.-1.13
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio1.rpmsg_chrdev.-1.13
IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
IPC: ERROR: Unable to create TX channels for CPU [c7x_1] !!!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
REMOTE_SERVICE: Init ... !!!
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio2.rpmsg_chrdev.-1.21
_rpmsg_char_find_ctrldev: rpmsg directory doesn't exist under virtio1.rpmsg_chrdev.-1.21
REMOTE_SERVICE: Init ... Done !!!
551.862635 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
551.862763 s: VX_ZONE_INIT:Enabled
551.862779 s: VX_ZONE_ERROR:Enabled
551.862792 s: VX_ZONE_WARNING:Enabled
551.863557 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
551.863792 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
551.864389 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
551.864630 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
551.864657 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
551.865205 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
551.882092 s: VX_ZONE_ERROR:[ownIpcSendMsg:140] OpenVX send notification failed
551.882141 s: VX_ZONE_ERROR:[ownObjDescSend:307] ownIpcSendMsg failed
551.882154 s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
551.882168 s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core
551.882182 s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
551.882200 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.tidl:1:2 ... failed !!!
551.882218 s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed
551.882231 s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed
TIDL_RT_OVX: ERROR: Verifying TIDL graph ... Failed !!!
TIDL_RT_OVX: ERROR: Verify OpenVX graph failed
==========[INPUT PIPELINE(S)]==========
[PIPE-0]
v4l2src device=/dev/video-imx219-cam0 io-mode=5 pixel-aspect-ratio=None ! queue leaky=2 ! capsfilter caps="video/x-bayer, width=(int)1920, height=(int)1080, format=(string)rggb;" ! tiovxisp dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sensor-name=SENSOR_SONY_IMX219_RPI ! capsfilter caps="video/x-raw, format=(string)NV12;" ! tiovxmultiscaler name=split_01
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)1280, height=(int)720;" ! tiovxdlcolorconvert out-pool-size=4 ! capsfilter caps="video/x-raw, format=(string)RGB;" ! appsink max-buffers=2 drop=True name=sen_0
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)640, height=(int)640;" ! tiovxdlpreproc out-pool-size=4 data-type=3 tensor-format=1 ! capsfilter caps="application/x-tensor-tiovx;" ! appsink max-buffers=2 drop=True name=pre_0
==========[OUTPUT PIPELINE]==========
appsrc do-timestamp=True format=3 block=True name=post_0 ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720;" ! queue ! mosaic_0.sink_0
tiovxmosaic target=1 background=/tmp/background_0 name=mosaic_0 src::pool-size=2
sink_0::startx="<320>" sink_0::starty="<150>" sink_0::widths="<1280>" sink_0::heights="<720>"
! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080;" ! v4l2jpegenc ! multifilesink sync=False location=/opt/edgeai-test-data/output/output_image_%04d.jpg
[1]+ Stopped(SIGTSTP) python app_edgeai.py ../configs/face_detection.yaml
I assume that this is because of some option I didn't enable in the menuconfig or something not activated in the device tree.
It would be helpful to know which modules are not being loaded properly or what is not correctly enabled.
Thanks,
Joaquin Perez