PINE64
Suspend state: discharge time - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Suspend state: discharge time (/showthread.php?tid=9236)

Pages: 1 2


RE: Suspend state: discharge time - manawyrm - 02-25-2020

The problem with the Manjaro sleep is the required u-boot. 

Manjaro ships with a mainline u-boot which is missing the required patches for proper S3 sleep support.
This is why the /etc/systemd/sleep.conf is currently still configured for SuspendState=freeze
If you simply remove that line, the kernel will do proper S3 sleep instead of S2idle, but you'll need the propritary Rockchip u-boot from the BSP. 

By flashing the propritary u-boot (get it from one of the debian images for example) to your eMMC or SD card you can enable S3 sleep:
Code:
sudo dd if=idbloader.img of=/dev/mmcblk0 bs=512 seek=64 oflag=direct,sync
sudo dd if=u-boot.itb of=/dev/mmcblk0 bs=512 seek=16384 oflag=direct,sync

Be careful the mmcblk argument, it might be different if you're using eMMC or SD card.


RE: Suspend state: discharge time - wdt - 02-25-2020

>get it from one of the debian images for example
Err, which one? I count at least 4,
stock, auyfan, danielt, armbian
And, with the difference in boot priority, I doubt these are all the same
--edit--
Now that I think about it, q4os is based on stretch too
--edit--
I should have read more closely, sorry
I see your point now, s3 sleep will (maybe) work with ANY distro
Do any of the BSP uboots prioritize SD over emmc?
Any idea of the comparative power savings?