title: Cannot reserve memory on Petalinux2020.2?
body: <p>I'm building a project using petalinux2020.2 and an RFSOC, zcu111 board, for my application I need to reserve a section of memory from petalinux to use with DMA, implemented on the programmable logic of the FPGA.
  I tried following <a href="https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841683/Linux+Reserved+Memory#LinuxReservedMemory-Reservedmemory" rel="nofollow noreferrer">this tutorial</a>, but I get an error at boot time.
  <a href="https://i.stack.imgur.com/fbR8D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fbR8D.png" alt="enter image description here" /></a></p>
  <p>Which terminates with a kernel panic, shown here:
  <a href="https://i.stack.imgur.com/MSAAg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MSAAg.jpg" alt="enter image description here" /></a>
  I've tried to modify Memory Size by using petalinux-config command, setting the Memory Size to 0x70000000 but it did not help.</p>
  <p>The entry for the device tree is shown here:</p>
  <pre><code>/include/ &quot;system-conf.dtsi&quot;
  /{
      reserved-memory {
          #address-cells = &lt;2&gt;;
          #size-cells = &lt;2&gt;;
          ranges;
   
          reserved: buffer@0 {
              no-map;
              reg = &lt;0x0 0x70000000 0x0 0x10000000&gt;;
          };
      };
      reserved-driver@0 {
          compatible = &quot;xlnx,reserved-memory&quot;;
          memory-region = &lt;&amp;reserved&gt;;
      };
  };
  </code></pre>
  <p>How can I make this work?</p>