Files
bfe-core1106-sdk/docs/decisions/0001-kernel-base.md
T
BFE Engineering 42fb386f60 docs: ASCII typography and style normalization across all repo text
Replace every em dash with real punctuation (rewrites, not hyphen swaps)
in docs, code comments, scripts, configs, and the port records; convert
en dashes, curly quotes, ellipsis glyphs, arrows, and section signs to
ASCII; drop machine-writing tell phrases from living docs. ADR titles
now use a colon. The M2 bring-up DTS model string carried an em dash
into the patch series and its record echoes; fixed at both, and the full
series re-verified to apply cleanly onto pristine 6.18.46. One comment
in freshness.h deliberately names the em dash glyph the UI renders as
the unknown mark; that is data, kept as prose naming it.

Verified: cargo tests (sim, config-lint, rs485-bridge), shellcheck,
both driver MC/DC harnesses, patches-apply.
2026-08-31 12:31:27 -06:00

1.5 KiB

ADR 0001: Kernel 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 required: 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_device offset 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).