device-motorola-rtwo: initramfs debug shell, panel revive, power key

- deviceinfo / modules-initfs: boot through the U-Boot chainload, modules
  needed in the initramfs for the display, USB and the DSPs.
- initfs hooks: dropbear/telnet debug shell over USB networking.
- rtwo-panel-revive.service: blank/unblank the NT37705 if it comes up
  dead from the ABL handoff.
- logind-power-key.conf: ignore the power key (handled by the dashboard).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnHwDU5yL8L6qgPEN5CV5m
This commit is contained in:
2026-09-26 20:02:56 -03:00
co-authored by Claude Opus 5.5
parent 8a87204d48
commit c028f63183
10 changed files with 497 additions and 12 deletions
@@ -0,0 +1,15 @@
#!/bin/sh
# Corre en la etapa /hooks-cleanup de init_2nd.sh, justo antes de
# "Switching root" (el ultimo punto de control antes de pasarle el arbol
# de procesos al systemd de la rootfs real).
#
# El dropbear que arranca initfs-hook.sh para el debug-shell (-p 22, en
# background con '&') NO muere solo en switch_root -- los procesos
# existentes sobreviven el pivote de root, solo cambia el filesystem raiz
# para los que arrancan DESPUES. Confirmado en hardware 2026-09-19: quedaba
# vivo (PID bajo, ej. 235) pegado al puerto 22 para siempre, y
# sshd.service de la rootfs real nunca podia bindear ("Address in use",
# reintentaba 5 veces y se rendia con start-limit-hit) -- el sistema
# arrancaba perfecto por debajo (Multi-User System, Graphical Interface
# alcanzados en ~48s), pero SSH quedaba inutilizable siempre.
pkill dropbear 2>/dev/null || true