Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RK3566 Kernel with NPU support?

Featured Replies

I'm curious to experiment with LLMs on an RK3566 TV Box. I managed to build a working Debian disto for it, but wasn't able to locate any NPU support in the kernel configuration.

 

Anyone know how to build such a kernel for the RK3566, with support for the inbuilt NPU, or preferably, how to add build a NPU kernel module that can be linked-in?

 

Any hints, suggestion or links greatly appreciated.

 

GBEM 👽

If you are on a relatively recent kernel, the kernel probably already has support, but the default DTB has it disabled.
This is from a bookworm nightly build for a radxa zero 3

~$ grep rknpu /usr/lib/modules/6.1.115-vendor-rk35xx/modules.builtin
kernel/drivers/rknpu/rknpu.ko

However, it's disabled in the DTB by default

$ cat /sys/firmware/devicetree/base/npu@fde40000/status 
disabled

For the board that I am using, the vendor publises a DTO source that enables it at https://github.com/radxa-pkg/radxa-overlays/blob/main/arch/arm64/boot/dts/rockchip/overlays/rk3568-npu-enable.dts

 

Which works well with armbian-add-overlay.

 

Though you may need to make a similar overlay for your DTB if it is different enough.

 

Note that the NPU in the 3566 and 3568 are interoperable.

Edited by Laikulo
formatting

sorry for the delay,

@mvpwar for RK3566 NPU you can use the original armbian DTB that enables NPU support:

https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm64/boot/dts/rockchip/rk3566-h96max-v56.dts
 

I think you will take fragments from ancient builds like this:
https://forum.armbian.com/topic/28895-efforts-to-develop-firmware-for-h96-max-v56-rk3566-8g64g/page/16/#findComment-211031

I don't know what the status is in version 6.17 but we are still required to use vendor 6.1

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.