<?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: Freeze at boot when initializing clock gate status</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328685#M44242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the record, I found out that it's related to PCIe ASPM support.&lt;/P&gt;&lt;P&gt;Once disabled in Kernel, all went fine (without the above patch).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 07:20:04 GMT</pubDate>
    <dc:creator>michaëlburtin</dc:creator>
    <dc:date>2016-05-11T07:20:04Z</dc:date>
    <item>
      <title>Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328678#M44235</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;On a sabrelite-like board with rel_imx_3.10.17_1.0.2_ga, I have got a freeze when rebooting.&lt;/P&gt;&lt;P&gt;This is very reproducible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The freeze does not happen when cold booting,&lt;/P&gt;&lt;P&gt;as long as the power is kept off for more than about 15 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With earlyprink enabled, and by adding some printascii, I have been able to find out&lt;/P&gt;&lt;P&gt;the place where the freeze happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is in imx6q_clocks_init,&lt;/P&gt;&lt;P&gt;when doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;writel_relaxed(1 &amp;lt;&amp;lt; CCM_CCGR_OFFSET(0), base + 0x7c);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... nothing happens after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to be able to boot is to power off the board for about 15 seconds&lt;/P&gt;&lt;P&gt;Does anyone have an idea of what may happen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 15:58:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328678#M44235</guid>
      <dc:creator>thierrybultel</dc:creator>
      <dc:date>2015-01-08T15:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328679#M44236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thierry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on Freescale boards reboot is done as cold reset.&lt;/P&gt;&lt;P&gt;I am not aware how it is done on sabrelite board, suggest to post that&lt;/P&gt;&lt;P&gt;on boundary devices forum. Without resetting whole system (PMIC+processor)&lt;/P&gt;&lt;P&gt;there may be implications with ldo bypass/ldo enable modes, for example&lt;/P&gt;&lt;P&gt;if the i.MX6 was put in LDO bypass mode, then reset the i.MX6 but not the PMIC, and &lt;/P&gt;&lt;P&gt;subsequently the i.MX6 would not be guaranteed to boot because the PMIC &lt;/P&gt;&lt;P&gt;voltages would then not be correct. Also one needs to check that&lt;/P&gt;&lt;P&gt;MMDC was not initialized twice, since at warm reset it is put in self-refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&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>Fri, 09 Jan 2015 01:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328679#M44236</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-09T01:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328680#M44237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thierry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the same freeze issue in our imx6q custom board (No PMIC) using 3,10.17 kernel. I am running continuously&amp;nbsp; ON/OFF testing(H/W power down) . If the board is powered ON after 7 sec booting is proper without no issue but If the board is Powered OFF/ON lessthan 2 sec the booting of the kernel hangs very rarely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is hanging in the &lt;STRONG&gt;starting kernel...&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried disabling the PCI in Linux kernel and tried the same test case with time off delay 2 sec. I observed it is running properly without freeze.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried by enabling the earlyprintk in Linux kernel and boot arguments to trace the hanging issue. Still I am not able to trace the exact hanging place .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlyprintk enabled the below option&lt;/P&gt;&lt;P&gt;==========================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[*] Kernel low-level debugging functions (read help!)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[*] Early printk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and Boot arguments.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to enable printascii to find the exact hanging place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dooty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 11:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328680#M44237</guid>
      <dc:creator>Embedding</dc:creator>
      <dc:date>2015-01-09T11:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328681#M44238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Thierry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have the same problem with you.&lt;/P&gt;&lt;P&gt;have you fixed it?&lt;/P&gt;&lt;P&gt;or is there a workaround for this problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my board work well with 1GB ram.&lt;/P&gt;&lt;P&gt;but if i set the RAM size to 512MB in dtb and uboot,&lt;/P&gt;&lt;P&gt;kernel boot will hang at :writel_relaxed(1 &amp;lt;&amp;lt; CCM_CCGR_OFFSET(0), base + 0x7c);&lt;/P&gt;&lt;P&gt;this reproduce very boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 07:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328681#M44238</guid>
      <dc:creator>hushange</dc:creator>
      <dc:date>2015-04-09T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328682#M44239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just had this very same problem, solution was to also keep uart clock enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the write to: &lt;/P&gt;&lt;P&gt;writel_relaxed(1 &amp;lt;&amp;lt; CCM_CCGR_OFFSET(0) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1 &amp;lt;&amp;lt; CCM_CCGR_OFFSET(12) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1 &amp;lt;&amp;lt; CCM_CCGR_OFFSET(13), base + 0x7c);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 10:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328682#M44239</guid>
      <dc:creator>emilmyhrman</dc:creator>
      <dc:date>2015-09-02T10:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328683#M44240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just commented that particular line in source code. Then I can able to keep moving and executing the other stuff. But I didn't explore what is that settings and how it is working even after commented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dooty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 06:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328683#M44240</guid>
      <dc:creator>Embedding</dc:creator>
      <dc:date>2015-09-11T06:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328684#M44241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just had the same issue which was fixed with the given patch.&lt;/P&gt;&lt;P&gt;I wonder however the real explanation of this? Because we have two very&lt;/P&gt;&lt;P&gt;similar prototypes and only one require this patch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michaël&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328684#M44241</guid>
      <dc:creator>michaëlburtin</dc:creator>
      <dc:date>2016-05-10T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Freeze at boot when initializing clock gate status</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328685#M44242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the record, I found out that it's related to PCIe ASPM support.&lt;/P&gt;&lt;P&gt;Once disabled in Kernel, all went fine (without the above patch).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 07:20:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Freeze-at-boot-when-initializing-clock-gate-status/m-p/328685#M44242</guid>
      <dc:creator>michaëlburtin</dc:creator>
      <dc:date>2016-05-11T07:20:04Z</dc:date>
    </item>
  </channel>
</rss>

