Repository navigation
device/dipper: add a RAM-only first-light build path - #505
quatrixone wants to merge 4 commits into
Conversation
The Mi 8 has one OS boot partition, so a failed persistent update has no known-good OS slot to return to. Keep this first integration RAM-only: the descriptor is non-installable, the builder emits an Android v1 image for fastboot boot, and its storage allowlist is empty. Add the Dipper kernel fragment, a bounded image packer, a read-only initramfs build, recovery instructions, and a WIP device matrix row. Wi-Fi identity, firmware and any persistent install path stay out until their own safety gates are met. Checks: git diff --check and bash -n passed. Kernel build and hardware probe not run in this session.
a841ad2 to
91ff102
Compare
|
Thank you for this. A RAM-only first-light path is the right way to start a phone with no second slot, and the descriptor does what you say. A few things before it can merge: 1. The matrix row. DEVICES.md's matrix is for devices with merged notes, and the notes are still in review in #330. Until #330 merges, the Mi 8 belongs in the "Wanted" table, with a link to this PR and #330. Once #330 is in, a matrix row is welcome, with these changes:
2. One run of this image. The description says no kernel build or phone probe ran for this PR. A device change needs a report from the phone.
3. The runbook in gated form. BRINGUP-M1 explains the recovery well. The phone steps need the usual shape, though: Expect/Pass, a stop condition, a rollback and a risk level for each step, read-only checks first. Also please pass Smaller things:
On order: this goes after #330, since its links and the matrix row need the notes. It builds only on linux-omarchy-mobile #218, because |
|
Thanks for working through the list. The Mi 8 now sits in the Wanted table with the right links. The runbook has a backup gate, a fastboot gate and a RAM boot gate, with What's still needed before merge: 1. One run of this image. This is the same request as last time, and the main one. Please boot the image this builder makes once, attended, and record in the notes:
One expectation to put in that step: with kernel #220 as it stands, the screen will most likely go dark about 30 seconds after boot. I've explained why on #220. If the screen does go dark there, that's the regulator cleanup, not a hang. 2. The RAM boot gate's Pass. "USB/SSH checks succeed" should name the checks above, the read-only flags first, with "any partition reads 0" as a stop condition. The rollback ("power-cycle to the installed boot image") also needs the forced-restart combination, which I've asked for on #499. 3. Order. This branch now also carries #503's init change (your Smaller things:
The title is fine for the squash. |
Adds the Xiaomi Mi 8 as a WIP RAM-only bring-up target. The descriptor disables generic image installation, flash and push; the builder creates an Android v1 image for
fastboot boot, and the initramfs keeps every UFS partition read-only. The runbook gates backup checksums, fastboot serial selection and RAM boot. The device remains under Wanted until notes PR #330 merges.Kernel dependencies are public for review in linux-omarchy-mobile PRs #218–#221. The button recovery entry is in PR #499.
This is an initial first-light path, not a complete installable device port. Wi-Fi, per-device identity and persistent installation remain disabled; identity must use
debugfswithout mountingpersist.Checks:
tests/dipper-probeandgit diff --checkpassed. No kernel build or hardware probe was run.