J81: RAM boot after a DFU entered from Linux often freezes before userspace
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, python, wasm
- Ambito
- operating-systems
Direzione di ricerca
The freeze is a hardware-state problem spanning the m1n1 boot path, the PMU/charger driver and the DFU entry, not a single file the payload names. Start by reading the #197 PMU event-masking change and the charger unbind steps referenced in the table. Done would mean a reproducible explanation or a fix verified over repeated warm boots on J81, which needs the physical device and a UART or hypervisor setup the payload says has not been tried.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
On the iPad Air 2 (J81, A8X / T7001), an orchard run RAM boot that follows a DFU entered from a running Linux often freezes in the first second. The SoC then hangs until the watchdog resets it to the Apple logo. A RAM boot after a full power-off, then Recovery → DFU, came up in every attempt. orchard launch of an installed Omarchy did not freeze in any test, including after a DFU entered from Linux.
What a freeze looks like
- The last kernel lines are
clk: Disabling unused clocks,PM: genpd: Disabling unused power domains,Freeing unused kernel memoryandRun /init as init process(0.557 s). Sometimes the first line from/initalso appears. - After that the screen does not change. USB never comes up, so there is no serial, network or SSH.
- After a while the watchdog resets the iPad to the Apple logo.
- With
clk_ignore_unused pd_ignore_unused, one boot came up and one showed a red screen before the kernel printed anything. That is too little to tell either way.
When it happens
All on one J81, host Asahi Linux on a MacBook Air M2 with an Apple Lightning to USB-A cable and a USB-A to USB-C adapter. The payload is a RAM probe with modules = true and firmware = true.
| Before the boot | Booted | Froze |
|---|---|---|
DFU from a running Linux, unmodified main kernel (Wi-Fi loaded or not) |
3 | 3 |
| DFU from a running Linux whose Lightning charger had PMU event 0 unmasked (#197 drops that event) | 0 | 5 |
| the same, charger unbound first | 2 | 0 |
| DFU from the RAM boot that just froze, or Recovery entered from it | rarely | most |
| full power-off (or a watchdog reset into iPadOS), then Recovery → DFU | every attempt | 0 |
Two observations:
- After a freeze, the next boot often freezes too, whether it starts from a DFU or from Recovery. A full power-off always cleared it: hold Power in Recovery until the iPad is off, wait, then Recovery → DFU.
- A DFU from Linux resets the SoC, but neither the PMIC (D2207) nor the Wi-Fi chip. That reset also skips iBoot, so neither of them is reinitialised before m1n1 and the kernel start.
Ruled out, as far as these tests go
- The new charger code: the unmodified
mainkernel without it froze too. - Wi-Fi DMA from the previous session: a probe that never loaded
brcmfmacalso froze after a DFU from Linux. - The D2207 input-current limit: with the charger unbound and the limit set back to 1500 mA by hand, the next warm boot came up.
- Timing of the DFU: freezes happened after DFUs taken 30 s and several minutes into a session.
Not tried yet
- Capturing the frozen boot's log. A ramoops region in RAM did not survive Recovery, and a warm DFU after a freeze mostly froze again.
- The m1n1 hypervisor, or the UART, to see where the CPUs stop.
- Other A8X boards (J82), A8 boards (J96, J97) and the A7.
Earlier, during the J81 audio work in #192, 4 of 5 early RAM boots froze the same way, before any audio driver loaded. Those boots came after DFUs entered from iPadOS.
🤖 Generated with Claude Code
- Lingua principale
- Python
- Stelle
- 102
- Fork
- 27
- Merge medio
- 10h 43m
- PR unite (30g)
- 293
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OrchardLinux/orchard
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OrchardLinux/orchard#398 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
OrchardLinux/orchard#365 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
OrchardLinux/orchard#420 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OrchardLinux/orchard#416 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
OrchardLinux/orchard#414 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OrchardLinux/orchard
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
LearningCircuit/local-deep-research#10161 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
chore: contact address [email protected]Forse già presa @larsrollik l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Gustavo-Galvao-e-Silva/panchi#228 ·
I maintainer di solito rispondono entro 1 giorno