Use target hostnames and restore lk2nd bootloader reboot

This commit is contained in:
Luxferre committed 2026-11-09 23:44:44 +02:00
1 parent 1c011b360a
commit 3b96b8f242
22 files changed
+203 -70

No files matched your search

+7 -4
View File
@@ -200,10 +200,13 @@ reappear.
## Power-menu Fastboot menu
`sxmo_power.sh loader` writes `0x02` into `PON_SOFT_RB_SPARE[1:0]`. The stock
boot chain scrubs the upstream high-bit cookie before chain-loading lk2nd, so
this port's `check_hard_reboot_mode()` prefers bits `[1:0]` and its
`reboot_device()` writes the same low-bit cookie for `FASTBOOT_MODE`. That
`sxmo_power.sh bootloader` writes the low-bit `FASTBOOT_MODE` cookie into
`PON_SOFT_RB_SPARE[1:0]` on the 2720 Flip. On other targets the torch module
sets both the low-bit and upstream high-bit lanes so generic lk2nd can see the
reason. The stock beatles boot chain scrubs the upstream high-bit cookie before
chain-loading lk2nd, so this port's `check_hard_reboot_mode()` prefers bits
`[1:0]` and its `reboot_device()` writes the same low-bit cookie for
`FASTBOOT_MODE`. That
keeps **Bootloader**, **EDL**, **Reboot**, **Recovery** and **Shutdown**
visible on the display-enabled image. Live verification: the menu appears
within 6 s, `fastboot oem screenshot` stages the 240x320 menu frame, and