<?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>LayerscapeのトピックRe: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
    <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1585193#M11725</link>
    <description>&lt;P&gt;You need to read the DPAA2UM reference manual, the answer is in it&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 05:04:01 GMT</pubDate>
    <dc:creator>kenli</dc:creator>
    <dc:date>2023-01-19T05:04:01Z</dc:date>
    <item>
      <title>Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489215#M10875</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Our product need more ram size, our DDR is 8G and when it boot into kernel, the free size is only 5.2G, I know dpaa2 default will set this value mcmemsize=0x70000000, but for our product request, it need more ram size, so we need to modify uboot env mcmemsize value to increase ram size&lt;BR /&gt;We want increase 1G size, so we modify it as below:&lt;BR /&gt;mcmemsize=0x40000000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After modify the value, we save it and reboot again, but the free size is still 5.2G&lt;BR /&gt;ir seems not workable.We also try this on LX2160RDB EVB board with official LSDK2004,&lt;BR /&gt;The RAM size is 16G and free size is 13G, we modify mcmemsize=0x40000000&lt;BR /&gt;the result is the same. free ram size is not increase.&lt;BR /&gt;Could you help us for this issue?&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489215#M10875</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2022-07-14T06:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489373#M10878</link>
      <description>&lt;P&gt;Please upload a detailed log, such as uboot's environment variables. dump the “&lt;STRONG&gt;pri&lt;/STRONG&gt;" information under uboot console.&lt;BR /&gt;Or you can try the following command first.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;setenv mcmemsize 0x40000000; saveenv; reset&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 09:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489373#M10878</guid>
      <dc:creator>kenli</dc:creator>
      <dc:date>2022-07-14T09:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489428#M10883</link>
      <description>&lt;P&gt;Hi Kenli,&lt;/P&gt;&lt;P&gt;I cannot upload the attached log correctly, I just set the command you told me, the result is the same,&lt;/P&gt;&lt;P&gt;Ram size not increase and I print the value mcmemsize=0x40000000 is correct&lt;/P&gt;&lt;P&gt;Could you test on your EVB board see it can work or not?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Jack&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 10:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489428#M10883</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2022-07-14T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489928#M10887</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; Hi Kenli,&lt;/P&gt;&lt;P&gt;Information updated as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Ls2080 with 8G RAM:&lt;/P&gt;&lt;P&gt;1.Set mcmemsize to 0x40000000, saveenv and print it verify the value be modified success, then reset&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uboot-mcmemsize.png" style="width: 502px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186719i914C2C46513C3195/image-dimensions/502x180?v=v2" width="502" height="180" role="button" title="uboot-mcmemsize.png" alt="uboot-mcmemsize.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.Boot into system and use free command to check total memory size, total memory should be increase to 6.2G, but it is still 5.2G&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="free-size.png" style="width: 506px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186720iD23B50FC2660359B/image-dimensions/506x67?v=v2" width="506" height="67" role="button" title="free-size.png" alt="free-size.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help us to check this issue. thanks&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 01:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1489928#M10887</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2022-07-15T01:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1490661#M10896</link>
      <description>&lt;P&gt;Hi kenli,&lt;/P&gt;&lt;P&gt;Do you have any update about this issue?&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 02:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1490661#M10896</guid>
      <dc:creator>jackho</dc:creator>
      <dc:date>2022-07-18T02:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1490850#M10899</link>
      <description>&lt;P&gt;I just downloaded&amp;nbsp; LSDK20.04 pre-built images, verified this issue on LX2160ARDB.&lt;/P&gt;
&lt;P&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2004/firmware_lx2160ardb_rev2_uboot_xspiboot.img" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2004/firmware_lx2160ardb_rev2_uboot_xspiboot.img&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2004/lsdk2004_yocto_tiny_LS_arm64.itb" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2004/lsdk2004_yocto_tiny_LS_arm64.itb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Before Modifying&amp;nbsp;mcmemsize&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;root@TinyLinux:~# cat /proc/meminfo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MemTotal:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14229144 kB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MemFree:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12003476 kB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After Modifying&amp;nbsp;mcmemsize in u-boot as the following.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;gt; pri mcmemsize&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mcmemsize=0x70000000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;gt; setenv mcmemsize 0x40000000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;gt; saveenv&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;gt; reset&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;root@TinyLinux:~# cat /proc/meminfo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MemTotal:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15259284 kB&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MemFree:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13033500 kB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1490850#M10899</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-07-18T07:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1584824#M11718</link>
      <description>&lt;P&gt;I'm facing the same issue. It seems the function&amp;nbsp;mc_get_dram_addr() that get the mc reserved size is called BEFORE the env are load from save env.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A quick workaround is to edit&amp;nbsp;uboot/include/configs/lx2160a_common.h file, rebuild and you will see your memory RAM increase.&lt;/P&gt;&lt;P&gt;I take this opportunity to ask a question, do you know why the mcmemsize is 0x7000000 by default? Does it require more than the 512MB from the manual?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 17:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1584824#M11718</guid>
      <dc:creator>jesq31</dc:creator>
      <dc:date>2023-01-18T17:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modify mcmemsize to increase RAM size based on LX2160 and Ls2080 with lsdk2004</title>
      <link>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1585193#M11725</link>
      <description>&lt;P&gt;You need to read the DPAA2UM reference manual, the answer is in it&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 05:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Modify-mcmemsize-to-increase-RAM-size-based-on-LX2160-and-Ls2080/m-p/1585193#M11725</guid>
      <dc:creator>kenli</dc:creator>
      <dc:date>2023-01-19T05:04:01Z</dc:date>
    </item>
  </channel>
</rss>

