<?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>i.MX ProcessorsのトピックRe: When system reboot PMIC will reset and SW2 will off</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820403#M126341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hardware design is all the same as freescale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Emmc that I used is Forseen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I find a new clue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I reboot the system, cpu will get into download mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that cpu cannot read anything from Emmc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I try to use Kinston's Emmc, It will not appear the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any work around that can solve this problem for Forseen's Emmc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 04:05:16 GMT</pubDate>
    <dc:creator>wangvictor</dc:creator>
    <dc:date>2018-08-07T04:05:16Z</dc:date>
    <item>
      <title>When system reboot PMIC will reset and SW2 will off</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820401#M126339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on i.MX6 sabreSD DL with ubuntu 16.04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built image via Yocto Project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an issues that I'm dealing with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When I reboot the system, PMIC's SW2 which my hardware designed it to be EMMC power was set to low then to high.&lt;BR /&gt;And I assumed that is the reason why machine cannot restart after ran "reboot" command.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I tried to trace code and I found that when user ran reboot command, driver will execute kernel_restart.&lt;/P&gt;&lt;P&gt;Inside kernel_restart it execute&amp;nbsp;syscore_shutdown.&lt;/P&gt;&lt;P&gt;What&amp;nbsp;syscore_shutdown do is as below.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void syscore_shutdown(void)&lt;BR /&gt;{&lt;BR /&gt; struct syscore_ops *ops;&lt;/P&gt;&lt;P&gt;mutex_lock(&amp;amp;syscore_ops_lock);&lt;/P&gt;&lt;P&gt;list_for_each_entry_reverse(ops, &amp;amp;syscore_ops_list, node)&lt;BR /&gt; pr_err("PM: winmate victor PMIC not shutdown\n");&lt;BR /&gt; /*if (ops-&amp;gt;shutdown) {&lt;BR /&gt; if (initcall_debug)&lt;BR /&gt; pr_info("PM: Calling %pF\n", ops-&amp;gt;shutdown);&lt;BR /&gt; ops-&amp;gt;shutdown();&lt;BR /&gt; }*//*winmate victor try*/&lt;/P&gt;&lt;P&gt;mutex_unlock(&amp;amp;syscore_ops_lock);&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I tried to mark out below part to avoid PMIC shutdown.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;if (ops-&amp;gt;shutdown) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (initcall_debug)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pr_info("PM: Calling %pF\n", ops-&amp;gt;shutdown);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ops-&amp;gt;shutdown();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However SW2 still switched off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why did SW2 be switched off when execute reboot command?&lt;/LI&gt;&lt;LI&gt;How can I avoid the SW2 be switched off and on ?&lt;/LI&gt;&lt;LI&gt;Would SW2 switch off when PMIC reboot then switch on again?&lt;/LI&gt;&lt;LI&gt;If yes how can I avoid it? Or cannot?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 06:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820401#M126339</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2018-08-06T06:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: When system reboot PMIC will reset and SW2 will off</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820402#M126340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for emmc issue one can try to assert emmc reset signal.&lt;/P&gt;&lt;P&gt;In general removing all power supplies is considered as correct reboot solution,&lt;/P&gt;&lt;P&gt;on Sabre SD spf-27392 schmetaic p.21 this is implemented by pmic PWRON-WDOG_B&lt;/P&gt;&lt;P&gt;toggling.&lt;/P&gt;&lt;P&gt;Schematics (1)&lt;BR /&gt;"Design files, including hardware schematics, Gerbers, and OrCAD files.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/hardware-development-tools/sabre-development-system/sabre-platform-for-smart-devices-based-on-the-i.mx-6-series:RDIMX6SABREPLAT?&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="https://www.nxp.com/support/developer-resources/hardware-development-tools/sabre-development-system/sabre-platform-for-smart-devices-based-on-the-i.mx-6-series:RDIMX6SABREPLAT?&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;SABRE Platform for Smart Devices|NXP&lt;/A&gt;&amp;nbsp;&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>Mon, 06 Aug 2018 09:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820402#M126340</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-06T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: When system reboot PMIC will reset and SW2 will off</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820403#M126341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hardware design is all the same as freescale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Emmc that I used is Forseen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I find a new clue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I reboot the system, cpu will get into download mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that cpu cannot read anything from Emmc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I try to use Kinston's Emmc, It will not appear the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any work around that can solve this problem for Forseen's Emmc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 04:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820403#M126341</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2018-08-07T04:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: When system reboot PMIC will reset and SW2 will off</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820404#M126342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this issue&amp;nbsp;may be specific for that particular emmc, you can ask vendor&lt;/P&gt;&lt;P&gt;of this emmc if there is specific power up sequence required.&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>Tue, 07 Aug 2018 05:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/When-system-reboot-PMIC-will-reset-and-SW2-will-off/m-p/820404#M126342</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-07T05:13:27Z</dc:date>
    </item>
  </channel>
</rss>

