Jump to content

Recommended Posts

Posted (edited)

Hello All.. I am trying to get rknpu working properly. I have resolute minimal install with 6.1 vendor kernel installed. Default install does not have `/dev/rknpu` and shows error with loading the rknpu driver. Can any one help resolve this? This is with fresh install of the OS on the NVME drive: There is no NPU option in the dtb list for orangepi5plus.
 

Quote

Linux opi5plus 6.1.115-vendor-rk35xx #1 SMP Mon May 18 05:13:49 UTC 2026 aarch64 GNU/Linux

 

PRETTY_NAME="Armbian 26.5.1 resolute"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
PRIVACY_POLICY_URL="https://www.armbian.com"
UBUNTU_CODENAME=resolute
LOGO="armbian-logo"
ARMBIAN_PRETTY_NAME="Armbian 26.5.1 resolute"

 

This is the error in dmesg

[   15.981999] RKNPU fdab0000.npu: Adding to iommu group 0
[   15.982175] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[   15.982308] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[   15.985241] RKNPU fdab0000.npu: Looking up mem-supply from device tree
[   15.988551] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[   15.988583] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[   15.988603] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[   15.989174] [drm] Initialized rknpu 0.9.8 20240828 for fdab0000.npu on minor 1
[   15.993547] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[   15.996066] RKNPU fdab0000.npu: RKNPU: bin=0
[   15.996288] RKNPU fdab0000.npu: leakage=8
[   15.996320] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[   15.996356] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
[   16.005738] RKNPU fdab0000.npu: pvtm=868
[   16.011925] RKNPU fdab0000.npu: pvtm-volt-sel=3
[   16.012005] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
[   16.012037] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
[   16.012656] RKNPU fdab0000.npu: Looking up mem-supply from device tree
[   16.014725] RKNPU fdab0000.npu: avs=0
[   16.014836] RKNPU fdab0000.npu: rockchip_pvtpll_set_volt_sel: error cfg clk_id=6 voltsel (-1)
[   16.015007] RKNPU fdab0000.npu: l=15000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0

 

Edited by Ravi Terala
adding detail
Posted

Refer to the experiences here:

 

I think someone wrote that the mainline kernel has NPU support.

Is this NPU going to load only models that are in the Rockchip model repository?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines