|
发表于 2023-1-19 22:13:28
本帖最后由 sxj731533730 于 2023-1-19 22:17 编辑
你好,官方我使用的提供的固件 G:\QIHUA-X1126主板\刷机固件\221117\x1126_x1109_debian10_zs101nn3101j_210705 需要我可以提供百度连接
成都一家开发芯片rv1126 QIHUA-X1126主板
测试源码参考编译代码和方式参考https://sxj731533730.blog.csdn.n ... 1001.2014.3001.5502
我第一次遇到这个问题
/home/linaro/Downloads/cmake-build-debug/demo_ncnn
ERROR: can't find librknn_runtime.so
ERROR: can't find librknn_runtime.so
rknn_init fail! ret=-3
Process finished with exit code 255
我通过这种方法解决
linaro@linaro-alip:$ git clone https://github.com/rockchip-linux/rknpu.git
linaro@linaro-alip:~$ sudo cp -r rknpu/drivers/linux-armhf-puma/* /
linaro@linaro-alip:/usr/lib$ sudo ln -s libOpenVX.so.1.2 libOpenVX.so.1
linaro@linaro-alip:/usr/lib$ sudo ln -s libOpenVX.so.1 libOpenVX.so
但是我又遇到这个问题
/home/linaro/Downloads/cmake-build-debug/demo_ncnn
librknn_runtime version 1.7.3 (2e55827 build: 2022-08-25 10:45:32 base: 1131)
[ 1] Failed to open device: No such file or directory, Try again...
[ 2] Failed to open device: No such file or directory, Try again...
[ 3] Failed to open device: No such file or directory, Try again...
[ 4] Failed to open device: No such file or directory, Try again...
[ 5] _OpenDevice(1100): FATAL: Failed to open device, errno=No such file or directory.
Process finished with exit code 1
发现测试每个ko都没法用F:\rknpu-master\rknpu-master\drivers\npu_ko 全部是格式不正确
|
|