Difference between revisions of "Crust"

From PINE64
Jump to navigation Jump to search
(templ fix)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{hint|This page is incomplete, you're welcome to improve it.}}
{{under construction}}


As per the README.md on [https://github.com/crust-firmware/crust the crust github]:
As per the README.md on [https://github.com/crust-firmware/crust the crust github]:
Line 13: Line 13:
It is possible to set the device to wakeup at a specific time or after a certain number of seconds using rtcwake: <pre>rtcwake -m mem -s 10</pre>
It is possible to set the device to wakeup at a specific time or after a certain number of seconds using rtcwake: <pre>rtcwake -m mem -s 10</pre>


This example will put the device to sleep fro 10 seconds and then wake it up. More information on the rtcwake command can be found in the [https://linux.die.net/man/8/rtcwake man pages]
This example will put the device to sleep for 10 seconds and then wake it up. More information on the rtcwake command can be found in the [https://linux.die.net/man/8/rtcwake man pages]


==Manual suspend==
==Manual suspend==

Latest revision as of 08:42, 14 June 2021

This page or section is under construction

Please help to review and edit this page or section. Information are subject to change.

As per the README.md on the crust github:

Crust improves battery life and thermal performance by implementing a deep sleep state. During deep sleep, the CPU cores, the DRAM controller, and most onboard peripherals are powered down, reducing power consumption by 80% or more compared to an idle device.

For this to work, Crust runs outside the main CPU and DRAM, on a dedicated always-on microprocessor called a System Control Processor (SCP). Crust is designed to run on a specific SCP implementation, Allwinner's AR100.

To build crust manually with uboot you can find instructions Here.

RTC wakeups

It is possible to set the device to wakeup at a specific time or after a certain number of seconds using rtcwake:

rtcwake -m mem -s 10

This example will put the device to sleep for 10 seconds and then wake it up. More information on the rtcwake command can be found in the man pages

Manual suspend

For manually suspending the device on distributions with Systemd you can use the following command with super user permissions:

systemctl suspend

On non-systemd distributions you can directly echo:

echo mem > /sys/power/state