<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RTC always reset to 19700101  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052348#M154863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 铭恒 李&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what bsp used in the case, one can try with linux from&lt;/P&gt;&lt;P&gt;source.codeaurora.org/external/imx/linux-imx&amp;nbsp; repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For hardware one can check voltage on VDD_SNVS_CAP&lt;/P&gt;&lt;P&gt;with oscilloscope for possible glitches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2020 04:59:46 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-07-02T04:59:46Z</dc:date>
    <item>
      <title>RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052347#M154862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I find rtc on my board doesn't work well: it can be set by "hwclock -w" , but after reboot, it will be reset.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6qsabresd:~# hwclock &lt;BR /&gt;Tue Jun 20 19:15:57 2017 0.000000 seconds&lt;BR /&gt;root@imx6qsabresd:~# date -s 20200101&lt;BR /&gt;Wed Jan 1 00:00:00 UTC 2020&lt;BR /&gt;root@imx6qsabresd:~# hwclock -w&lt;BR /&gt;root@imx6qsabresd:~# hwclock &lt;BR /&gt;Wed Jan 1 00:00:08 2020 0.000000 seconds&lt;BR /&gt;root@imx6qsabresd:~# reboot&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2020-01-01 00:01:19 UTC (1577836879)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...(cut off power,use button battery)&lt;/P&gt;&lt;P&gt;snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then I check the voltage when the power was changed, it's great. (3.29v to 3.08v)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, are there somthing wrong in the code about rct&amp;nbsp;initialization or others?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 03:09:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052347#M154862</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-02T03:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052348#M154863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 铭恒 李&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what bsp used in the case, one can try with linux from&lt;/P&gt;&lt;P&gt;source.codeaurora.org/external/imx/linux-imx&amp;nbsp; repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For hardware one can check voltage on VDD_SNVS_CAP&lt;/P&gt;&lt;P&gt;with oscilloscope for possible glitches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 04:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052348#M154863</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-02T04:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052349#M154864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 4.1.15-2.1.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;initialization&lt;SPAN&gt;&amp;nbsp;of RTC in kernel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I checked the voltage with oscilloscope before, it has the minimum of 2.9v when I cut off the power.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 05:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052349#M154864</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-02T05:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052350#M154865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please try to reproduce issue on i.MX6Q Sabre SD board&lt;/P&gt;&lt;P&gt;with Demo Images:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_MX6QDLSOLO&amp;amp;appType=license" title="https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_MX6QDLSOLO&amp;amp;appType=license"&gt;https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_MX6QDLSOLO&amp;amp;appType=license&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it can not be reproduced then issue in custom hardware, recheck board hardware design using&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX6DQ6SDLHDG" target="_blank"&gt;&lt;STRONG&gt;IMX6DQ6SDLHDG, Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite, 6Solo Families of Applications Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 07:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052350#M154865</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-02T07:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052351#M154866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I asked my friend about RTC, he said that maybe the backup area (BKP? but this is for stm32) was disable.&lt;/P&gt;&lt;P&gt;where should I check the RTC backup area in kernel code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain the situation in detail.&lt;/P&gt;&lt;P&gt;This rtc is a external rtc(BM8563ESA)，I'm using Imx6DL, kernel 4.1.15-2.1.0.&lt;/P&gt;&lt;P&gt;Now it’s always reset when register and read (snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1))&lt;/P&gt;&lt;P&gt;I think maybe the system will check the power off status bit then it will reset the rtc if true.\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So where is the check of power off status bit when initializing rtc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 01:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052351#M154866</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-07T01:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: RTC always reset to 19700101</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052352#M154867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I know the reason.&lt;/P&gt;&lt;P&gt;I set the on-cpu RTC off in menuconfig, then the rtc could not open.&lt;/P&gt;&lt;P&gt;So did I use on-cpu RTC before,not the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;external RTC?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTC-always-reset-to-19700101/m-p/1052352#M154867</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-07T07:16:32Z</dc:date>
    </item>
  </channel>
</rss>

