Repository navigation
arm64: dts: exynos: google: gs201-panther: reboot=warm, so reboot-to reaches fastboot - #198
Conversation
|
Thanks for this, and for the cold control; three out of three against zero out of one is a clear enough answer for the bootloader path. Two things before I merge it:
Small one: please add a sentence that a warm reset leaves the PMIC rails powered. On the 7 Pro that hid the accelerometer after a warm reboot until the AoC start power-cycled the sensor rails, and panther's sensor work will want to know. |
…reaches fastboot A cold PSCI reset loses the reboot mode the kernel writes for the bootloader, so "reboot-to bootloader" boots slot B again. With /sys/kernel/reboot/mode set to warm at runtime, the Pixel 7 reached fastboot 3 times out of 3 (about 33 s each); a cold control booted Linux again (0 of 1). husky carries the same option in its bootargs. Booted with this line (/proc/cmdline has reboot=warm, and /sys/kernel/reboot/mode reads warm), with nothing written by hand: - reboot-to bootloader: fastboot, three times; - an ordinary reboot: back to Linux on slot B; - a panic (echo c > /proc/sysrq-trigger, with panic=10): reset, and back to Linux on slot B, the reset spending one of slot B's boot tries (devinfo retry count 2 to 1), as the initramfs's no-USB-host panic relies on. Every reboot now becomes a warm reset, which leaves the PMIC rails powered. On the Pixel 7 Pro that hid the accelerometer after a warm reboot until the AoC start power-cycled the sensor rails; on the Pixel 7 the sensor proxy still found the accelerometer, light and proximity sensors after these warm resets. Assisted-by: LLM Signed-off-by: Ángel René <17342133+angelrenefm@users.noreply.github.com>
d661ac5 to
05e2d83
Compare
|
Thanks, Derek. Both paths are now checked from a boot with
I've updated the commit message with these results, and added a paragraph that a warm reset leaves the PMIC rails powered and what the 7 Pro's accelerometer did. On the Pixel 7, the sensor proxy still found the accelerometer, light and proximity sensors after three warm resets in a row. Turning the phone right after the last one rotated the screen (transform 3, then back to 0), so the accelerometer was working, not just present. I used AI help (Claude) to work on this. |
|
Thank you, @angelrenefm. That's everything I asked for: an ordinary reboot and a panic both come back to slot B with On my side, |
reboot-to bootloaderon the Pixel 7 boots slot B again instead of stopping in fastboot: a cold PSCI reset loses the reboot mode the kernel writes for the bootloader. husky already carriesreboot=warmin its bootargs for the same reason; this adds it to panther's.Measured on a second Pixel 7 (stock CP3A.261005.002.A1 bootloader), kernel
7.3.0-rc6-omamobile-push1-g44048a9aa795(a local branch:omamobileat fe9627c plus #181's display series and other panther commits not yet proposed):echo warm > /sys/kernel/reboot/mode, thenreboot-to bootloader: fastboot 3 times out of 3, about 33 s each, withfastboot --set-active=bbetween tries./proc/cmdlinehasreboot=warmand/sys/kernel/reboot/modereadswarm.warmfrom the bootargs alone),reboot-to bootloader: fastboot in about 33 s.Not checked: this commit on
omamobilewithout the other local commits; more than one try from the bootargs line alone.Checks:
tools/kernel-pr-check --build OUT --merge origin/omamobilepasses: sign-off, no Co-Authored-By, prefix, checkpatch --strict (one LONG_LINE warning on the bootargs string, which was already over 100 columns), policy, and the 9 device trees with W=1 anddtbs_checkwith no new warnings.tools/phone-smoke (the same phone, 2026-11-04T18:47Z)
phone-smoke: panther
Kernel
7.3.0-rc6-omamobile-push1-g44048a9aa795, tools at3435ed4, 2026-11-04T18:47Z.Packages: hyprland 0.57.0-3.1, libcamera 0.7.2-4.22, mesa 1:26.2.4-1.4, omacam 0.3.3-1, omamobile-apps 0.2.0-1, omamobile-audio 0.5.13-1, omamobile-device-panther 0.1.5-1, omamobile-firstboot 0.1.3-1, omamobile-gnss 0.2.7-1, omamobile-keyring 20261026-1, omamobile-mirror 0.1.1-1, omamobile-omarchy 0.1.28-1, omamobile-owl-widgets 0.1.1-1, omamobile-sensors 0.2.1-1, omamobile-shell 0.2.79-1, omarchy 4.0.6-1, quickshell 0.3.2.r7.g2b4501a-1
I used AI help (Claude) to work on this.