<?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 Re: GPT capture sample on M4 seems to hang on Linux boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/1582405#M200082</link>
    <description>&lt;P&gt;Hi, I'm using GPT1 but in the linux side.&lt;BR /&gt;You say that clocks disable GPT1 clocks root, why then ? You say that NXP want to provide GPT1 functionnality on linux side but disable GPT1 clocks root.&lt;BR /&gt;&lt;BR /&gt;Maybe I misunderstood something.&lt;BR /&gt;&lt;BR /&gt;By the way, thanks a lot for the very detailed way on how you manage to troubleshoot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 10:24:36 GMT</pubDate>
    <dc:creator>c_guerr</dc:creator>
    <dc:date>2023-01-13T10:24:36Z</dc:date>
    <item>
      <title>GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902416#M136169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Platform: iMX8MQ EVK&lt;/P&gt;&lt;P&gt;Linux kernel: 4.14.78&lt;/P&gt;&lt;P&gt;Yocto: imx-linux-sumo&amp;nbsp; 4.14.98-1.0.0 GA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running the GPT capture sample in SDK 2.5.1 on the M4. I have an external signal connected to GPT1_CAPTURE1 via TP 803. This works just fine till Linux starts to boot. At some point during bootup, the GPT sample stops working. I have disabled sound card support entirely and notice that GPT1 is disabled in the device tree (&amp;lt;yocto_build_dir&amp;gt;/tmp/work-shared/imx8mqevk/kernel-source/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi). Table 2-3 in the Linux reference manual states that iMX8M uses the System Counter Timer instead of GPT. Given what I know, I do not understand if there is a resource conflict between Linux and M4, or in general, why this sample would stop working when Linux starts to come up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it looks like for this platform, GPT1 is the only timer with a pin out for capture channels so I can't use any other timers on the M4. Any help would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 20:36:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902416#M136169</guid>
      <dc:creator>gowricp</dc:creator>
      <dc:date>2019-04-18T20:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902417#M136170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can use linux/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts?h=imx_4.14.78_1.0.0_ga"&gt;fsl-imx8mq-evk-m4.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and procedure for running rpmsg m4 examples described in sect.2.8.5 Running i.MX RPMsg Test Programs&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/rpmsg?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/rpmsg?h=imx_4.14.78_1.0.0_ga"&gt;rpmsg\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.emcraft.com/som/imx-8m/using-cortex-m4-from-linux" title="https://www.emcraft.com/som/imx-8m/using-cortex-m4-from-linux"&gt;Using Cortex-M4 from Linux&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are other approaches for running m4 appilcations from linux:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/NXPmicro/imx-m4fwloader" title="https://github.com/NXPmicro/imx-m4fwloader"&gt;GitHub - NXPmicro/imx-m4fwloader: Tool for loading firmware to M4 core on i.MX6SX and 7D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/m4ctrl/tree/" title="https://source.codeaurora.org/external/imxsupport/m4ctrl/tree/"&gt;m4ctrl - M4 Control Tool for i.MX platforms&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AN5317 Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX7Dual/7Solo Application Processors&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5317.pdf" title="https://www.nxp.com/docs/en/application-note/AN5317.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5317.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, GPT1 is the only timer with a external pin out for capture.&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>Sat, 20 Apr 2019 00:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902417#M136170</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-20T00:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902418#M136171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for your response Igor. I will look into the documents you pointed me to but wanted to give a quick update, I did set status to enabled for GPT1 in the fsl-imx8mq-evk-m4.dts file but that didn't help either. Also, I ran the GPT sample while I was in the uboot environment and it ran just fine. It was when I continued on to boot the Linux kernel when the sample seemed to stop working. Thought I should make that clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run both RPMSG demo apps and those work fine. It seemed to me that GPT1 was not being used by Linux in any way but since the M4 sample seems to freeze, perhaps it actually is being used in some way? Can't seem to figure this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to set a hardware watchpoint in kgdb for the GPT1 control register to try to narrow down what kernel component might be using it but that didn't work. It looks like some eFuses need changing? Is there updated documentation for iMX8? I see some for some flavors of 6 and 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2019 00:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902418#M136171</guid>
      <dc:creator>gowricp</dc:creator>
      <dc:date>2019-04-20T00:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902419#M136172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For these types of problems, often the easiest approach to debug the issue is to look at the actual relevant SoC registers to attempt to determine what happened.&amp;nbsp; So why would the GPT IP module stop working during Linux boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While not an exhaustive list, a couple of possibilities immediately jump off the page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; The iomux was reconfigured for a different purpose&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; The clocks going to the GPT IP changed (or the clock gate was disabled)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp; The GPT itself was reconfigured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first step is to head to the SoC reference manual to determine what other IP is multiplexed to the I/O in question:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79994i7ACD0334CC044837/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Taking a look at the i.MX8MQ device tree found in /arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts, we see an sai5 entry, and it is enabled.&amp;nbsp; This indicates that when Linux configures the device tree, our GPT1_CAPTURE1 will be reconfigured to the SAI5 IP.&amp;nbsp; Thus we need to disable this device tree node.&amp;nbsp; Note that there is already a pre-made device tree for the RPMSG demo, targetted for M4 operation.&amp;nbsp; So let's modify that instead, and configure U-boot to alway load that:&lt;/P&gt;&lt;P&gt;/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts&lt;/P&gt;&lt;P&gt;At the bottom, let's add an entry:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;amp;sai5 {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp;&amp;nbsp; status = "disabled";&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;After recompiling, and copying the file to our non-volatile storage, we now have the updated M-4 DTB in our FAT partition.&amp;nbsp; We can then set it to be loaded by Linux by changing the fdt_file u-boot environment variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot&amp;gt; editenv fdt_file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;edit: fsl-imx8mq-evk-m4.dtb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot&amp;gt; saveenv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot&amp;gt; fatload mmc 1:1 0x7e0000 gpt_capture.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot&amp;gt; bootaux 0x7e0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot&amp;gt; boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Huh, still exhibits the same behavior.&amp;nbsp; NOTE: this does NOT mean we were wrong, it just means there is another issue in addition to this one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So, on to step 2: let's find out if there is something going wrong with the clocks/GPT configuration.&amp;nbsp; U-boot and the validation images for linux have tools to peek/poke physical addresses.&amp;nbsp; Let's do a before and after comparison to determine what is going wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So what registers are we interested in?&amp;nbsp; Well, taking a look back in the SoC Reference Manual, we can look at the clock tree to determine where the problem could be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79995i79424CEC1B406AF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So there is a mux that could have changed, pre and post dividers, as well as a clock gate (CCRG16): &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79996i54423120A4A31FBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Now, we need to find what manages the GPT1_CLK_ROOT:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79997iE012EF021DAB1FC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So clock slice 107 controls the clock root, need to find that register:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79998i7E5EFB7A4AC1D901/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79999i0B332DCFC829DFAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80000i368CEBA295EEF2E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80001iD1B03E841C02181D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80002iB58EAA36B565EC9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;and et cetera.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;We would also like to look at the GPT configuration, just in case that changed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80003i27B6F85508A1685B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Going back into u-boot, let's peek and poke those registers!:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; fatload mmc 1:1 0x7e0000 gpt_timer.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;17316 bytes read in 25 ms (675.8 KiB/s)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; bootaux 0x7e0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;## Starting auxiliary core at 0x007E0000 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 0x30384100 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Clock gate CCGR 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;30384100: 00000032&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 0x30360030 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # CCM_ANALOG_SYS_PLL1_CFG0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;30360030: 82aaaa08&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 3038b580 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Clock source 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;3038b580: 12000003&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0000 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # GPT1 configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0000: 0000006b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; k...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0004 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0004: 00000002&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0008 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0008: 00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d000c 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d000c: 00000001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0010 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0010: 01fca055&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0014 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0014: ffffffff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0018 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0018: ffffffff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;u-boot=&amp;gt; md 302d0024 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;302d0024: 010096c3&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Ok, that's great.&amp;nbsp; We see the configuration of both the basic clocks and the GPT1.&amp;nbsp; Next, let's boot Linux and see what changes (note that you will need to build the validation image OR add unit_tests to your build):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;root@imx8mqevk:~# cd /unit_tests/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;root@imx8mqevk:/unit_tests# ./memtool 0x30384100 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Reading 0x1 count starting at address 0x30384100&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;0x30384100:&amp;nbsp; 00000032&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;root@imx8mqevk:/unit_tests# ./memtool 0x30360030 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Reading 0x1 count starting at address 0x30360030&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;0x30360030:&amp;nbsp; 82AAAA08&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;root@imx8mqevk:/unit_tests# ./memtool 0x3038b580 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Reading 0x1 count starting at address 0x3038B580&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;0x3038B580:&amp;nbsp; 02000003&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;OK, whoa!&amp;nbsp; Something changed, what is this bit?&amp;nbsp; Back to the Reference Manual:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_15.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80004i5A257D88E27CEAD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_15.png" alt="pastedImage_15.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_14.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80005i3CB1C9F677BDF9BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_14.png" alt="pastedImage_14.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Ouch, Linux turned off our clock!!&amp;nbsp; What the heck, man?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So, then the question becomes, where is Linux going squirrelly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;NXP adds a separate folder for i.MX in the Linux clocks driver - /drivers/clk/imx/clk-imx8mq.c holds the init function for the clocks.&amp;nbsp; A quick perusal shows that line 563 seems suspect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mq.c?h=imx_4.14.78_1.0.0_ga"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mq.c?h=imx_4.14.78_1.0.0_ga&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;There is also a clk.h and clk.c that holds many of the definitions, and can be investigated.&amp;nbsp; Chasing this down a bit, we see that when clk_register_gate2() is called by imx_clk_gate4(), this bit field is disabled.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So the easiest approach is just to comment out that line, as we want the M-4 to control that clock. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Recompile, not only the Linux, but also the full image.&amp;nbsp; Recopy gpt_capture.bin back to the non-volatile storage after flashing the new image.&amp;nbsp; Proceed to test (note that I do not have a breakout board handy right now, so I'm testing with gpt_timer.bin) -- YES!&amp;nbsp; VICTORY!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;So, is this a bug in the NXP SDK?&amp;nbsp; No, as NXP we want to provide GPT functionality to Linux, it just happens in your application that is not the desired behavior.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I realize that I've been a little long-winded, but the purpose of this is to demonstrate HOW these types of issues are troubleshoot.&amp;nbsp; Hopefully, this will be helpful in future efforts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Further note, we could have done this and produced some really nasty bugs.&amp;nbsp; Note that there is a gpt1 node in our device tree -- that's one reason to use the M-4 DTB, as it is already disabled in that device tree.&amp;nbsp; It's usually best to start with the device tree, then when that is exhausted, start peeking/poking registers.&amp;nbsp; For the vast majority of these types of issues, JTAG debugging is not required. When using JTAG, make sure you HALT the processors before you start to read/write the registers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Ryan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2019 00:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902419#M136172</guid>
      <dc:creator>ryandeville2</dc:creator>
      <dc:date>2019-04-20T00:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902420#M136173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you solved the problem? How can you solve it? I have encountered similar problems. Can you help me solve this problem? Thank you.&lt;/P&gt;&lt;P&gt;The question is in the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/515260"&gt;https://community.nxp.com/thread/515260&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 02:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/902420#M136173</guid>
      <dc:creator>jack-cap</dc:creator>
      <dc:date>2019-10-17T02:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: GPT capture sample on M4 seems to hang on Linux boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/1582405#M200082</link>
      <description>&lt;P&gt;Hi, I'm using GPT1 but in the linux side.&lt;BR /&gt;You say that clocks disable GPT1 clocks root, why then ? You say that NXP want to provide GPT1 functionnality on linux side but disable GPT1 clocks root.&lt;BR /&gt;&lt;BR /&gt;Maybe I misunderstood something.&lt;BR /&gt;&lt;BR /&gt;By the way, thanks a lot for the very detailed way on how you manage to troubleshoot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 10:24:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPT-capture-sample-on-M4-seems-to-hang-on-Linux-boot/m-p/1582405#M200082</guid>
      <dc:creator>c_guerr</dc:creator>
      <dc:date>2023-01-13T10:24:36Z</dc:date>
    </item>
  </channel>
</rss>

