- Dual license (LICENSE / LICENSE-MIT / LICENSE-APACHE) matching the crate manifests. - ADRs 0001-0005: kernel base (direct 5.10->6.18.46 forward-port), tiered MC/DC, standalone repo, CI runner (3rd repo-scoped runner on 0640), driver source-of-truth. - README goal 1 reconciled to the verified 6.18.46 forward-port (was stale plan44/6.6). - Drop tracked build objects (*.o now gitignored). - Capture the display (VOP dclk-pol + WIN1) and GT911 touch bring-up VERIFIED docs + capabilities-audit update from this session. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
1.5 KiB
1.5 KiB
ADR 0001 — Kernel base: direct 5.10→6.18 forward-port
Status: Accepted (2026-08-25). Supersedes the README's original plan44/6.6 goal.
Context
The vendor kernel is Rockchip 5.10.160 (via Luckfox). We want the newest stable Linux runnable on our Buildroot LTS (2025.02.x). Two candidate paths existed: (a) baseline on plan44's OpenWrt RV1106 fork (Linux 6.6, 152 RV1106 patches), or (b) forward-port the vendor tree directly onto a chosen upstream stable.
Decision
Forward-port directly to Linux 6.18.46 from vendor 5.10.160, carrying no
plan44/OpenWrt code. Reuse the already-upstream rv1126 register data where it
matches the RV1106 ("RV-series lite" VOP, clk, pinctrl), and carry the RV1106
deltas as a reviewable patch series in patches/.
Consequences
- Done and hardware-verified on
warden-c8a3: clk, pinctrl, eMMC, GMAC, TRNG, OTP, SARADC/TSADC, RTC, USB host, PWM/backlight, VOP display, GT911 touch, AIC8800 wifi, RGA, I2S audio, HPMCU mailbox, open NPU driver, PVTM. - uClibc stays load-bearing — RGA/MPP/ISP/NPU userspace ship as uClibc-only blobs; a glibc swap breaks media (flare-edge #51, wontfix). Any kernel bump inherits this.
- Kernel bumps risk struct-ABI breaks for out-of-tree modules (the AIC8800/VLAN
struct net_deviceoffset saga). Mitigation: ship one matched full boot+oem image, never a partial reflash. - Deferred by design: crypto-v3 accelerator (CPU crypto already covers the need), open NPU compute (a person-year register-RE effort, no RV1106 prior art).