Canonical, version-controlled home for the out-of-tree patches and helpers used across the device-builder ecosystem (kernel, u-boot, ffmpeg, userspace). Build systems reference patch sets from here by scope/profile rather than vendoring their own copies, so a fix lands in one place.
| Dir | Scope |
|---|---|
rocket/ |
Rockchip NPU — patches, UAPI header, and notes for the mainline rocket DRM accel driver (RK3588). |
media-accel/ |
Rockchip HW video transcode (RK35xx/RK3588) — kernel decode/encode/RGA, ffmpeg-rockchip, and MPP/RGA userspace patches. |
Each scope is self-contained and need not share a common internal layout —
rocket/ keeps the shape it had as its own repo. Future scopes (kernel
video-codec accel, ffmpeg-rockchip, MPP userspace) will be added as the generic
builder is built out.
profiles/<name>/profile.toml manifests bind a kernel-version range
(applies_to_kernel) to an ordered, per-tree patch series drawn from the scopes
above — the unit a builder consumes.
profiles/rk3588-accel is the RK3588 mainline-7.1 media
- NPU series: kernel
040–086, ffmpeg0001, userspace001. A profile'skernellist spans scopes in onegit amorder (media-accel/kernel/*thenrocket/*).
boot2deb selects a profile by name (from its kernel definition), pins this repo to
an exact commit in the recipe lock ([patches] commit), and runs a verify-applies
gate that dry-runs the series with git am --3way, hard-erroring on any patch that
does not apply. Offline builds fetch the pinned revision manually.
This repository is mixed-license: repository-original artifacts carry a repository license, and each patch is a derivative work that inherits the license of the tree it modifies.
- Repository-original artifacts — this README, the
media-accel/scope READMEs, and the profile manifests underprofiles/— are GPL-3.0-or-later (LICENSES/GPL-3.0-or-later.txt), matching the userspace projects these profiles build against. rocket/scope — the NPU driver patches are GPL-2.0-only (kernel-derivative work; seerocket/LICENSE). Its uAPI headerrocket/uapi/rocket_accel.his MIT (© Tomeu Vizoso), per its SPDX tag.media-accel/scope — each patch inherits the license of its upstream tree (the Linux kernel, ffmpeg-rockchip, or the Rockchip MPP/RGA userspace); the patch's provenance header (From:/Source:) names that upstream. Kernel patches are GPL-2.0-only.
Per-file SPDX-License-Identifier tags and individual patch headers are authoritative where
present.