xm.zhao 发表于 2022-12-29 09:53:11

rknn驱动安装问题


rknn驱动未安装,如何配置驱动?或者有编译好的ko文件能否提供下?


(base) rex@rk3588:~/workspace/rknpu2/examples/rknn_mobilenet_demo/install/rknn_mobilenet_demo_Linux$ ./rknn_mobilenet_demo model/RK3588/mobilenet_v1.rknn model/cat_224x224.jpg
E RKNN: failed to open rknpu module, need to insmod rknpu dirver!
E RKNN: failed to open rknn device!
rknn_init fail! ret=-1
(base) rex@rk3588:~/workspace/rknpu2/examples/rknn_mobilenet_demo/install/rknn_mobilenet_demo_Linux$
(base) rex@rk3588:~/workspace/rknpu2/examples/rknn_mobilenet_demo/install/rknn_mobilenet_demo_Linux$ dmesg |grep rknpu
[    4.860624] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[    4.860824] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[    4.863323] Initialized rknpu 0.7.2 20220428 for fdab0000.npu on minor 1
[    4.864629] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[    4.866379] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree(base) rex@rk3588:~/workspace/rknpu2/examples/rknn_mobilenet_demo/install/rknn_mobilenet_demo_Linux$ sudo cat /sys/kernel/debug/mm
password for rex:
cat: /sys/kernel/debug/mm: No such file or directory


页: [1]
查看完整版本: rknn驱动安装问题