请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM62P 工具与软件:
rtc-ti-k3 2b1f0000.rtc: Clock rate 32552 is not 32768! Could misbehave!
该 RTC 在 k3-am62p-wakeup.dtsi 中进行配置。 它使用了错误的时钟源吗?
请注意、对于62X 和62A、还有其他几个此类报告、但已有几个月之久、从未去过任何地方。
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.
工具与软件:
rtc-ti-k3 2b1f0000.rtc: Clock rate 32552 is not 32768! Could misbehave!
该 RTC 在 k3-am62p-wakeup.dtsi 中进行配置。 它使用了错误的时钟源吗?
请注意、对于62X 和62A、还有其他几个此类报告、但已有几个月之久、从未去过任何地方。
事实证明我在 u-boot spl_board_init ()中缺少32K 时钟命令。 在 u-boot 2023中、它们被移至 board/ti/common/rtc.c、但在 u-boot 2024中、它们似乎被移回单个 AM62*板级配置文件。
/* We have 32k crystal, so lets enable it */ val = readl(MCU_CTRL_LFXOSC_CTRL); val &= ~(MCU_CTRL_LFXOSC_32K_DISABLE_VAL); writel(val, MCU_CTRL_LFXOSC_CTRL); /* Add any TRIM needed for the crystal here.. */ /* Make sure to mux up to take the SoC 32k from the crystal */ writel(MCU_CTRL_DEVICE_CLKOUT_LFOSC_SELECT_VAL, MCU_CTRL_DEVICE_CLKOUT_32K_CTRL);