Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

[Linux] rk3568J Init runtime environment failed!

31

积分

0

威望

0

贡献

技术小白

积分
31

rk3568J Init runtime environment failed!

发表于 2021-6-25 16:09:06      浏览:24988 | 回复:10        打印      只看该作者   [复制链接] 楼主
rk3568J 开发版,没有找到对应npu驱动的操作手册,按3399pro的方式,安装了1.6 版本的 rknn-toolkit,模型转换成功,但是运行推理test的时候,报错
--> Init runtime environment
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 815, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 162, in rknn.api.rknn_runtime.RKNNRuntime.__init__
E   File "rknn/api/rknn_runtime.py", line 269, in rknn.api.rknn_runtime.RKNNRuntime._load_library
E   File "/usr/lib/python3.5/ctypes/__init__.py", line 364, in __getattr__
E     func = self.__getitem__(name)
E   File "/usr/lib/python3.5/ctypes/__init__.py", line 369, in __getitem__
E     func = self._FuncPtr((name_or_ordinal, self))
E AttributeError: /usr/lib/librknn_runtime.so: undefined symbol: rknn_get_memory_detail_len
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-6-25 16:45:38        只看该作者  沙发
RKNN-Toolkit暂不支持在rk356x上运行,预计7月份会更新支持的版本
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-6-29 18:29:51        只看该作者  板凳
rk3568J 开发版Android11如何安装rknpu dirver?
回复

使用道具 举报

30

积分

0

威望

0

贡献

技术小白

积分
30
发表于 2021-6-30 10:31:04        只看该作者  地板
ubtuntu版本的npu driver 是在哪获取? 这个是android 的:https://pan.baidu.com/s/1eALrnlIoaeWRDzhqfvjMoQ
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-6-30 14:39:33        只看该作者  5#
jackhao163com 发表于 2021-6-30 10:31
ubtuntu版本的npu driver 是在哪获取? 这个是android 的:https://pan.baidu.com/s/1eALrnlIoaeWRDzhqfvjM ...

提取码是多少?
回复

使用道具 举报

30

积分

0

威望

0

贡献

技术小白

积分
30
发表于 2021-6-30 15:26:16        只看该作者  6#
aruen 发表于 2021-6-30 14:39
提取码是多少?

1234
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-7-1 09:56:00        只看该作者  7#
升级完Android的固件还是找不到rknpu
1|rk3568_firefly_aioj:/vendor/lib/modules # lsmod
Module                  Size  Used by
bcmdhd               1601536  0

insmod也是报错
1|rk3568_firefly_aioj:/vendor/lib/modules # insmod rknpu-clang.ko
insmod: failed to load rknpu-clang.ko: Exec format error
1|rk3568_firefly_aioj:/vendor/lib/modules # insmod rknpu.ko
insmod: failed to load rknpu.ko: Invalid argument

logcat输出:
07-01 01:45:32.974 W/rknpu   (    0): disagrees about version of symbol set_user_nice
07-01 01:45:32.974 W/rknpu   (    0): Unknown symbol set_user_nice (err -22)
07-01 01:45:32.974 W/rknpu   (    0): disagrees about version of symbol _dev_info
07-01 01:45:32.974 W/rknpu   (    0): Unknown symbol _dev_info (err -22)
07-01 01:45:32.975 W/rknpu   (    0): disagrees about version of symbol _dev_err
07-01 01:45:32.975 W/rknpu   (    0): Unknown symbol _dev_err (err -22)
07-01 01:45:32.975 W/rknpu   (    0): disagrees about version of symbol _dev_warn
07-01 01:45:32.975 W/rknpu   (    0): Unknown symbol _dev_warn (err -22)
07-01 01:45:32.975 W/rknpu   (    0): disagrees about version of symbol dev_printk
回复

使用道具 举报

30

积分

0

威望

0

贡献

技术小白

积分
30
发表于 2021-7-1 15:32:38        只看该作者  8#
aruen 发表于 2021-7-1 09:56
升级完Android的固件还是找不到rknpu
1|rk3568_firefly_aioj:/vendor/lib/modules # lsmod
Module        ...

安装readme操作
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-7-1 17:11:08        只看该作者  9#

是按照readme操作的,还是找不到npu驱动!
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-7-1 17:22:08        只看该作者  10#

127|rk3568_firefly_aioj:/vendor/lib/modules # dmesg |grep rknpu
[    3.288388] rknpu: disagrees about version of symbol set_user_nice
[    3.288417] rknpu: Unknown symbol set_user_nice (err -22)
[    3.288539] rknpu: disagrees about version of symbol _dev_info
[    3.288549] rknpu: Unknown symbol _dev_info (err -22)
[    3.288594] rknpu: disagrees about version of symbol _dev_err
[    3.288603] rknpu: Unknown symbol _dev_err (err -22)
[    3.288672] rknpu: disagrees about version of symbol _dev_warn
[    3.288681] rknpu: Unknown symbol _dev_warn (err -22)
[    3.288726] rknpu: disagrees about version of symbol dev_printk
[    3.288731] rknpu: Unknown symbol dev_printk (err -22)
[    3.320988] rknpu: disagrees about version of symbol module_layout
[ 1783.471207] rknpu: disagrees about version of symbol module_layout
[ 1889.005890] rknpu: disagrees about version of symbol module_layout
[ 1916.252350] rknpu: disagrees about version of symbol set_user_nice
[ 1916.252389] rknpu: Unknown symbol set_user_nice (err -22)
[ 1916.252520] rknpu: disagrees about version of symbol _dev_info
[ 1916.252533] rknpu: Unknown symbol _dev_info (err -22)
[ 1916.252585] rknpu: disagrees about version of symbol _dev_err
[ 1916.252596] rknpu: Unknown symbol _dev_err (err -22)
[ 1916.252674] rknpu: disagrees about version of symbol _dev_warn
[ 1916.252684] rknpu: Unknown symbol _dev_warn (err -22)
[ 1916.252729] rknpu: disagrees about version of symbol dev_printk
[ 1916.252739] rknpu: Unknown symbol dev_printk (err -22)
[ 2506.885651] rknpu: disagrees about version of symbol set_user_nice
[ 2506.885684] rknpu: Unknown symbol set_user_nice (err -22)
[ 2506.885815] rknpu: disagrees about version of symbol _dev_info
[ 2506.885827] rknpu: Unknown symbol _dev_info (err -22)
[ 2506.885880] rknpu: disagrees about version of symbol _dev_err
[ 2506.885891] rknpu: Unknown symbol _dev_err (err -22)
[ 2506.885968] rknpu: disagrees about version of symbol _dev_warn
[ 2506.885974] rknpu: Unknown symbol _dev_warn (err -22)
[ 2506.886021] rknpu: disagrees about version of symbol dev_printk
[ 2506.886031] rknpu: Unknown symbol dev_printk (err -22)
[ 2514.537136] rknpu: disagrees about version of symbol module_layout
[ 2525.218097] rknpu: disagrees about version of symbol set_user_nice
[ 2525.218156] rknpu: Unknown symbol set_user_nice (err -22)
[ 2525.218311] rknpu: disagrees about version of symbol _dev_info
[ 2525.218328] rknpu: Unknown symbol _dev_info (err -22)
[ 2525.218389] rknpu: disagrees about version of symbol _dev_err
[ 2525.218403] rknpu: Unknown symbol _dev_err (err -22)
[ 2525.218568] rknpu: disagrees about version of symbol _dev_warn
[ 2525.218578] rknpu: Unknown symbol _dev_warn (err -22)
[ 2525.218647] rknpu: disagrees about version of symbol dev_printk
[ 2525.218661] rknpu: Unknown symbol dev_printk (err -22)
[ 4470.021143] rknpu: disagrees about version of symbol set_user_nice
[ 4470.021204] rknpu: Unknown symbol set_user_nice (err -22)
[ 4470.021457] rknpu: disagrees about version of symbol _dev_info
[ 4470.021476] rknpu: Unknown symbol _dev_info (err -22)
[ 4470.021567] rknpu: disagrees about version of symbol _dev_err
[ 4470.021581] rknpu: Unknown symbol _dev_err (err -22)
[ 4470.021676] rknpu: disagrees about version of symbol _dev_warn
[ 4470.021690] rknpu: Unknown symbol _dev_warn (err -22)
[ 4470.021755] rknpu: disagrees about version of symbol dev_printk
[ 4470.021770] rknpu: Unknown symbol dev_printk (err -22)
[ 4483.843211] rknpu: disagrees about version of symbol module_layout
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表