固件类型:官方提供的固件
固件文件名称:rk3588_linux_release_20240313_v1.3.0e
固件下载地址:出厂自带的固件
Log日志:新建文本文档.rar
这是 cat /proc/version的回复。
Linux version 5.10.160 (daijh@76efbf98906e) (kernel commit id: c0c4b1eadb89) (sdk version: rk3588_linux_release_20240313_v1.3.0e) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #133 SMP Mon Mar 25 12:15:21 CST 2024
安装不同版本的RKNN都会报这个错误,如下图
使用过1.6.0和2.3.0版本的RKNN
换了2.3.2的环境后示例的python代码也有错误。
没有运行docker。
C++不太熟,目前只准备测试python的代码。
维基资料里面下载直接编译好的Demo也没有像教程里那样运行起来
本小白第一次用NPU跑模型,略微有些混乱,不知道问题出在哪,求大神解答
tchip_askquestions

新建文本文档.rar (3.84 KB)
lanzj
2
Demo的命令写错了,在看下维基。
sudo dmesg | grep -i npu 结果看下
lanzj 发表于 2025-5-30 09:43
Demo的命令写错了,在看下维基。
sudo dmesg | grep -i npu 结果看下
(base) eseen@firefly:~$ sudo dmesg | grep -i npu
[ 6.584245] rk_gmac-dwmac fe1c0000.ethernet: clock input or output? (output).
[ 6.890386] input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.2.auto/input/input0
[ 6.912225] vdd_npu_s0: supplied by vcc5v0_sys
[ 7.076400] rkisp_hw fdcb0000.rkisp: max input:0x0@0fps
[ 7.076742] rkisp_hw fdcc0000.rkisp: max input:0x0@0fps
[ 7.157995] input: rockchip-dp0 rockchip-dp0 as /devices/platform/dp0-sound/sound/card0/input1
[ 7.159424] DEBUG: Sink LINPUT1 ==== Src Main Mic
[ 7.159429] DEBUG: Sink RINPUT1 ==== Src Main Mic
[ 7.159434] DEBUG: Sink LINPUT2 ==== Src Headset Mic
[ 7.159439] DEBUG: Sink RINPUT2 ==== Src Headset Mic
[ 7.219804] input: rockchip-es8388 Headset as /devices/platform/es8388-sound/sound/card1/input2
[ 7.460994] input: Logitech USB Keyboard as /devices/platform/fc840000.usb/usb3/3-1/3-1:1.0/0003:046D:C31C.0001/input/input3
[ 7.516007] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-fc840000.usb-1/input0
[ 7.526331] input: Logitech USB Keyboard Consumer Control as /devices/platform/fc840000.usb/usb3/3-1/3-1:1.1/0003:046D:C31C.0002/input/input4
[ 7.582532] input: Logitech USB Keyboard System Control as /devices/platform/fc840000.usb/usb3/3-1/3-1:1.1/0003:046D:C31C.0002/input/input5
[ 7.583642] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-fc840000.usb-1/input1
[ 8.161033] input: adc-keys as /devices/platform/adc-keys/input/input6
[ 8.163560] input: rockchip-hdmi0 rockchip-hdmi0 as /devices/platform/hdmi0-sound/sound/card2/input7
[ 8.173857] RKNPU fdab0000.npu: Adding to iommu group 0
[ 8.174012] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[ 8.174704] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdab0000-0xfdabffff]
[ 8.174730] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdac0000-0xfdacffff]
[ 8.174746] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdad0000-0xfdadffff]
[ 8.175197] [drm] Initialized rknpu 0.9.2 20230825 for fdab0000.npu on minor 1
[ 8.177390] RKNPU fdab0000.npu: RKNPU: bin=0
[ 8.177573] RKNPU fdab0000.npu: leakage=8
[ 8.177630] debugfs: Directory ‘fdab0000.npu-rknpu’ with parent ‘vdd_npu_s0’ already present!
[ 8.180684] RKNPU fdab0000.npu: pvtm=849
[ 8.182074] RKNPU fdab0000.npu: pvtm-volt-sel=2
[ 8.183379] RKNPU fdab0000.npu: avs=0
[ 8.183564] RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
[ 8.187754] RKNPU fdab0000.npu: failed to find power_model node
[ 8.187787] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[ 8.187796] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[ 8.346487] input: Lenovo USB Optical Mouse as /devices/platform/fc880000.usb/usb2/2-1/2-1.2/2-1.2:1.0/0003:17EF:608D.0003/input/input8
[ 8.346734] hid-generic 0003:17EF:608D.0003: input,hidraw2: USB HID v1.10 Mouse [Lenovo USB Optical Mouse] on usb-fc880000.usb-1.2/input0
这是回复的内容,您看下