<?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: imx53 - Keep system time after system shutdown in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx53-Keep-system-time-after-system-shutdown/m-p/289238#M34691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to that question, how to change RTC standing behind the&lt;STRONG&gt; Settings -&amp;gt; Change date and time&lt;/STRONG&gt; in user interface? &lt;/P&gt;&lt;P&gt;In default it is rtc0 but I need to use rtc1.&lt;/P&gt;&lt;P&gt;I know how to set System time from rtc1 on boot, but I don't know how to change rtc1 from Android Settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Jun 2013 21:28:19 GMT</pubDate>
    <dc:creator>czesławczesławs</dc:creator>
    <dc:date>2013-06-16T21:28:19Z</dc:date>
    <item>
      <title>imx53 - Keep system time after system shutdown</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-Keep-system-time-after-system-shutdown/m-p/289237#M34690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I work with &lt;STRONG&gt;imx53 board&lt;/STRONG&gt;, &lt;SPAN style="font-weight: bold; color: #444444; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;MC34708&lt;/SPAN&gt; PMIC and&lt;STRONG&gt; Android 2.3.3&lt;/STRONG&gt;. Unfortunatelly I met some problems with sustain system time and date after system shutdown -&amp;nbsp; after power off it returns to default values ( 1970.01.01 ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more precise, in the system I can see two &lt;STRONG&gt;rtc's&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;/sys/class/rtc/rtc0&lt;/STRONG&gt; which comes from imx53, it is connected with system time, because every change of system time changes the value of it.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;/sys/class/rtc/rtc1&lt;/STRONG&gt; which comes from &lt;SPAN style="color: #444444; font-family: arial, sans-serif; font-size: small; background-color: #ffffff;"&gt;MC34708&lt;/SPAN&gt; PMIC&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After &lt;STRONG&gt;reboot&lt;/STRONG&gt;, rtc0 resets (time and date goes to defaults) and rtc1 keeps previous values.&lt;/P&gt;&lt;P&gt;After &lt;STRONG&gt;shutdown&lt;/STRONG&gt; but&lt;STRONG&gt; with voltage&lt;/STRONG&gt; from wall rtc0 resets and rtc1 keeps previous values.&lt;/P&gt;&lt;P&gt;After &lt;STRONG&gt;shutdown&lt;/STRONG&gt; and &lt;STRONG&gt;removing voltage&lt;/STRONG&gt; from wall both rtc0 and rtc1 resets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course on board I have coin cell battery which I suppose should keep time and date when device is turn off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim is to have working &lt;STRONG&gt;System time&lt;/STRONG&gt; after every reboot and shutdown&lt;STRONG&gt;. &lt;/STRONG&gt;I think it can be achieved in two ways - by fixing rtc0 to keep values after power off or by fixing rtc1 to keep values after power and integrate it with System time. Neither of them I know how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you may noticed from my question, I'm a newbie, so&amp;nbsp; any advice are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Czesiek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 21:07:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-Keep-system-time-after-system-shutdown/m-p/289237#M34690</guid>
      <dc:creator>czesławczesławs</dc:creator>
      <dc:date>2013-06-12T21:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx53 - Keep system time after system shutdown</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx53-Keep-system-time-after-system-shutdown/m-p/289238#M34691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to that question, how to change RTC standing behind the&lt;STRONG&gt; Settings -&amp;gt; Change date and time&lt;/STRONG&gt; in user interface? &lt;/P&gt;&lt;P&gt;In default it is rtc0 but I need to use rtc1.&lt;/P&gt;&lt;P&gt;I know how to set System time from rtc1 on boot, but I don't know how to change rtc1 from Android Settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2013 21:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx53-Keep-system-time-after-system-shutdown/m-p/289238#M34691</guid>
      <dc:creator>czesławczesławs</dc:creator>
      <dc:date>2013-06-16T21:28:19Z</dc:date>
    </item>
  </channel>
</rss>

