Skip to content

Commit 5651bc6

Browse files
glaroquecshilwant
authored andcommitted
feat(android): Add note about OP-TEE logs disabling suspend/resume
Add a warning note that OP-TEE OS debug logs must be disabled for suspend/resume to work properly. Also clean up the example output by removing OP-TEE log messages that appear when debug is enabled. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
1 parent f6d7bbb commit 5651bc6

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

source/android/Application_Notes_Android_Low_Power.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Supported low power mode:
88

99
#. **Suspend to RAM (S2R):** All power domains are off except for wake-up domain that has wake-up co-processor (DM R5) running. DDR is in self refresh.
1010

11+
.. note::
12+
13+
OP-TEE OS debug logs are disabled by default. However, if you enable them for debugging
14+
purposes (CFG_TEE_CORE_LOG_LEVEL > 0), the suspend/resume functionality will not work
15+
properly. Make sure to disable OP-TEE OS logs when testing low power modes.
16+
1117
*****************************
1218
Enable Suspend/Resume support
1319
*****************************
@@ -29,13 +35,6 @@ Enable Suspend/Resume support
2935
[ 171.970763] psci: CPU1 killed (polled 4 ms)
3036
[ 171.993689] psci: CPU2 killed (polled 0 ms)
3137
[ 172.014894] psci: CPU3 killed (polled 4 ms)
32-
[I/TC: Secondary CPU 1 initializing
33-
I/TC: Secondary CPU 1 switching to normal world boot
34-
I/TC: Secondary CPU 2 initializing
35-
I/TC: Secondary CPU 2 switching to normal world boot
36-
I/T[ 200.035482] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
37-
C: Secondary CPU 3 initializing
38-
I/TC: Secondary CPU 3 switching to normal world boot
3938
[ 200.067533] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
4039
[ 200.076971] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
4140
[ 200.103015] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)

0 commit comments

Comments
 (0)