kernel: RV1106 6.18.46 patch series + hermetic build wrapper (P1)
- patches/: the pristine-6.18.46 -> WardenOS delta as a 13-patch, subsystem-split series (223 files, ~136K lines: clk, pinctrl, DTs/mach, usb-phy, VOP/panel/rgb, mailbox, pvtm, rknpu, rga, aic8800 wifi, audio codec, thermal/rtc/adc/gmac/touch). Verified: every patch applies cleanly onto pristine (git apply --check), the full series reproduces the hardware-verified tree, and the applied source configures + builds the warden dtb + rockchip DRM drivers (rc=0). - build/build-kernel.sh: fetch+verify pristine (sha256-pinned) -> apply series -> warden_defconfig -> zImage + rv1106-warden.dtb. build/warden_defconfig captured. - CI: `patches-apply` (GitHub-hosted, cached tarball) enforces the series applies; `kernel-build` (self-hosted warden-sdk runner, dispatch-gated until registered) runs the full build and uploads the image. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c7ff63b3f6
commit
f2a9c0a32c
@@ -0,0 +1,25 @@
|
||||
diff --git a/drivers/mailbox/rockchip-mailbox.c b/drivers/mailbox/rockchip-mailbox.c
|
||||
index 4d966cb2e..31c5a693f 100644
|
||||
--- a/drivers/mailbox/rockchip-mailbox.c
|
||||
+++ b/drivers/mailbox/rockchip-mailbox.c
|
||||
@@ -155,7 +155,20 @@ static const struct rockchip_mbox_data rk3368_drv_data = {
|
||||
.num_chans = 4,
|
||||
};
|
||||
|
||||
+/*
|
||||
+ * RV1106's mailbox IP is register-identical to rk3368's, but the SoC wires a
|
||||
+ * single shared interrupt (GIC_SPI 1) rather than one IRQ per channel. The
|
||||
+ * per-channel-IRQ probe loop below would fail requesting IRQ index 1, so
|
||||
+ * declare a single channel (channel 0) — which is all the A7<->HPMCU doorbell
|
||||
+ * needs. (Matched ahead of the rk3368 fallback via the more-specific
|
||||
+ * "rockchip,rv1106-mailbox" compatible the DT node also carries.)
|
||||
+ */
|
||||
+static const struct rockchip_mbox_data rv1106_drv_data = {
|
||||
+ .num_chans = 1,
|
||||
+};
|
||||
+
|
||||
static const struct of_device_id rockchip_mbox_of_match[] = {
|
||||
+ { .compatible = "rockchip,rv1106-mailbox", .data = &rv1106_drv_data},
|
||||
{ .compatible = "rockchip,rk3368-mailbox", .data = &rk3368_drv_data},
|
||||
{ },
|
||||
};
|
||||
Reference in New Issue
Block a user