<?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 Configure RAM capacity in u-boot for iMX8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configure-RAM-capacity-in-u-boot-for-iMX8MP/m-p/1769401#M216909</link>
    <description>&lt;P&gt;In the file:&amp;nbsp;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/7376547b9e424b2d0f42dfe96394168c781ca297/include/configs/imx8mp_evk.h#L4" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx/blob/7376547b9e424b2d0f42dfe96394168c781ca297/include/configs/imx8mp_evk.h#L4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;has the following code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* Totally 6GB DDR */
#define CONFIG_SYS_SDRAM_BASE		0x40000000
#define PHYS_SDRAM			0x40000000
#define PHYS_SDRAM_SIZE			0xC0000000	/* 3 GB */
#define PHYS_SDRAM_2			0x100000000
#ifdef CONFIG_TARGET_IMX8MP_DDR4_EVK
#define PHYS_SDRAM_2_SIZE		0x40000000	/* 1 GB */
#else
#define PHYS_SDRAM_2_SIZE		0xC0000000	/* 3 GB */
#endif&lt;/LI-CODE&gt;&lt;P&gt;Because I changed the RAM capacity from 6GB (according to Kit iMX8MP-evk) to 4GB. so I need to understand the meaning of this code to change it. Please explain to me. Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 02:40:43 GMT</pubDate>
    <dc:creator>trongthinh</dc:creator>
    <dc:date>2023-12-06T02:40:43Z</dc:date>
    <item>
      <title>Configure RAM capacity in u-boot for iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-RAM-capacity-in-u-boot-for-iMX8MP/m-p/1769401#M216909</link>
      <description>&lt;P&gt;In the file:&amp;nbsp;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/7376547b9e424b2d0f42dfe96394168c781ca297/include/configs/imx8mp_evk.h#L4" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx/blob/7376547b9e424b2d0f42dfe96394168c781ca297/include/configs/imx8mp_evk.h#L4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;has the following code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* Totally 6GB DDR */
#define CONFIG_SYS_SDRAM_BASE		0x40000000
#define PHYS_SDRAM			0x40000000
#define PHYS_SDRAM_SIZE			0xC0000000	/* 3 GB */
#define PHYS_SDRAM_2			0x100000000
#ifdef CONFIG_TARGET_IMX8MP_DDR4_EVK
#define PHYS_SDRAM_2_SIZE		0x40000000	/* 1 GB */
#else
#define PHYS_SDRAM_2_SIZE		0xC0000000	/* 3 GB */
#endif&lt;/LI-CODE&gt;&lt;P&gt;Because I changed the RAM capacity from 6GB (according to Kit iMX8MP-evk) to 4GB. so I need to understand the meaning of this code to change it. Please explain to me. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 02:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-RAM-capacity-in-u-boot-for-iMX8MP/m-p/1769401#M216909</guid>
      <dc:creator>trongthinh</dc:creator>
      <dc:date>2023-12-06T02:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Configure RAM capacity in u-boot for iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-RAM-capacity-in-u-boot-for-iMX8MP/m-p/1773206#M217225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/127216"&gt;@trongthinh&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/* Totally 6GB DDR */
#define CONFIG_SYS_SDRAM_BASE		0x40000000   //This refers to the base where the memory starts. 
#define PHYS_SDRAM			0x40000000   //This refers to the starting point too.
#define PHYS_SDRAM_SIZE			0xC0000000	/* 3 GB */  //This value is the size that you will need for your first die on your memory. In this case 3GB.
#define PHYS_SDRAM_2			0x100000000 //This refers to the starting point too.
#ifdef CONFIG_TARGET_IMX8MP_DDR4_EVK
#define PHYS_SDRAM_2_SIZE		0x40000000	/* 1 GB */ //This is a configuration for 1GB size
#else
#define PHYS_SDRAM_2_SIZE		0xC0000000	/* 3 GB */ //This is a configuration for 3GB size
#endif
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;You will need to configure this code based on your memory datasheet.&lt;/P&gt;
&lt;P&gt;I hope this information will be helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-RAM-capacity-in-u-boot-for-iMX8MP/m-p/1773206#M217225</guid>
      <dc:creator>brian14</dc:creator>
      <dc:date>2023-12-12T14:55:37Z</dc:date>
    </item>
  </channel>
</rss>

