One kernel flash for everything later work needs (rebuild M0, d09 M0-2): - warden_defconfig: cgroup v2 controllers (MEMCG, CGROUP_PIDS, CGROUP_SCHED, FAIR_GROUP_SCHED, CFS_BANDWIDTH), the byte-metering match symbols (XT_MATCH_CGROUP, XT_CONNMARK, XT_MARK, IP6_NF_MANGLE), IKCONFIG and IKCONFIG_PROC, XT_MATCH_OWNER, the raw tables and the CT target (the NOTRACK for flare-edge#537), NAMESPACES with its five sub-options (USER_NS stays closed at boot by a sysctl), PSI, and the nftables set (NF_TABLES, ip and ip6 families, NFT_CT, NFT_MASQ, NFT_NAT, NFT_LIMIT, NFT_SOCKET, NFT_REJECT). TIME_NS and RT_GROUP_SCHED are explicitly unset. HW_RANDOM_ROCKCHIP is built in as a probe for the hardware RNG. - build/required-symbols.txt and probe-symbols.txt are the source of record; build-kernel.sh asserts both against the final .config instead of a hand-written list (olddefconfig drops an unknown or unsatisfied symbol without a word). - WARDEN_CONFIG_ONLY=1 stops after that assertion (a seconds-long CI gate) and, like a full build, writes the final .config and its sha256 (CONFIG_OUT), the digest firmware images record as KCONFIG_SHA256. - clk_core_mcu_rtc gets CLK_IGNORE_UNUSED like clk_core_mcu, in the patch and in the enablement source it documents, so 6.18 keeps the HPMCU mtime clock up. - CI: a kernel-symbols job expands the real configuration and asserts the lists on every push; offline tests prove the assertion fires for every failure shape. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
The Kernel Patch Series
The delta that forward-ports the vendor Rockchip 5.10.160 RV1106 support onto a
pristine upstream linux-6.18.46, as a reviewable, subsystem-split series. Every
patch applies cleanly onto pristine 6.18.46 (git apply --check), and the whole set
reproduces the 223-file / ~136K-line delta that boots and is hardware-verified on
warden-c8a3 (see ../kernel/rv1106-enablement/).
Build it with ../build/build-kernel.sh (fetch pristine -> apply these -> configure
with ../build/warden_defconfig -> zImage + rv1106-warden.dtb).
The Series
| Patch | Scope |
|---|---|
05-build-wiring.patch |
top-level drivers/{Kconfig,Makefile} (wire in rknpu) |
10-clk-rv1106.patch |
CRU clock driver (clk-rv1106.c, reuses rv1126 data) |
15-pinctrl.patch |
pinctrl-rockchip RV1106 iomux |
20-arch-dts-bindings.patch |
arch/arm DTs (rv1106.dtsi, rv1106-warden.dts, pinctrl), mach, configs, include/dt-bindings |
25-usb-phy.patch |
inno-usb2 phy |
27-usb-phy-tuning.patch |
inno-usb2 phy: RV1106 signal-quality register tuning |
29-usb2phy-no-blind-otg-sm.patch |
inno-usb2 phy: stop the OTG/charger state machines running blind |
30-drm-vop-panel-rgb.patch |
VOP (rgb_dclk_pol=0 + WIN1 scanout), panel-simple bus-format, rockchip_rgb |
35-mailbox-hpmcu.patch |
rockchip-mailbox (rv1106 num_chans=1) |
40-pvtm-soc.patch |
PVTM (core+pmu) + include/soc/rockchip/pvtm.h |
45-npu-rknpu.patch |
open GPL rknpu 0.9.2 driver + rknpu_ioctl.h uapi |
50-rga.patch |
RGA 2D (rga3) + drivers/video wiring |
60-wifi-aic8800.patch |
out-of-tree AIC8800 wifi/BT (the 88.5K-line vendor blob) |
70-audio-codec.patch |
rv1106_codec + I2S wiring |
80-misc-thermal-rtc-adc.patch |
tsadc, rtc-rockchip, saradc, trng, otp, gmac, goodix touch |
License
Everything in this directory is a derivative work of the Linux kernel and of GPL-2.0 vendor kernel code: GPL-2.0-only (or the per-file SPDX identifier where one is present), the same license the whole repository carries.
Provenance & regeneration
Baseline: linux-6.18.46 from kernel.org (build/linux-6.18.46.tar.xz.sha256
pins the tarball). The series was generated by overlaying the hardware-verified
source tree onto pristine (build artifacts excluded) and splitting git diff by
subsystem. Licensing/origin of each block is tracked in
../kernel/rv1106-enablement/PROVENANCE.md.
Whitespace: 60-wifi-aic8800.patch carries the vendor blob's trailing-whitespace
verbatim; git apply --whitespace=nowarn (the build wrapper) accepts it. Do not
re-flow vendor code; it must stay diffable against future vendor drops.