<?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 Re: iMX8M Mini change RAM size in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595417#M201228</link>
    <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&lt;BR /&gt;The stresstest was done by our hardware department, but to be sure, I redid it just now. I checked the RPA-File, took the stresstestfile and downloaded it to the imx8mm, settings Target=MX8M-mini, Clock=Default, DDR=LPDDR4, Density=1GB. After the download, I did the calibration, generated the Array-Format code and run the stresstest, which then passed. The generated lpddr4_timing.c was then used to replace the one in use in the SPL, compiled the U-Boot, made the Image and flashed it to the board. It still shows DRAM: 2GiB.</description>
    <pubDate>Wed, 08 Feb 2023 08:56:56 GMT</pubDate>
    <dc:creator>dpog</dc:creator>
    <dc:date>2023-02-08T08:56:56Z</dc:date>
    <item>
      <title>iMX8M Mini change RAM size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1593044#M201011</link>
      <description>&lt;P&gt;I'm struggling with the DRAM-size in U-Boot. Our custom board solution uses a 1Gb LPDDR4 RAM, so I changed the PHYS_SDRAM_SIZE in imx8mm_evk.h to 0x4000 0000, the DDR is configured with the stress tool. But in the bootlog it still says DRAM: 2GiB.&lt;/P&gt;&lt;P&gt;With debug messages I traced the new set RAM size to dram_init_banksize in arch/arm/mach-imx/imx8m/soc.c.&lt;/P&gt;&lt;P&gt;The problem seems to be with optee, the rom_pointer[1] is set, although I removed it with&lt;/P&gt;&lt;P&gt;MACHINE_FEATURES_remove += "optee"&lt;BR /&gt;DISTRO_FEATURES_remove += "optee"&lt;BR /&gt;IMAGE_INSTALL_remove += "optee-test optee-os optee-client"&lt;/P&gt;&lt;P&gt;optee_start is at 0xbe00 000, which lies outside of my RAM-space (0x4000 000 0 - 0x8000 0000)&lt;/P&gt;&lt;P&gt;The banksize is defined by optee_start - PHYS_SDRAM, so because optee_start is outside of my space, the size is way to big.&lt;/P&gt;&lt;P&gt;Is there a way to remove optee, so the rom_pointer[1] won't be set, or otherwise to set optee_start to 0x3e00 0000? I tried to do so manually, but then the boot gets stuck at "Added memory mapping (5) : 40000000 3e000000"&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:59:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1593044#M201011</guid>
      <dc:creator>dpog</dc:creator>
      <dc:date>2023-02-03T09:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini change RAM size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595337#M201222</link>
      <description>&lt;P&gt;When you using the 1Gb LPDDR4, have you used the proper script configuration for it and pass the stress test for it?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 07:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595337#M201222</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2023-02-08T07:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini change RAM size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595417#M201228</link>
      <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&lt;BR /&gt;The stresstest was done by our hardware department, but to be sure, I redid it just now. I checked the RPA-File, took the stresstestfile and downloaded it to the imx8mm, settings Target=MX8M-mini, Clock=Default, DDR=LPDDR4, Density=1GB. After the download, I did the calibration, generated the Array-Format code and run the stresstest, which then passed. The generated lpddr4_timing.c was then used to replace the one in use in the SPL, compiled the U-Boot, made the Image and flashed it to the board. It still shows DRAM: 2GiB.</description>
      <pubDate>Wed, 08 Feb 2023 08:56:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595417#M201228</guid>
      <dc:creator>dpog</dc:creator>
      <dc:date>2023-02-08T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini change RAM size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595618#M201252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209968"&gt;@dpog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can change&amp;nbsp;BL32_BASE in ATF at&amp;nbsp;plat/imx/imx8m/imx8mm/platform.mk&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;TEE_LOAD_ADDR&amp;nbsp;at&amp;nbsp;/iMX8M/&lt;FONT face="arial, sans-serif"&gt;&amp;nbsp;soc.mak&lt;/FONT&gt;&amp;nbsp;in&amp;nbsp;imx-boot to&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;0x7e000000 &lt;/SPAN&gt;&lt;/STRONG&gt;for 1GB RAM&lt;/P&gt;&lt;P&gt;in,OP-TEE change&amp;nbsp;CFG_DDR_SIZE according to your dram size at plat-imx/conf.mk&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595618#M201252</guid>
      <dc:creator>xyz_</dc:creator>
      <dc:date>2023-02-08T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Mini change RAM size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595718#M201260</link>
      <description>Thank you! You're a real lifesaver, it worked!</description>
      <pubDate>Wed, 08 Feb 2023 15:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Mini-change-RAM-size/m-p/1595718#M201260</guid>
      <dc:creator>dpog</dc:creator>
      <dc:date>2023-02-08T15:42:43Z</dc:date>
    </item>
  </channel>
</rss>

