工具与软件:
尊敬的支持部门:
我们正在确认 AM6231定制电路板上的低功耗模式。
我在发行说明中查看了以下部分:
我尝试运行深度睡眠模式、但收到错误。
我们需要支持两种模式:DeepSleep 和 Standby。
我应该怎么做才能支持它?
root@my_customboard:~# echo mem > /sys/power/state sh: write error: Function not implemented
此致、
最终目的
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具与软件:
尊敬的支持部门:
我们正在确认 AM6231定制电路板上的低功耗模式。
我在发行说明中查看了以下部分:
我尝试运行深度睡眠模式、但收到错误。
我们需要支持两种模式:DeepSleep 和 Standby。
我应该怎么做才能支持它?
root@my_customboard:~# echo mem > /sys/power/state sh: write error: Function not implemented
此致、
最终目的
Anshu、您好!
您使用的是哪个 Linux SDK 版本?
PROCESSOR-SDK-LINUX-RT AM62X 版本是09.02.01.10。
您是否使用了默认的 DM 固件、TIFS 和 ATF?
这些软件是默认软件。
您能告诉我、如何检查这些软件版本吗?
请注意、待机模式尚未实施。 "echo standby >/sys/power/state 命令遵循标准 Linux 睡眠状态、而不是为 AM62x 处理器设计的低功耗模式。[/QUOT]好的、AM62xx PSDK9是否支持以下三种模式?
1.深度睡眠
仅 MCU
3.部分 I/O最后、标准 Linux 睡眠模式在我的定制板上也不起作用。
root@my_customboard:~# echo standby > /sys/power/state sh: write error: Function not implemented此致、
最终目的
您好!
内核已从 RT-Linux 改回为 Linux。
但是、标准的 Linux 待机模式不起作用。 还需要其他设置吗?
root@am62xx-my_customboard:~# uname -a Linux am62xx-my_customboard 6.1.83-ti-gc1c2f1971fbf #1 SMP PREEMPT Mon May 13 20:19:51 UTC 2024 aarch64 GNU/Linux root@am62xx-my_customboard:~# echo standby > /sys/power/state sh: write error: Invalid argument
此致、
最终目的
您好!
我发现 PSDK 不支持 Linux 待机模式。
root@am62xx-my_customboard:~# cat /sys/power/state freeze mem disk
我尝试了深度睡眠模式、但出现以下错误:
可能的原因是什么?
root@am62xx-my_customboard:~# cat /sys/power/mem_sleep s2idle [deep] root@am62xx-my_customboard:~# echo mem > /sys/power/state [ 613.762106] PM: suspend entry (deep) [ 613.785833] Filesystems sync: 0.019 seconds [ 613.791994] Freezing user space processes [ 613.803725] Freezing user space processes completed (elapsed 0.003 seconds) [ 613.810946] OOM killer disabled. [ 613.814338] Freezing remaining freezable tasks [ 613.820486] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 613.827983] printk: Suspending console(s) (use no_console_suspend to debug) [ 613.885069] omap-mailbox 29000000.mailbox: fifo 5 has unexpected unread messages [ 613.885138] omap-mailbox 29000000.mailbox: PM: dpm_run_callback(): platform_pm_suspend+0x0/0x70 returns -16 [ 613.885238] omap-mailbox 29000000.mailbox: PM: failed to suspend: error -16 [ 613.885282] PM: Some devices failed to suspend, or early wake event detected [ 613.993203] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 614.010153] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:01] driver [TI DP83822] (irq=POLL) [ 614.010242] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rmii link mode [ 614.024226] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:09] driver [TI DP83822] (irq=POLL) [ 614.024288] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rmii link mode [ 614.377203] OOM killer enabled. [ 614.380349] Restarting tasks ... done. [ 614.396423] random: crng reseeded on system resumption [ 614.407286] PM: suspend exit sh: write error: Device or resource busy
此致、
最终目的
您好!
由于我无法挂起邮箱、我更改了设备树、如下所示:
/* Core Communication */ &mailbox0_cluster0 { + ti,mbox-num-fifos = <2>; mbox_m4_0: mbox-m4-0 { ti,mbox-rx = <0 0 0>; ti,mbox-tx = <1 0 0>;
似乎我能够成功切换到深度睡眠模式。
root@am62xx-my_customboard:~# echo mem > /sys/power/state [ 461.036120] PM: suspend entry (deep) [ 461.106321] Filesystems sync: 0.066 seconds [ 461.115225] Freezing user space processes [ 461.123116] Freezing user space processes completed (elapsed 0.003 seconds) [ 461.130329] OOM killer disabled. [ 461.133702] Freezing remaining freezable tasks [ 461.139495] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 461.146991] printk: Suspending console(s) (use no_console_suspend to debug)
此致、
最终目的