rockchip-npu-notes
Hardware reference and research notes for the RK3588 NPU and its regcmd interface
- 33
- Shell
- CC-BY-4.0
- 3 d ago
gregordinary
Built from gregordinary's public GitHub profile. Not on Take My Repo yet, so there are no posts or updates here.
Hardware reference and research notes for the RK3588 NPU and its regcmd interface
Drop-in ggml backend for Rockchip NPUs: offloads llama.cpp/whisper.cpp prefill to the RK3588 NPU
Userspace driver, matmul, and on-NPU op library for Rockchip NPUs (RK3588 & Subset on RK3576) via the mainline rocket DRM-accel driver
TensorFlow Lite external delegate for NPU-accelerated detection on Rockchip RK3588
ONNX Runtime execution provider for Rockchip NPUs (RK3588) via the mainline rocket DRM-accel driver -- offloads transformer vision encoders (RF-DETR, CLIP/SigLIP, SAM, Depth Anything v2) to the NPU.
Rust-native, rootless builder that turns an SBC/laptop/tablet into a Debian device — resolves kernel, u-boot, media-accel userspace, rootfs, and a bootable image from layered TOML config
Out-of-tree patch sets and kernel-version build profiles for the boot2deb Debian-device builder — currently the Rockchip RK3588 mainline rocket NPU driver patches and HW video-transcode (kernel/ffmpeg/MPP) patches
librocketnpu's submit seam implemented against the vendor BSP rknpu driver, so the open RK3588 NPU stack runs on a stock vendor kernel without reflashing to mainline
Run a command inside an unprivileged Linux sandbox: fresh namespaces, a root filesystem you supply or bootstrap from Debian, Alpine, or Gentoo, and a clean environment, established in pure Rust against the kernel
Format and read ext4, ext3, ext2, FAT32, FAT16, FAT12, exFAT, apfs, and btrfs images in userspace — pure Rust, rootless, byte-reproducible.
Vendor-style hardware reference: Rockchip RK3288, RK3576 and RK3588 boards (Veyron Chromebooks, H96 MAX M9, Turing RK1), the Airoha AN7581 Gemtek W1700K router, and the MediaTek MT7996 and Silicon Labs EFR32MG21 chips, under mainline Linux and OpenWrt. Boot chains, device-tree facts, errata and traps, each claim graded by its evidence.
A flashing and recovery toolkit for embedded devices, written in safe Rust. Supports Rockchip, StarFive JH7110, Ingenic XBurst, and block devices on Linux.
Scripts that record what Apple's APFS tools and kernel write, run on GitHub-hosted macOS runners
Build Debian .deb packages from source: each component compiled in an unprivileged sandbox, in a Debian root src2deb provisions itself, with a provenance manifest per run.