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.

[参考译文] AM625:如何为 am625配置 u-boot 引导计数 RTC 驱动器?

Guru**** 2458800 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1468285/am625-how-to-configure-u-boot-bootcount-rtc-driver-for-am625

器件型号:AM625

工具与软件:

我正在尝试使用 RTCSS 暂存寄存器来使用 bootcount-rtc 驱动程序实现 u-boot 的"bootcount"功能。  AM33x 的实现方式类似(但 AM33在达芬奇驱动程序中提供专用支持、不使用通用 RTC 驱动程序。)  

假设 DTS 看起来是这样的:

        bootcount@0 {
                compatible = "u-boot,bootcount-rtc";
                rtc = <&wkup_rtc0>;
                offset = <0x30>;
        };

根据 AM62x TRM、0x30应指向 SCRATCH0。

我只是想知道是否有其他人成功这样做了。

参考: