rockchip-linux / rknpu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinkerEdgeR 升级boot.img重启后运行报错?

ARC-MX opened this issue · comments

commented

我的开发版是Tinker Edge R 当前运行系统为官方的debain V2.0.5
需要说明的是我升级的是 git@github.com:airockchip/RK3399Pro_npu.git这个链接下的boot.img
重装系统后我直接使用的是RKNN1.7.3版本,如果没有更新boot.img运行测试软件发现没有问题可以正常使用,但是我跟新boot.img重启后运行信息如下:

`linaro@linaro-alip:~/Desktop/yolov5-1.7.3$ python3 test.py
librga:RGA_GET_VERSION:3.02,3.020000
ctx=0x5af51a0,ctx->rgaFd=3
Rga built version:7bf9abf


all device(s) with ntb mode:
e4d8618710babd94



Target platforms filled in RKNN model: ['RK3399PRO']
Target platforms supported by this RKNN model: ['RK1808', 'RK1806', 'RK3399PRO']


Load RKNN model done
--> Init runtime environment
current target is rk3399pro
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
E RKNNAPI: rknn_init, recv(MsgLoadAck) fail, -9(ERROR_PIPE) != 368!
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 936, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 341, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
E Please feedback the detailed log file <log_feedback_to_the_rknn_toolkit_dev_team.log> to the RKNN Toolkit development team.
E You can also check github issues: https://github.com/rockchip-linux/rknn-toolkit/issues
E Runtime environment is not inited, please call init_runtime to init it first!
None
Init runtime environment failed`
image

我实在是不知道该怎么解决,我不用更新是不是也能正常使用?请指教一下?