<?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: Linux kernel hangs after allocating contiguous DMA memory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-kernel-hangs-after-allocating-contiguous-DMA-memory/m-p/848200#M129830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mihaita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as &lt;EM&gt;Linux version 4.6.0&lt;/EM&gt; is not officially supported nxp kernel, one can try with&lt;/P&gt;&lt;P&gt;mxp releases described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also may be useful to check memory&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;https://community.nxp.com/docs/DOC-105652&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>Tue, 14 Aug 2018 00:17:30 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-08-14T00:17:30Z</dc:date>
    <item>
      <title>Linux kernel hangs after allocating contiguous DMA memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-kernel-hangs-after-allocating-contiguous-DMA-memory/m-p/848199#M129829</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; &amp;nbsp; I am trying to allocate contiguous DMA memory in device tree as I need to store 5MP camera frames and the dma_alloc_coherent would complain otherwise. Unfortunately after the DMA appol is allocated the kernel hangs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Uncompressing Linux... done, booting the kernel.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] Booting Linux on physical CPU 0x0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] Linux version 4.6.0-xilinx (mivascu@ubuntu) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Mon Aug 13 03:51:10 PDT 2018&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] Machine model: Hurricane Telescope main board (7z035)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] Ignoring memory range 0x0 - 0x10000000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] bootconsole [earlycon0] enabled&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;[ 0.000000] Reserved memory: created CMA memory pool at 0x10000000, size 64 MiB&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;[ 0.000000] Reserved memory: initialized node buffer@0, compatible id shared-dma-pool&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;[ 0.000000] Memory policy: Data cache writealloc&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;I would appreciate any suggestion related to what could be the problem or how to debug it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Mihaita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 15:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-kernel-hangs-after-allocating-contiguous-DMA-memory/m-p/848199#M129829</guid>
      <dc:creator>mihaitaivascu</dc:creator>
      <dc:date>2018-08-13T15:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linux kernel hangs after allocating contiguous DMA memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-kernel-hangs-after-allocating-contiguous-DMA-memory/m-p/848200#M129830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mihaita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as &lt;EM&gt;Linux version 4.6.0&lt;/EM&gt; is not officially supported nxp kernel, one can try with&lt;/P&gt;&lt;P&gt;mxp releases described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also may be useful to check memory&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;https://community.nxp.com/docs/DOC-105652&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>Tue, 14 Aug 2018 00:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-kernel-hangs-after-allocating-contiguous-DMA-memory/m-p/848200#M129830</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-14T00:17:30Z</dc:date>
    </item>
  </channel>
</rss>

