Skip to content

refactor: the adaptation layer in three layers, overpressure-base, sm8250-base and pico4-base - #46

Merged
Xenolphthalein merged 1 commit into
mainfrom
refactor/runtime
Nov 25, 2026
Merged

Xenolphthalein merged 1 commit into
mainfrom
refactor/runtime

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

The installed system's share of overpressure's headset runtime (runtime.md, overpressure/overpressure#84) moves out of pico4-base into the layers it belongs to:

  • common/overpressure-base: what every headset's installed system shares. preinit with hooks for the headset (preinit/early.d, preinit/mounted.d), the count of unfinished boots and its failover to recovery (overpressure-boot-ok), the storage policy and the recovery deadline, the USB link and its internet, steamos-readonly, the watchdog, journald and sshd settings, its preset.
  • sm8250/sm8250-base: what the SM8250 shares. The DSPs' start, persist, the Wi-Fi and video codec probes.
  • phoenix/pico4-base keeps the PICO 4's own: its preinit hooks (charger mode, PICO OS's firmware and the island binds, the splash), the controllers' tables after persist, addresses, clock, panels.

The runtime's names are overpressure's (/usr/libexec/overpressure, /run/overpressure, overpressure.NAME words, OP_* values from /etc/overpressure/headset); the PICO 4's packages keep theirs. The project's packages depend on none of each other; headsets/phoenix/packages.txt lists the two new ones. phoenix pins the release that follows.

…8250-base and pico4-base

What every headset's installed system shares moves from pico4-base into common/overpressure-base, overpressure's
headset runtime there: preinit with hooks for the headset (preinit/early.d, preinit/mounted.d), the count of
unfinished boots and its failover to recovery (overpressure-boot-ok), the storage policy and the recovery
deadline, the USB link and its internet, steamos-readonly, the watchdog, journald and sshd settings, its preset.
What the SM8250 shares moves into sm8250/sm8250-base: the DSPs' start, persist, the Wi-Fi and video codec
probes. pico4-base keeps the PICO 4's own: its preinit hooks (charger mode, PICO OS's firmware and the island
binds, the splash), the controllers' tables after persist, addresses, clock, panels.

The runtime's names are overpressure's (/usr/libexec/overpressure, /run/overpressure, overpressure.NAME words,
OP_* values from /etc/overpressure/headset); the PICO 4's packages keep theirs. The project's packages depend
on none of each other (makepkg cannot resolve them); headsets/phoenix/packages.txt lists the two new ones.
@Xenolphthalein
Xenolphthalein requested review from a team as code owners November 25, 2026 21:36
@Xenolphthalein
Xenolphthalein merged commit 909af64 into main Nov 25, 2026
24 checks passed
@Xenolphthalein
Xenolphthalein deleted the refactor/runtime branch November 25, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant