<?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: Reserve DDR memory block</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757116#M117767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed this before but I can't tell if it takes or not.&lt;/P&gt;&lt;P&gt;I check with cat /proc/iomem&lt;/P&gt;&lt;P&gt;but it doesn't show the reserved area there (if I use no-map) then it shows a gap in&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;System RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I can see that the reserved-memory shows up in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;/proc/device-tree/reserved-memory/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;So would this guarantee that the Linux OS won't put anything in that area?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Niklas&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Mar 2018 01:35:01 GMT</pubDate>
    <dc:creator>niklasmolin</dc:creator>
    <dc:date>2018-03-03T01:35:01Z</dc:date>
    <item>
      <title>Reserve DDR memory block</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757114#M117765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm doing an application where an&amp;nbsp;external chip will use PCIe bus to store data in i.MX6's DDR memory.&lt;/P&gt;&lt;P&gt;What is the best way to reserve a block of RAM, so Linux can't use this space.&lt;/P&gt;&lt;P&gt;My application (running in the i.MX6) will read the data from this reserved memory location and to do some processing.&lt;/P&gt;&lt;P&gt;I'm trying to update my .dtsi file with:&lt;/P&gt;&lt;P&gt;memory {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;reg = &amp;lt;0x10000000 0x40000000&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;reserved-memory {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;ranges;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;dma_reserved: pciebuffer@4ff00000 {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reg = &amp;lt;0x4ff00000 0x100000&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;1. How do I see that this is reserved when running linux (I can only see if I add no-map).&lt;/P&gt;&lt;P&gt;2. If I use no-map, will this memory access be cached when the application tries to read from the DDR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:02:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757114#M117765</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2018-02-20T00:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve DDR memory block</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757115#M117766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at linux documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt" title="https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt"&gt;https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.wiki.xilinx.com/Linux+Reserved+Memory" title="http://www.wiki.xilinx.com/Linux+Reserved+Memory"&gt;Xilinx Wiki - Linux Reserved Memory&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, 20 Feb 2018 22:52:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757115#M117766</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-20T22:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve DDR memory block</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757116#M117767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed this before but I can't tell if it takes or not.&lt;/P&gt;&lt;P&gt;I check with cat /proc/iomem&lt;/P&gt;&lt;P&gt;but it doesn't show the reserved area there (if I use no-map) then it shows a gap in&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;System RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I can see that the reserved-memory shows up in&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;/proc/device-tree/reserved-memory/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;So would this guarantee that the Linux OS won't put anything in that area?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Niklas&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 01:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757116#M117767</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2018-03-03T01:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve DDR memory block</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757117#M117768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may depend on used kernel, suggest to post on kernel mail list&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://vger.kernel.org/vger-lists.html" title="http://vger.kernel.org/vger-lists.html"&gt;Majordomo Lists at VGER.KERNEL.ORG&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 02:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/757117#M117768</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-03-03T02:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve DDR memory block</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/1488718#M192472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59773"&gt;@niklasmolin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same problem as you did.&lt;/P&gt;&lt;P&gt;I am unable to see the reserved block of memory using the cat /proc/iomem command but the reserved memory is visible under the /proc/device-tree/reserved-memory.&lt;/P&gt;&lt;P&gt;It would be really helpful if you could add a screenshot of what you are seeing in the reserved-memory file so that I can be sure whether what I am seeing is correct or not.&lt;/P&gt;&lt;P&gt;Also if you have been able to figure out a way to display that reserved-memory using the cat /proc/iomem command then that would be really helpful as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much. I have been stuck at this problem for days and I was of the opinion that for some reason the memory is not being reserved or I am making some error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 11:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reserve-DDR-memory-block/m-p/1488718#M192472</guid>
      <dc:creator>Ngc_4414</dc:creator>
      <dc:date>2022-07-13T11:09:51Z</dc:date>
    </item>
  </channel>
</rss>

