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.

AM4377: 修改RTC時間會造成系統crash

Part Number: AM4377
Other Parts Discussed in Thread: TPS65218

Hi Expert,

開發環境如下:

ti-processor-sdk-linux-rt-am437x-evm-06.03.00.106

linux-rt-4.19.94+gitAUTOINC+a242ccf3f1-ga242ccf3f1

u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3

附件為RTC的Log資料,我有做兩次的啟動,可以從log中看到斷電之後RTC是有保持計時的(電源管理IC是使用TPS65218這顆)

        OMAP_RTC_dmesg.txt << 這個log的動作如下說明:

  1. 第一次啟動,可以看到 [    2.608904] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:08 UTC (946684808)
  2. 修改時間,下寫入hwclock –w,就crash
  1. Crash之後斷電
  1. 第二次啟動,可以看到[    2.610556] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:02:07 UTC (946684927)

 

謝謝

DanielOMAP_RTC_dmesg.txt