rockX报错
编译运行 设置了正确的模型 但是还是报错 这个错误文档也没说是什么错误。# 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.
#
open device fail, 这里的 device 指 npu 设备,正常来说 npu 驱动正常加载会在 /dev/galcore,看一下是否有设备生成,看一下是否有权限。 我查看了检查了galcore 在/dev/galcore没有 但是其它位置有这个文件,并且lsmod也显示有,这个是什么原因呢?
# ls /dev/galcore
ls: cannot access '/dev/galcore': No such file or directory
# lsmod
Module SizeUsed by Tainted: G
galcore 3194880
# find / -name galcore
/sys/bus/platform/drivers/galcore
/sys/module/galcore
# 发完整的 log ,检查一下加载的过程中有没有报错 谢谢 我已经解决了主要两个问题,:
1、设备树GPU没有打开导致找不到设备
2、NPU的驱动电源设置错误,导致驱动安装失败
谢谢~~~ Failed to open device: No such file or directory, Try again...
这个错误主要就是指NPU设备没有打开
希望遇到类似问题的朋友可以参考一下
页:
[1]