PINE64
Suspend/Resume Broken with Bootloader on SPI Flash - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Suspend/Resume Broken with Bootloader on SPI Flash (/showthread.php?tid=18067)



Suspend/Resume Broken with Bootloader on SPI Flash - xp19375 - 03-23-2023

I previously posted about having broken suspend/resume by installing tow-boot to the SPI flash.  My workaround was to just not use tow-boot and erase the SPI flash.  However recently I got an NVMe drive and installed Slackware on it.  I'd like to be able to boot from the NVMe drive directly, which I gather requires a boot loader on the SPI flash (I'd like to keep Manjaro on the eMMC if possible).

My questions are, what boot loader does the PBP/Manjaro use by default when it comes from the factory?  What is it doing that allows suspend/resume to work while other boot loaders break it?  What setups do people use to boot from an NVMe drive and have working suspend/resume?


RE: Suspend/Resume Broken with Bootloader on SPI Flash - wdt - 03-24-2023

Not possible. The NVME driver cannot successfully suspend,
so a PBP with nvme won't be able to do s2ram


RE: Suspend/Resume Broken with Bootloader on SPI Flash - srs5694 - 03-24-2023

(03-23-2023, 06:35 PM)xp19375 Wrote: I previously posted about having broken suspend/resume by installing tow-boot to the SPI flash.  My workaround was to just not use tow-boot and erase the SPI flash.  However recently I got an NVMe drive and installed Slackware on it.  I'd like to be able to boot from the NVMe drive directly, which I gather requires a boot loader on the SPI flash (I'd like to keep Manjaro on the eMMC if possible).

You could always keep a small /boot partition on the eMMC and install the bulk of your OS(es) on the NVMe drive. That should work, so long as the OS(es) on the NVMe drive have appropriate drivers, either compiled into their kernels or stored in their initrd files.