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.

[参考译文] PROCESSOR-SDK-AM62A:"仅 I/O + DDR"低功耗模式支持

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1545421/processor-sdk-am62a-i-o-only-ddr-low-power-mode-support

器件型号:PROCESSOR-SDK-AM62A


工具/软件:

在 技术参考手册中、据称存在一种称为“仅 I/O + DDR“的低功耗模式、该模式被多次提及(在“部分 I/O “和“深度睡眠“之间)、但未提供详细信息。 这似乎是适合我应用的理想低功耗模式、可实现尽可能低的功耗(低于深度睡眠)、同时仍能从 GPIO/UART 中断唤醒并快速从 DDR 引导。  

但是、 低功耗模式教程 根本没有提及此模式。 Processor SDK 是否正式支持它? 如果是、如何启用它? 与 DeepSleep 相比、我应该进行哪些功耗改进? 在我找不到的其他文档中是否提供了更多详细信息?

我从这个 TI Linux 内核中注意到 、AM62A 的 Processor SDK 中应该存在 IO+ DDR 支持、但我不知道如何输入该支持。

感谢您的帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Nathan、

    我正在将您的问题发送给我们的电源专家以征求意见。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Nathan、

    I/O + DDR 仍在开发中、尚未在 Linux SDK 中提供。 目前计划支持 SDK 11.1 版本、但如果进行此更改、将会更新您。

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Hi Bin Liu Anshu Madwesh Kendall Willis

    针对“仅 I/O + DDR“模式的 TI Processor SDK 文档似乎已更新、请参阅 此处 和 GitHub 文档库中的。

    我今天一直在使用它。 我认为正在进入该模式、如 SK 评估模块上的 LED LD2 所指示(LED 应熄灭)。 功耗也要低得多。  

    但是、当使用 wkup_uart0 上的字符唤醒电路板时、它不执行内核恢复过程(如 DeepSleep 中所示)、而是执行完整的冷启动、如下所示:

    root@am62axx-evm:~# devmem2 0x4084014 w 0x20050000
    /dev/mem opened.
    Memory mapped at address 0xffff9a40f000.
    Read at address  0x04084014 (0xffff9a40f014): 0x00050000
    Write at address 0x04084014 (0xffff9a40f014): 0x20050000, readback 0x20050000
    root@am62axx-evm:~# devmem2 0x4084024 w 0x20050000
    /dev/mem opened.
    Memory mapped at address 0xffff9934e000.
    Read at address  0x04084024 (0xffff9934e024): 0x00050000
    Write at address 0x04084024 (0xffff9934e024): 0x20050000, readback 0x20050000
    root@am62axx-evm:~# echo disabled > /sys/class/rtc/rtc0/device/power/wakeup
    root@am62axx-evm:~# echo disabled > /sys/devices/platform/bus@f0000/f900000.dwc3-usb/power/wakeup
    root@am62axx-evm:~# echo disabled > /sys/devices/platform/bus@f0000/f910000.dwc3-usb/power/wakeup
    root@am62axx-evm:~# i2cset -f -y -m 0xFF -r -a 0 0x48 0x86 0x1
    Value 0x01 written, readback matched
    root@am62axx-evm:~# echo mem > /sys/power/state
    [  126.765180] PM: suspend entry (deep)
    [  126.777964] Filesystems sync: 0.009 seconds
    [  126.792539] Freezing user space processes
    [  126.798248] Freezing user space processes completed (elapsed 0.001 seconds)
    [  126.805243] OOM killer disabled.
    [  126.808460] Freezing remaining freezable tasks
    [  126.814168] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    [  126.821575] printk: Suspending console(s) (use no_console_suspend to debug)
    
    U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    


    这是预期行为吗? 我认为维护 DDR 上下文的重点是内核可以像在 DeepSleep 中一样从 RAM 恢复。
    这种模式是否适用于大家?
    我使用的是 Processor SDK 中的最新 TI Linux 内核。

    感谢您的帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是否有解决上述问题的办法?

    谢谢、

    Nathan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我已经阅读了 这篇先前的论坛帖子 ,这让我更清楚了,我相信我是处于与阿洛克相同的情况下,其中:
    目前、如果我强制写入 0x01 寄存器 0x86 并驱动 GPIO3 为低电平、系统将进入睡眠模式。 当我驱动 GPIO3 至高电平时、系统会唤醒、但它不会恢复上一个会话、而是从基本 U-Boot 重新引导。“

    Nicholas McNamara 您是否曾尝试过 IO Only + DDR?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Nathan、

    我离开办公室,今天回来。 请留出一些时间让我回顾一下该主题、然后返回给您。

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Anshu Madwesh 是否对此主题有任何更新? 谢谢