From 90f04d113f6ccc235e81279342fbf2c49f3973f6 Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Sun, 8 Nov 2026 13:17:23 -0500 Subject: [PATCH] omamobile-device-cheetah 0.1.47: load nvmem_max77759 for the reboot reason linux-omarchy-mobile#176 describes the MAX77759's reboot-reason cell and an nvmem-reboot-mode node on it, so `reboot-to bootloader` writes 0x800000fc (RSBM valid, bootloader) where Google's driver does and ABL stops in fastboot. The cell's provider is nvmem_max77759, which this package has blacklisted since the MAX77759 bring-up, so the reboot-mode driver waited for its supplier and the reason was never written. Tested on the maintainer's Pixel 7 Pro on 2026-11-08, on #176's kernel (7.3.0-rc6-omamobile-push1-g8de6aedc7373) with nvmem_max77759 loaded by hand: reboot-mode bound, the cell read 00 00 00 80, `reboot-to bootloader` reached fastboot about 4 s later with no buttons (the same command without the module did not that morning), `fastboot reboot` returned to slot B with the cell back at 00 00 00 80, and a plain `systemctl reboot` booted normally. The module autoloads by its platform:max77759-nvmem alias once the blacklist is gone. On a kernel without #176's cells it provides nothing anyone uses. tcpci_maxim and gpio_max77759 stay blacklisted. Co-Authored-By: Claude Opus 5.5 --- .../vendor/modprobe.d/omamobile-max77759.conf | 4 +++- packages/omamobile-device-cheetah/version | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/omamobile-device-cheetah/vendor/modprobe.d/omamobile-max77759.conf b/packages/omamobile-device-cheetah/vendor/modprobe.d/omamobile-max77759.conf index d98aa8aaa..a04e81659 100644 --- a/packages/omamobile-device-cheetah/vendor/modprobe.d/omamobile-max77759.conf +++ b/packages/omamobile-device-cheetah/vendor/modprobe.d/omamobile-max77759.conf @@ -5,6 +5,8 @@ # The MFD core and the charger load at boot (omamobile-charger.conf sets the # charger's input limit and temperature guard; USB-C-PLAN D1). tcpci_maxim # would take over the USB-C port we use for SSH: it waits for gate B4. +# nvmem_max77759 loads: it provides the reboot-reason cell that +# nvmem-reboot-mode writes for `reboot-to bootloader` (linux-omarchy-mobile +# #176). blacklist tcpci_maxim blacklist gpio_max77759 -blacklist nvmem_max77759 diff --git a/packages/omamobile-device-cheetah/version b/packages/omamobile-device-cheetah/version index 6871b9e7a..9506d143f 100644 --- a/packages/omamobile-device-cheetah/version +++ b/packages/omamobile-device-cheetah/version @@ -1 +1 @@ -0.1.44 +0.1.47