[root@root:~]# test
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
[ 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(1086): FATAL: Failed to open device, errno=No such file or directory.
[root@root:~]# 作者: 板蓝根 时间: 2021-6-16 10:03
open device fail, 这里的 device 指 npu 设备,正常来说 npu 驱动正常加载会在 /dev/galcore,看一下是否有设备生成,看一下是否有权限。作者: liting 时间: 2021-6-16 10:25
我查看了检查了galcore 在/dev/galcore没有 但是其它位置有这个文件,并且lsmod也显示有,这个是什么原因呢?
[root@root:~]# ls /dev/galcore
ls: cannot access '/dev/galcore': No such file or directory
[root@root:~]# lsmod
Module Size Used by Tainted: G
galcore 319488 0
[root@root:~]# find / -name galcore
/sys/bus/platform/drivers/galcore
/sys/module/galcore
[root@root:~]# 作者: 板蓝根 时间: 2021-6-16 14:28
发完整的 log ,检查一下加载的过程中有没有报错作者: liting 时间: 2021-6-16 18:40
谢谢 我已经解决了主要两个问题,:
1、设备树GPU没有打开导致找不到设备
2、NPU的驱动电源设置错误,导致驱动安装失败
谢谢~~~作者: liting 时间: 2021-6-16 21:26
Failed to open device: No such file or directory, Try again...
这个错误主要就是指NPU设备没有打开
希望遇到类似问题的朋友可以参考一下