Skip to content

Commit 836195e

Browse files
committed
docs(linux): Power_Management: Update the lpm logs
Update the low power mode susepnd resume logs to the latest so as to include changes in this SDK. Signed-off-by: Akashdeep Kaur <[email protected]>
1 parent 6566ecb commit 836195e

File tree

2 files changed

+116
-52
lines changed

2 files changed

+116
-52
lines changed

source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ on the MCU UART (in most cases it will be /dev/ttyUSB3)
199199
200200
[IPC RPMSG ECHO] Next MCU mode is 1
201201
[IPC RPMSG ECHO] Suspend request to MCU-only mode received
202-
[IPC RPMSG ECHO] Press a sinlge key on this terminal to resume the kernel from MCU only mode
202+
[IPC RPMSG ECHO] Press a single key on this terminal to resume the kernel from MCU only mode
203203
204204
.. note::
205205

source/linux/Foundational_Components/Power_Management/pm_wakeup_sources.rst

Lines changed: 115 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -109,66 +109,130 @@ For example, if you wish to wakeup from Deep Sleep or MCU Only mode in 10 second
109109
[ 34.645777] PM: suspend exit
110110
root@am62xx-evm:~#
111111
112-
.. ifconfig:: CONFIG_part_variant in ('AM62AX', 'AM62PX')
112+
.. ifconfig:: CONFIG_part_variant in ('AM62AX')
113113

114114
.. code-block:: console
115115
116-
root@<machine>:~# rtcwake -s 10 -m mem
116+
root@am62axx-evm:~# rtcwake -s 10 -m mem
117117
rtcwake: wakeup from "mem" using rtc1 at Thu Jan 1 00:01:31 1970
118-
[ 73.746948] PM: suspend entry (deep)
119-
[ 73.750871] Filesystems sync: 0.000 seconds
120-
[ 73.775161] remoteproc remoteproc1: stopped remote processor 79000000.r5f
121-
[ 73.782461] Freezing user space processes
122-
[ 73.788375] Freezing user space processes completed (elapsed 0.001 seconds)
123-
[ 73.795379] OOM killer disabled.
124-
[ 73.798607] Freezing remaining freezable tasks
125-
[ 73.804381] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
126-
[ 73.811829] printk: Suspending console(s) (use no_console_suspend to debug)
127-
[ 73.833546] omap8250 2800000.serial: PM domain pd:146 will not be powered off
128-
[ 73.840117] Disabling non-boot CPUs ...
129-
[ 73.842096] psci: CPU1 killed (polled 0 ms)
130-
[ 73.844713] psci: CPU2 killed (polled 0 ms)
131-
[ 73.846454] psci: CPU3 killed (polled 0 ms)
132-
[ 73.847206] Enabling non-boot CPUs ...
133-
[ 73.847520] Detected VIPT I-cache on CPU1
134-
[ 73.847587] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
135-
[ 73.847639] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
136-
[ 73.848395] CPU1 is up
137-
[ 73.848618] Detected VIPT I-cache on CPU2
138-
[ 73.848657] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
139-
[ 73.848696] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
140-
[ 73.849255] CPU2 is up
141-
[ 73.849482] Detected VIPT I-cache on CPU3
142-
[ 73.849524] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
143-
[ 73.849563] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
144-
[ 73.850193] CPU3 is up
145-
[ 73.850730] ti-sci 44043000.system-controller: ti_sci_resume: wakeup source: 0x50
146-
[ 73.859380] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
147-
[ 73.873298] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
148-
[ 73.873320] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
149-
[ 74.121919] OOM killer enabled.
150-
[ 74.125062] Restarting tasks ... done.
151-
[ 74.130925] random: crng reseeded on system resumption
152-
[ 74.136177] remoteproc remoteproc1: powering up 79000000.r5f
153-
[ 74.141903] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 52148
154-
[ 74.150715] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9b800000
155-
[ 74.160761] virtio_rpmsg_bus virtio1: rpmsg host is online
156-
[ 74.161014] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
157-
[ 74.166372] rproc-virtio rproc-virtio.6.auto: registered virtio1 (type 7)
158-
[ 74.176785] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
159-
[ 74.180714] remoteproc remoteproc1: remote processor 79000000.r5f is now up
160-
[ 74.194846] PM: suspend exit
118+
[ 68.915144] PM: suspend entry (deep)
119+
[ 68.918851] Filesystems sync: 0.000 seconds
120+
[ 68.926581] Freezing user space processes
121+
[ 68.932192] Freezing user space processes completed (elapsed 0.001 seconds)
122+
[ 68.939174] OOM killer disabled.
123+
[ 68.942402] Freezing remaining freezable tasks
124+
[ 68.948218] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
125+
[ 68.955615] printk: Suspending console(s) (use no_console_suspend to debug)
126+
[ 68.967023] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 179: state: 1: ret 0
127+
[ 68.967177] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 178: state: 1: ret 0
128+
[ 68.975296] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 117: state: 1: ret 0
129+
[ 68.982165] remoteproc remoteproc0: stopped remote processor 7e000000.dsp
130+
[ 68.007805] remoteproc remoteproc1: stopped remote processor 79000000.r5f
131+
[ 68.010972] Disabling non-boot CPUs ...
132+
[ 68.013268] psci: CPU1 killed (polled 0 ms)
133+
[ 68.016262] psci: CPU2 killed (polled 4 ms)
134+
[ 68.019303] psci: CPU3 killed (polled 4 ms)
135+
[ 68.020139] Enabling non-boot CPUs ...
136+
[ 68.020472] Detected VIPT I-cache on CPU1
137+
[ 68.020515] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
138+
[ 68.020568] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
139+
[ 68.021670] CPU1 is up
140+
[ 68.021915] Detected VIPT I-cache on CPU2
141+
[ 68.021943] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
142+
[ 68.021982] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
143+
[ 68.022911] CPU2 is up
144+
[ 68.023158] Detected VIPT I-cache on CPU3
145+
[ 68.023188] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
146+
[ 68.023233] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
147+
[ 68.024279] CPU3 is up
148+
[ 68.024692] ti-sci 44043000.system-controller: ti_sci_resume: wakeup source: 0x50
149+
[ 68.037668] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
150+
[ 68.053755] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
151+
[ 68.053779] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
152+
[ 68.214438] OOM killer enabled.
153+
[ 68.217581] Restarting tasks ... done.
154+
[ 68.222831] random: crng reseeded on system resumption
155+
[ 68.228121] k3-dsp-rproc 7e000000.dsp: Core is off in resume
156+
[ 68.233990] remoteproc remoteproc0: powering up 7e000000.dsp
157+
[ 68.239783] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 8391984
158+
[ 68.254785] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x9a000000
159+
[ 68.262806] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node c7x-dma-memory@99800000
160+
[ 68.273026] virtio_rpmsg_bus virtio0: rpmsg host is online
161+
[ 68.274647] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
162+
[ 68.278683] rproc-virtio rproc-virtio.7.auto: registered virtio0 (type 7)
163+
[ 68.286349] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
164+
[ 68.292879] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
165+
[ 68.307022] platform 79000000.r5f: Core is off in resume
166+
[ 68.312378] remoteproc remoteproc1: powering up 79000000.r5f
167+
[ 68.318064] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
168+
[ 68.326761] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9b800000
169+
[ 68.336811] virtio_rpmsg_bus virtio1: rpmsg host is online
170+
[ 68.337372] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
171+
[ 68.342463] rproc-virtio rproc-virtio.8.auto: registered virtio1 (type 7)
172+
[ 68.350242] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
173+
[ 68.356706] remoteproc remoteproc1: remote processor 79000000.r5f is now up
174+
[ 68.370906] PM: suspend exit
161175
162-
.. note::
176+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
163177

164-
The system will enter the mode selected by DM on the basis on existing constraints.
178+
.. code-block:: console
165179
166-
.. ifconfig:: CONFIG_part_variant in ('AM62AX')
180+
root@am62pxx-evm:~# rtcwake -s 10 -m mem
181+
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan 1 00:01:06 1970
182+
[ 34.312057] PM: suspend entry (deep)
183+
[ 34.315781] Filesystems sync: 0.000 seconds
184+
[ 34.333057] Freezing user space processes
185+
[ 34.338700] Freezing user space processes completed (elapsed 0.001 seconds)
186+
[ 34.345697] OOM killer disabled.
187+
[ 34.348924] Freezing remaining freezable tasks
188+
[ 34.354679] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
189+
[ 34.362078] printk: Suspending console(s) (use no_console_suspend to debug)
190+
[ 34.377118] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 179: state: 1: ret 0
191+
[ 34.377267] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 178: state: 1: ret 0
192+
[ 34.378162] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
193+
[ 34.387141] omap8250 2800000.serial: PM domain pd:146 will not be powered off
194+
[ 34.387736] ti-sci 44043000.system-controller: ti_sci_cmd_set_device_constraint: device: 117: state: 1: ret 0
195+
[ 34.416958] remoteproc remoteproc0: stopped remote processor 79000000.r5f
196+
[ 34.420565] Disabling non-boot CPUs ...
197+
[ 34.422781] psci: CPU1 killed (polled 0 ms)
198+
[ 34.426363] psci: CPU2 killed (polled 0 ms)
199+
[ 34.429526] psci: CPU3 killed (polled 0 ms)
200+
[ 34.430459] Enabling non-boot CPUs ...
201+
[ 34.430798] Detected VIPT I-cache on CPU1
202+
[ 34.430841] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
203+
[ 34.430895] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
204+
[ 34.431987] CPU1 is up
205+
[ 34.432232] Detected VIPT I-cache on CPU2
206+
[ 34.432262] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
207+
[ 34.432306] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
208+
[ 34.433233] CPU2 is up
209+
[ 34.433485] Detected VIPT I-cache on CPU3
210+
[ 34.433515] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
211+
[ 34.433557] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
212+
[ 34.434504] CPU3 is up
213+
[ 34.434948] ti-sci 44043000.system-controller: ti_sci_resume: wakeup source: 0x50
214+
[ 34.447824] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
215+
[ 34.463954] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
216+
[ 34.463980] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
217+
[ 34.477401] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
218+
[ 34.477414] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
219+
[ 34.661705] OOM killer enabled.
220+
[ 34.664848] Restarting tasks ... done.
221+
[ 34.670624] random: crng reseeded on system resumption
222+
[ 34.676468] platform 79000000.r5f: Core is off in resume
223+
[ 34.681906] remoteproc remoteproc0: powering up 79000000.r5f
224+
[ 34.687692] remoteproc remoteproc0: Booting fw image am62p-mcu-r5f0_0-fw, size 58344
225+
[ 34.699283] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node mcu-r5fss-dma-memory-region@9b800000
226+
[ 34.710642] virtio_rpmsg_bus virtio0: rpmsg host is online
227+
[ 34.716279] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
228+
[ 34.717435] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7)
229+
[ 34.724381] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
230+
[ 34.731147] remoteproc remoteproc0: remote processor 79000000.r5f is now up
231+
[ 34.754176] PM: suspend exit
167232
168233
.. note::
169234

170-
AM62A requires additional -d rtc1 option as SoC's internal RTC gets
171-
probed as rtc1.
235+
The system will enter the mode selected by DM on the basis on existing constraints.
172236

173237
********
174238
MCU GPIO
@@ -512,7 +576,7 @@ on the MCU UART (in most cases it will be /dev/ttyUSB3)
512576
513577
[IPC RPMSG ECHO] Next MCU mode is 1
514578
[IPC RPMSG ECHO] Suspend request to MCU-only mode received
515-
[IPC RPMSG ECHO] Press a sinlge key on this terminal to resume the kernel from MCU only mode
579+
[IPC RPMSG ECHO] Press a single key on this terminal to resume the kernel from MCU only mode
516580
517581
Any *key press* on the same terminal should trigger a wakeup from MCU Only
518582
mode and the following message printed:

0 commit comments

Comments
 (0)