<?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 Shutdown command behavior of i.MX6 linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496601#M79941</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;Shutdown command&amp;nbsp; (shutdown -h -P now) cause system boot if 5V still remained that is expected behavior.&lt;/P&gt;&lt;P&gt;I tried it was success at first time but it failed at 2nd time.&lt;/P&gt;&lt;P&gt;I cleared SRTC registers once for secure interrupt but nothing changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why 2nd shutdown command ignored (no boot)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 02:30:06 GMT</pubDate>
    <dc:creator>torus1000</dc:creator>
    <dc:date>2016-04-12T02:30:06Z</dc:date>
    <item>
      <title>Shutdown command behavior of i.MX6 linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496601#M79941</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;Shutdown command&amp;nbsp; (shutdown -h -P now) cause system boot if 5V still remained that is expected behavior.&lt;/P&gt;&lt;P&gt;I tried it was success at first time but it failed at 2nd time.&lt;/P&gt;&lt;P&gt;I cleared SRTC registers once for secure interrupt but nothing changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why 2nd shutdown command ignored (no boot)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 02:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496601#M79941</guid>
      <dc:creator>torus1000</dc:creator>
      <dc:date>2016-04-12T02:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown command behavior of i.MX6 linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496602#M79942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to use "shutdown -r now" instead of "-h".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 10:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496602#M79942</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-12T10:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shutdown command behavior of i.MX6 linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496603#M79943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, -r works fine but actually what I like to want is "20sec delayed" wake up.&lt;/P&gt;&lt;P&gt;Finally I found hwclock command solved this problem as following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRONG:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;# shutdown -h now&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;# shutdown -h now&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;CORRECT:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;# shutdown -h now&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;# &lt;STRONG&gt;hwclock -w&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# echo 0 &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;/P&gt;&lt;P&gt;# echo +20 &amp;gt; /sys/class/rtc/rtc0/wakealarm&lt;/P&gt;&lt;P&gt;# shutdown -h now&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just in case, could you explain why such command is need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kindness.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:29:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Shutdown-command-behavior-of-i-MX6-linux/m-p/496603#M79943</guid>
      <dc:creator>torus1000</dc:creator>
      <dc:date>2016-04-13T08:29:06Z</dc:date>
    </item>
  </channel>
</rss>

