<?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: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505793#M82106</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;&amp;nbsp; What Linux is used in the case ?&lt;/P&gt;&lt;P&gt;NXP recent release is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1248908948248708103376&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1248908948248708103376&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Boa…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it makes sense to post this issue to meta-fsl-arm mailing list,&lt;BR /&gt;since there is no official NXP release for kernel 4.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-align: left; text-indent: 0px; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="https://lists.yoctoproject.org/listinfo/meta-freescale" style="padding: 0 calc(12px + 0.35ex) 0 0; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #6a737b;"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 10 May 2016 02:49:48 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2016-05-10T02:49:48Z</dc:date>
    <item>
      <title>i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505792#M82105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;want to reduce cpu frequency of the i.MX23 (LQFP 128 pin) to 24 MHz for standby. Unfortunately the Linux system (Kernel 4.5) freeze after enabling CLKCTRL_CLKSEQ_BYPASS_CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a register dump before modifing CLKCTRL_CLKSEQ_BYPASS_CPU:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_1462543571767794 jive_macro_code jive_text_macro" data-renderedposition="160_50_798_64" jivemacro_uid="_1462543571767794"&gt;&lt;P&gt;HW_CLKCTRL_HBUS&amp;nbsp;&amp;nbsp; = 0x00000003&lt;/P&gt;&lt;P&gt;HW_CLKCTRL_CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00011001&lt;/P&gt;&lt;P&gt;HW_CLKCTRL_CLKSEQ = 0x0000011A&lt;/P&gt;&lt;P&gt;HW_CLKCTRL_EMI&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00000102&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the reason for this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505792#M82105</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2016-05-06T14:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505793#M82106</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;&amp;nbsp; What Linux is used in the case ?&lt;/P&gt;&lt;P&gt;NXP recent release is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1248908948248708103376&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Board%20Support%20Packages&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1248908948248708103376&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Boa…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it makes sense to post this issue to meta-fsl-arm mailing list,&lt;BR /&gt;since there is no official NXP release for kernel 4.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-align: left; text-indent: 0px; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="https://lists.yoctoproject.org/listinfo/meta-freescale" style="padding: 0 calc(12px + 0.35ex) 0 0; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #6a737b;"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 10 May 2016 02:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505793#M82106</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-05-10T02:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505794#M82107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;it's the mainline kernel. I'm trying to port standby support to mainline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stuck on this line in my Linux 4.5 repo (which actually enabling CLKCTRL_CLKSEQ_BYPASS_CPU):&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx23/pm.c?h=imx_2.6.31_10.05.02#n279" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx23/pm.c?h=imx_2.6.31_10.05.02#n279"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/lategoodbye/linux-mxs-power/blob/rebase-4.5/arch/arm/mach-mxs/pm.c#L181" title="https://github.com/lategoodbye/linux-mxs-power/blob/rebase-4.5/arch/arm/mach-mxs/pm.c#L181"&gt;linux-mxs-power/pm.c at rebase-4.5 · lategoodbye/linux-mxs-power · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think my issue is related to a wrong or missing register settings which causes the freeze, because i don't get any debug output after this call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any constraints before enabling CLKCTRL_CLKSEQ_BYPASS_CPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Do the code to switch BYPASS_CPU must run from OCRAM?&lt;/P&gt;&lt;P&gt;Do i take care of HBUS or XBUS clock setting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 23:13:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505794#M82107</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2016-05-10T23:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505795#M82108</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; the following may be helpful :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://github.com/xobs/linux-2.6.28.mx233-falconwing/blob/master/arch/arm/mach-stmp3xxx/sleep.S" title="https://github.com/xobs/linux-2.6.28.mx233-falconwing/blob/master/arch/arm/mach-stmp3xxx/sleep.S"&gt;linux-2.6.28.mx233-falconwing/sleep.S at master · xobs/linux-2.6.28.mx233-falconwing · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 07:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505795#M82108</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-05-18T07:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505796#M82109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;i added debug messages after each instruction. The issue appears before entering the suspend function in OCRAM, directly after:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pl-k"&gt;if&lt;/SPAN&gt; (&lt;SPAN class="pl-c1"&gt;clk_set_parent&lt;/SPAN&gt;(cpu_clk, osc_clk) &amp;lt; &lt;SPAN class="pl-c1"&gt;0&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to move this code into OCRAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 19:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505796#M82109</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2016-05-18T19:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX233: System freeze after enabling CLKSEQ_BYPASS_CPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505797#M82110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I moved code for the clock switching in OCRAM, but it shows the same behavior.&lt;/P&gt;&lt;P&gt;Then i did the same in U-Boot which leads to Data abort R14 and a bootloop.&lt;/P&gt;&lt;P&gt;I also tried the Freescale Kernel 2.6.35 which also show no reaction to resume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw here is the naming of the i.MX233:&lt;/P&gt;&lt;P&gt;MCIMX233CAG4C&lt;/P&gt;&lt;P&gt;A5 M88S&lt;/P&gt;&lt;P&gt;XAA1132A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX233-System-freeze-after-enabling-CLKSEQ-BYPASS-CPU/m-p/505797#M82110</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2016-06-03T16:47:22Z</dc:date>
    </item>
  </channel>
</rss>

