<?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: IMX6 Android Hibernation resume problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597577#M89649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Sorry for late answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We just removed no_console_suspend from kernel command line. After that we got console working and now we see GPU errors there. So everything seems to work fine except GPU driver. We use Android 6 (linux kernel 4.1.15).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2017 10:23:36 GMT</pubDate>
    <dc:creator>john_smith</dc:creator>
    <dc:date>2017-06-07T10:23:36Z</dc:date>
    <item>
      <title>IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597572#M89644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add hibernation support to IMX6Q processor module. I've aplied this patch - &lt;A class="link-titled" href="https://lkml.org/lkml/2014/3/11/486" rel="nofollow noopener noreferrer" title="https://lkml.org/lkml/2014/3/11/486" target="_blank"&gt;https://lkml.org/lkml/2014/3/11/486&lt;/A&gt; . The problem is in resuming process. Everything freezes in function&lt;/P&gt;&lt;PRE class="language-c"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; notrace &lt;SPAN class="token function"&gt;arch_restore_image&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;unused&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;struct&lt;/SPAN&gt; pbe &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;pbe&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;cpu_switch_mm&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;idmap_pgd&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;init_mm&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pbe &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; restore_pblist&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; pbe&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; pbe &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pbe&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;next&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;copy_page&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pbe&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;orig_address&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pbe&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;address&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;soft_restart&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;virt_to_phys&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cpu_resume&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The program never returns from&lt;/P&gt;&lt;PRE class="language-c"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pbe &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; restore_pblist&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; pbe&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; pbe &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pbe&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;next&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;copy_page &lt;/STRONG&gt;function is being called about 50000 times and than the process freezes. There are some logs, where number of calls, pbe-&amp;gt;orig_address and pbe-&amp;gt;address values before freezing are collected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;50627 d4374000 c5a66000&lt;BR /&gt;50628 d4373000 c5a67000&lt;BR /&gt;50629 d4372000 c5a68000&lt;/P&gt;&lt;P&gt;Freeze&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;51209 d402b000 c52d7000&lt;/P&gt;&lt;P&gt;Freeze&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;52882 d402e000 c4cea000&lt;/P&gt;&lt;P&gt;52883 d402d000 c4ceb000&lt;BR /&gt;52884 d402c000 c4cec000&lt;BR /&gt;52885 d402b000 c4ced000&lt;/P&gt;&lt;P&gt;Freeze&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the reason?....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 18:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597572#M89644</guid>
      <dc:creator>john_smith</dc:creator>
      <dc:date>2016-11-15T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597573#M89645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try nxp official android releases on&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6-series-software-and-development-tool-resources:IMX6_SW"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6-series-software-and-development-tool-resources:IMX6_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;check support way for third parties releases on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F402940%23402940" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/402940#402940&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;================================================================&lt;BR /&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>Wed, 16 Nov 2016 08:59:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597573#M89645</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-11-16T08:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597574#M89646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use Variscite CustomBoard, so I use official Android release with IMX6 patches from Variscite.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 13:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597574#M89646</guid>
      <dc:creator>john_smith</dc:creator>
      <dc:date>2016-11-16T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597575#M89647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;official nxp bsps are located on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6-series-software-and-development-tool-resources:IMX6_SW" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/i.mx-6-series-software-and-development-tool-resources:IMX6_SW"&gt;i.MX 6 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;non nxp releases (developed by third parties) are supported by&lt;/P&gt;&lt;P&gt;these third parties tech support. For Variscite bsps please post on&lt;/P&gt;&lt;P&gt;Variscite: &lt;A class="link-titled" href="http://www.variscite.com/support/contact-support" title="http://www.variscite.com/support/contact-support"&gt;Contact Support - Variscite&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or meta-fsl-arm mailing list, so that someone familiar with that board&lt;/P&gt;&lt;P&gt;could try to assist you&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.yoctoproject.org/listinfo/meta-freescale" title="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;meta-freescale Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 14:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597575#M89647</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-11-16T14:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597576#M89648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;I am facing the same problem as you. May i know have you solve this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you mind to share how you solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597576#M89648</guid>
      <dc:creator>zc_tee</dc:creator>
      <dc:date>2017-03-17T08:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Android Hibernation resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597577#M89649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Sorry for late answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We just removed no_console_suspend from kernel command line. After that we got console working and now we see GPU errors there. So everything seems to work fine except GPU driver. We use Android 6 (linux kernel 4.1.15).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 10:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Android-Hibernation-resume-problem/m-p/597577#M89649</guid>
      <dc:creator>john_smith</dc:creator>
      <dc:date>2017-06-07T10:23:36Z</dc:date>
    </item>
  </channel>
</rss>

