<?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のトピックimx8x reserved-memory</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8x-reserved-memory/m-p/1614508#M202683</link>
    <description>&lt;P&gt;I set the reserved memory in the dts. I only reserved dozens of megabytes of memory, but the kernel log shows that more than 200 megabytes of memory are reserved, imx8x. Is there any other place besides the dts set the reserved memory&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;[ 0.000000] Memory: 492256K/1046528K available (18560K kernel code, 1558K rwdata, 7180K rodata, 3840K init, 544K bss, 226592K reserved, 327680K cma-reserved)&lt;/P&gt;&lt;P&gt;dtb-&amp;gt;dts:&lt;/P&gt;&lt;P&gt;reserved-memory {&lt;BR /&gt;#address-cells = &amp;lt;0x02&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0x02&amp;gt;;&lt;BR /&gt;ranges;&lt;/P&gt;&lt;P&gt;decoder-boot@0x84000000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x84000000 0x00 0x2000000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x40&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;encoder-boot@0x86000000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x86000000 0x00 0x200000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x43&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;decoder-rpc@0x86200000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x86200000 0x00 0x100000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x41&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;encoder-rpc@0x94400000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x94400000 0x00 0x700000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x44&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;linux,cma {&lt;BR /&gt;compatible = "shared-dma-pool";&lt;BR /&gt;reusable;&lt;BR /&gt;size = &amp;lt;0x00 0x14000000&amp;gt;;&lt;BR /&gt;alloc-ranges = &amp;lt;0x00 0x98000000 0x00 0x14000000&amp;gt;;&lt;BR /&gt;linux,cma-default;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 03:12:25 GMT</pubDate>
    <dc:creator>songhongliang</dc:creator>
    <dc:date>2023-03-14T03:12:25Z</dc:date>
    <item>
      <title>imx8x reserved-memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8x-reserved-memory/m-p/1614508#M202683</link>
      <description>&lt;P&gt;I set the reserved memory in the dts. I only reserved dozens of megabytes of memory, but the kernel log shows that more than 200 megabytes of memory are reserved, imx8x. Is there any other place besides the dts set the reserved memory&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;[ 0.000000] Memory: 492256K/1046528K available (18560K kernel code, 1558K rwdata, 7180K rodata, 3840K init, 544K bss, 226592K reserved, 327680K cma-reserved)&lt;/P&gt;&lt;P&gt;dtb-&amp;gt;dts:&lt;/P&gt;&lt;P&gt;reserved-memory {&lt;BR /&gt;#address-cells = &amp;lt;0x02&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0x02&amp;gt;;&lt;BR /&gt;ranges;&lt;/P&gt;&lt;P&gt;decoder-boot@0x84000000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x84000000 0x00 0x2000000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x40&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;encoder-boot@0x86000000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x86000000 0x00 0x200000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x43&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;decoder-rpc@0x86200000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x86200000 0x00 0x100000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x41&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;encoder-rpc@0x94400000 {&lt;BR /&gt;reg = &amp;lt;0x00 0x94400000 0x00 0x700000&amp;gt;;&lt;BR /&gt;no-map;&lt;BR /&gt;phandle = &amp;lt;0x44&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;linux,cma {&lt;BR /&gt;compatible = "shared-dma-pool";&lt;BR /&gt;reusable;&lt;BR /&gt;size = &amp;lt;0x00 0x14000000&amp;gt;;&lt;BR /&gt;alloc-ranges = &amp;lt;0x00 0x98000000 0x00 0x14000000&amp;gt;;&lt;BR /&gt;linux,cma-default;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 03:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8x-reserved-memory/m-p/1614508#M202683</guid>
      <dc:creator>songhongliang</dc:creator>
      <dc:date>2023-03-14T03:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx8x reserved-memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8x-reserved-memory/m-p/1617525#M202894</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158777"&gt;@songhongliang&lt;/a&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to Chapter 7 Memory Assignment and&amp;nbsp;&lt;STRONG&gt;Table 1. DDR memory assignment&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf&amp;amp;source=gmail&amp;amp;ust=1679125349490000&amp;amp;usg=AOvVaw2RbJUzaj_VMgZz88NEamk0"&gt;i.MX Porting Guide&lt;/A&gt;, where DRAM memory regions are reserved for ATF, SCFW, etc...&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;One can also try to debug with the below sysfs directory to cross-check if any overlay&amp;nbsp;is not applied to device tree.&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;$ cd sys/firmware/devicetree/base/&lt;WBR /&gt;reserved-memory/&lt;/DIV&gt;
&lt;DIV&gt;$ ls&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8x-reserved-memory/m-p/1617525#M202894</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-03-17T09:41:54Z</dc:date>
    </item>
  </channel>
</rss>

