Board: Duo-s
Linux version: 6.12
I ported ION and TPU drivers to v6.12, able to detect tpu device node, but by yolov5 object detection example, it fails.
I don’t know where to start, can anyone help me? Here is the output of the shell:
[root@milkv-duo]~/tpu-sdk-sg200x# ./samples/samples_extra/bin/cvi_sample_detecto
r_yolo_v5_fused_preprocess \
> ./yolov5n_int8_fuse.cvimodel \
> ./samples/samples_extra/data/dog.jpg \
> yolov5n_out.jpg
Assertion failed: 0 (/build/duo-sdkv2/github-ai/cviruntime/src/soc/common/cvi_device_mem.cpp: device_init: 720)
Aborted
[root@milkv-duo]~/tpu-sdk-sg200x# ls /dev/cvi-tpu0
/dev/cvi-tpu0
[root@milkv-duo]~/tpu-sdk-sg200x# uname -r
6.12.0+