Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion THIRD-PARTY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ release `2026.12.4`, which carries the complete sources of its GPL and LGPL pack

Valve's Linux kernel with the project's changes is its own repository,
[overpressure/linux](https://github.com/overpressure/linux) (GPL-2.0-only, unless a file states another
license). `kernel.json` pins its release `phoenix/7.2-12`, whose binaries the project publishes there
license). `kernel.json` pins its release `phoenix/7.2-13`, whose binaries the project publishes there
with their source: Valve's commit `e5fd17767590` and the project's commits on it.
9 changes: 7 additions & 2 deletions docs/internals/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ overpressure's recovery: it stays in the acceptance runner's boot image and on t
| File | Purpose |
| --- | --- |
| [boot.json](../../boot.json) | the installed system's boot image's recipe: the words Valve's kernel boots the installed system with, the stock words it does not take, the ABL's 511 bytes; `dev boot-image`, the installer and an update's install on the headset make the boot image by it (overpressure's `kernelimage.installed_boot`), the same bytes |
| [kernel.json](../../kernel.json) | the pin: overpressure/linux's tag (`phoenix/7.2-12`), its commit, the build image it was built with, and the SHA-256 of `Image.gz`, the device tree, `config` and `version`; under `build` the device tree (`sm8250-pico4-phoenix`), the config fragment (`pico4.config`) and the host name (`pico4`) the kernel is built with |
| [kernel.json](../../kernel.json) | the pin: overpressure/linux's tag (`phoenix/7.2-13`), its commit, the build image it was built with, and the SHA-256 of `Image.gz`, the device tree, `config` and `version`; under `build` the device tree (`sm8250-pico4-phoenix`), the config fragment (`pico4.config`) and the host name (`pico4`) the kernel is built with |
| [tooling/kernel.py](../../tooling/kernel.py) | `kernel fetch` (the installer's step: the release's files into `out/kernel`), `kernel build` (the pinned commit built here in the release's build image, [below](#building-it-yourself)), `kernel check DIR`, `kernel contracts` ([below](#contracts)) |
| overpressure's [build-kernel.sh](https://github.com/overpressure/overpressure/blob/main/overpressure/build/build-kernel.sh) | a checkout of overpressure/linux's `phoenix/7.2` to `Image.gz`, the device tree, `config`, `version` and `build.json` (release, commit, banner, the tooling's commit, the build image, hashes), by `kernel.json`'s build values; `uname -v` names the commit. That repository's CI builds each change with it once, through ccache when `CCACHE_DIR` is set (its check builds), and each tag twice on two machines without it, and releases a tag whose builds agree |
| [imx471_mode.py](../../tooling/stock/imx471_mode.py) | the RGB camera's register table, from the camera module in the stock vendor image: the file the driver loads |
Expand Down Expand Up @@ -123,6 +123,11 @@ The PICO 4 follows that model with its own panel driver ([`panel-pico4-ls026b3sa
4320x2160 at 90 Hz from the stock timings, VDDIO from L7A, reset (GPIO 75, stock 20/20/30 ms), VIO enable (GPIO 133)
and backlight enable (GPIO 29).

- The bootloader leaves the panels lit (GPIO 29 high) with its logo scanned out. Once the display's clock controller
and the SMMUs probe (0.42–0.45 s), that scanout breaks up and lit panels show grey, so a pin state of the TLMM itself
holds GPIO 29 low from its probe at 0.17 s, right after the PDC. The panel driver keeps it low through the first
power-on and raises it once, with the picture. Watched at boot: PICO's logo, a flash too short to tell apart, dark,
the boot indication. Nothing the kernel does before 0.17 s touches the display; the CPU idle driver starts at 0.50 s.
- The bootloader leaves VIO an input, so each line becomes an output on its first use; a value set on an input pin
does nothing.
- The ±5.8 V bias comes from PM8150L's LCDB, which mainline has no driver for; it stays as the bootloader set it.
Expand Down Expand Up @@ -237,7 +242,7 @@ per layer, each taking its changes from the one below it; each commit says why i
| Layer | What |
| --- | --- |
| `common/7.2` | fixes any headset on Valve's tree can meet: DDR information, the root's identity after the ABL's overlay, BCL, writebacks, Bluetooth's firmware wait, the DSPs' handover, FastRPC, the unaligned atomic fixup, GPU page faults, the DSP's PCM format, the deferred split shrinker, PSCI's reset, the WCD codec's interrupts, DisplayPort over a Qualcomm USB-C port (the Type-C driver's HPD bridge, the QMP combo PHY's orientation switch while DP runs, the DSI writeback hack on DSI encoders only), the PD contract's end at a power-off or a restart before the devices shut down, with the Type-C port on again after it, the clock core's reparent of an orphan without its parents switched on; and the CI |
| `sm8250/7.2` | the SM8250's blocks: Venus, CAMSS (PHY settings, start of frame, the RGB camera's path, 16-bit samples), preemption on the A650, refresh changes on DPU 6.0, PM8150B's charger for PD contracts (the PD PHY, the OTG booster, the Type-C port's settled state) and TCPM's capability-set selection |
| `sm8250/7.2` | the SM8250's blocks: Venus, CAMSS (PHY settings, start of frame, the RGB camera's path, 16-bit samples), preemption on the A650, refresh changes on DPU 6.0, PM8150B's charger for PD contracts (the PD PHY, the OTG booster, the Type-C port's settled state), TCPM's capability-set selection and the PDC registered before the device initcalls (so that the TLMM probes at 0.17 s instead of waiting for the late initcalls) |
| `phoenix/7.2` | the PICO 4: its panel, battery, tracking and RGB camera drivers, audio as the stock kernel runs it, the device tree, `pico4.config` and its driver tests (`tools/testing/overpressure/phoenix/`) |

Every change moves up the layers by pull request, merged with a merge commit; nothing is rebased or force-pushed.
Expand Down
8 changes: 4 additions & 4 deletions kernel.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"repository": "overpressure/linux",
"tag": "phoenix/7.2-12",
"commit": "a7093562ce9f2057c8b60f8d6e7ea2b3cd3a3289",
"tag": "phoenix/7.2-13",
"commit": "c5afc400de1960bc9f75eec87630b954640b3ced",
"image": "ghcr.io/overpressure/builder:2026.11.16@sha256:28a94d24c806a861406a7b462f3da5e19df1b120cf5964ed641340855911712d",
"files": {
"Image.gz": "9e76c9fbde4282caf99ce1f480775a8dddae0aa7701d2cef9bc1841fac590eb8",
"sm8250-pico4-phoenix.dtb": "c4a32c93b05a05046873f33c44423aae3c95bf59fb338b67b67e47df26e740bb",
"Image.gz": "b90ad87744f325c7faa04048eca6116956ecc607b5c22d2bae56c6ae82a38f4b",
"sm8250-pico4-phoenix.dtb": "d084fcacf2960c4ba52f7479c530b2f073efa57dadd421e19fea1e0d01466e69",
"config": "1a11b02cfcce1f6b937b1b2958fd9e9a9c0b5c0b26cc0da6f2bb6323b0f981e3",
"version": "09c671222d5f2fced0b46bdcd76e4c98c55b06ab74f1847a95ceb88a61ac1049"
},
Expand Down