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: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ jobs:
contents: write
pull-requests: read # the notes name each change's pull request and its author
issues: write # the issues it releases are closed
secrets:
update-key: ${{ secrets.UPDATE_KEY }} # signs the release's update once overpressure.json pins overpressure
6 changes: 5 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ checks the links; a link may not leave this repository, so links to overpressure
- `initramfs/`: the PICO 4's overlay on overpressure's headset runtime
([runtime.md](https://github.com/overpressure/overpressure/blob/main/docs/internals/runtime.md)) in overpressure's recovery (in
`recovery`) and the base of test images: its values in `etc/overpressure/headset`
(which the image takes too, and the tooling reads: `VALUES`, `GADGET`, `HOST`) and `pico4-install` (the
(which the image takes too, and the tooling reads: `VALUES`, `GADGET`, `HOST`), `etc/overpressure/update.pub` (the
public key a release's signed update is checked with; its private half is the repository's `UPDATE_KEY` secret)
and `pico4-install` (the
installer's only writer: overpressure's `overpressure-install` under the PICO 4's name, which earlier
recoveries' restores call). The status page, `overpressure-info`, `overpressure-probe`, the login
profile and the QEMU self-test (overpressure's `tests/qemu/`) are the runtime's. The runtime's `overpressure-init`
is PID 1, not busybox init: busybox's `kill(-1)` also reaches kernel threads that accept signals.
- `boot.json`: the installed system's boot image's recipe (its command line words, the stock words dropped, the
ABL's limit), which `boot_images.py` and the headset's own update read alike.
- `kernel.json`: Valve's kernel: the pinned release of overpressure/linux (tag, commit, build image, file
hashes) and, under `build`, what overpressure's `build/build-kernel.sh` builds it with (the device tree, the
config fragment, the host name), as overpressure/linux's CI and `kernel build` run it. `tooling/kernel.py`:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ to PICO OS is part of it.
| Upgrade to a new release | ✅ | Keeps your data, Wi-Fi, room and Steam sign-in |
| Back to PICO OS | ✅ | From the backup the install made |
| Back to PICO OS without a backup | ✅ | From PICO's own downloads, the build the headset's firmware has; run once, on Windows |
| Updates on the headset | ✅ | Overpressure Settings → Updates downloads a newer release and installs it, without a computer |

Everything that is still open: [the issues](https://github.com/overpressure/phoenix/issues).

Expand All @@ -119,7 +120,8 @@ More on each, and what the install asks before it starts: [installing](docs/use/
downloaded first if you tick that before the start.
4. When the app says so, unplug the headset and put it on.

**Upgrade** installs a newer release and keeps your data. **Restore to stock** brings PICO OS back from the
**Upgrade** installs a newer release and keeps your data; the headset also updates itself, in **Overpressure
Settings → Updates** ([updates](docs/use/using.md#updates)). **Restore to stock** brings PICO OS back from the
backup and finishes by itself; keep the headset on the cable, as PICO OS's first start may update the controller of
the lenses and the fan. Tick *Keep USB debugging on in PICO OS* before the start to reach PICO OS over USB right
away. Without a backup, **Rescue PICO OS** brings PICO OS back from PICO's own downloads
Expand Down
2 changes: 1 addition & 1 deletion THIRD-PARTY.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The project's packages (Monado with the PICO 4's driver, Basalt, gamescope, hexa
plugin, GTK 2, MangoHud and others) and the PICO 4's image definition are their own repository,
[overpressure/packages](https://github.com/overpressure/packages), whose THIRD-PARTY.md lists the material
from other projects and the project's own code under their licenses. `userspace/packages.json` pins its
release `2026.12.1`, which carries the complete sources of its GPL and LGPL packages.
release `2026.12.2`, which carries the complete sources of its GPL and LGPL packages.

## The kernel

Expand Down
27 changes: 27 additions & 0 deletions boot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"words": [
"clk_ignore_unused",
"pd_ignore_unused",
"regulator_ignore_unused",
"panic=5",
"root=PARTLABEL=super",
"rootfstype=ext4",
"rootwait=20",
"ro",
"init=/usr/libexec/overpressure/preinit",
"overpressure.root=installed",
"overpressure.autoreboot=0",
"msm.dpu_use_planar_cac=0"
],
"stock_only": [
"androidboot.",
"lpm_levels.",
"video=",
"msm_rtb.",
"service_locator.",
"swiotlb=",
"buildvariant=",
"console="
],
"limit": 511
}
1 change: 1 addition & 0 deletions docs/internals/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ As shipped:

| 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-11`), 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 |
Expand Down
Loading