DART-MX8M suspend: Difference between revisions
(Created page with "{{PageHeader|Suspend to RAM}} {{DocImage|category1=Yocto|category2=DART-MX8M}} = Suspend to RAM = This state offers significant power savings as everything in the system is p...") |
No edit summary |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{PageHeader|Suspend to RAM}} | <!-- Set release according to "release" parameter in URL and use RELEASE_SUMO_V1.0_DART-MX8M as default | ||
{{DocImage|category1=Yocto|category2=DART-MX8M | --> {{INIT_RELEASE_PARAM|RELEASE_SUMO_V1.0_DART-MX8M}}<!--- | ||
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | |||
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | |||
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | |||
--> {{PageHeader|{{#var:HARDWARE_NAME}} Suspend to RAM}}{{DocImage|category1=Yocto|category2=Debian}}[[Category:DART-MX8M]][[Category:DART-MX8M-MINI]][[Category:DART-MX8M-PLUS]] | |||
= Suspend to RAM = | = Suspend to RAM = | ||
This state offers significant power savings as everything in the system is put into a low-power state, except for memory, which is placed into the self-refresh mode to retain its contents.<br> | This state offers significant power savings as everything in the system is put into a low-power state, except for memory, which is placed into the self-refresh mode to retain its contents.<br> | ||
To suspend to RAM execute the following command: | |||
To suspend to RAM: | |||
<pre> | <pre> | ||
# pm-suspend | |||
</pre> | </pre> | ||
Line 15: | Line 18: | ||
A few examples:<br> | A few examples:<br> | ||
- Pushing the ON/OFF button (when present on the board)<br> | - Pushing the ON/OFF button (when present on the board)<br> | ||
{{#ifeq: {{#var:HARDWARE_NAME}}|VAR-SOM-MX8M-NANO|{{note|Note: VAR-SOM-MX8M-NANO carrier board has no ON/OFF button. Short circuit J3.4 and J3.6 for a very short time to simulate it.|info}}|}} | |||
- Pushing a button on the board which has the boolean property "wakeup-source" set in its device tree node (under gpio_keys), e.g.: | - Pushing a button on the board which has the boolean property "wakeup-source" set in its device tree node (under gpio_keys), e.g.: | ||
Line 30: | Line 34: | ||
}; | }; | ||
= Measuring current consumption in suspend = | - Pressing the capacitive touch which has the "wakeup-source" property set in its device tree node, e.g.: | ||
To measure the current remove resistor R15 and connect | |||
It is recommended to boot from eMMC to get accurate measurement. | ft5x06_ts: ft5x06_ts@38 { | ||
status = "disabled"; | |||
compatible = "edt,edt-ft5x06"; | |||
reg = <0x38>; | |||
reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; | |||
pinctrl-names = "default"; | |||
pinctrl-0 = <&pinctrl_touch>; | |||
interrupt-parent = <&gpio1>; | |||
interrupts = <14 0>; | |||
touchscreen-size-x = <800>; | |||
touchscreen-size-y = <480>; | |||
touchscreen-inverted-x; | |||
touchscreen-inverted-y; | |||
'''wakeup-source'''; | |||
}; | |||
= Measuring SOM current consumption in suspend = | |||
To measure the SOM current consumption remove resistor R15 on DT8MCustomBoard or R58 on Symphony-Board and connect an ammeter in its place.<br> | |||
It is recommended to boot from eMMC to get an accurate measurement. | |||
{{#ifeq: {{#var:HARDWARE_NAME}}|DART-MX8M|| | |||
{{Note|To achieve minimum power consumption during suspend it is necessary to remove two resistors on the Symphony-Board related to the Ethernet jack LEDs – R79 and R80.<br> | |||
If assembled they back-feed the BASE_3V3 into the non-powered Ethernet PHY during suspend, increasing power consumption.}}}} |
Latest revision as of 22:08, 25 October 2024
This page is using the default release RELEASE_SUMO_V1.0_DART-MX8M.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Suspend to RAM
This state offers significant power savings as everything in the system is put into a low-power state, except for memory, which is placed into the self-refresh mode to retain its contents.
To suspend to RAM execute the following command:
# pm-suspend
Wake up
There are many possible ways to wake up from suspend.
A few examples:
- Pushing the ON/OFF button (when present on the board)
- Pushing a button on the board which has the boolean property "wakeup-source" set in its device tree node (under gpio_keys), e.g.:
gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_keys>; ... back { label = "Back"; gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; linux,code = <KEY_BACK>; wakeup-source; }; };
- Pressing the capacitive touch which has the "wakeup-source" property set in its device tree node, e.g.:
ft5x06_ts: ft5x06_ts@38 { status = "disabled"; compatible = "edt,edt-ft5x06"; reg = <0x38>; reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touch>; interrupt-parent = <&gpio1>; interrupts = <14 0>; touchscreen-size-x = <800>; touchscreen-size-y = <480>; touchscreen-inverted-x; touchscreen-inverted-y; wakeup-source; };
Measuring SOM current consumption in suspend
To measure the SOM current consumption remove resistor R15 on DT8MCustomBoard or R58 on Symphony-Board and connect an ammeter in its place.
It is recommended to boot from eMMC to get an accurate measurement.