<?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 PCIe and GPU issues on iMX8MM when using 4GB RAM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1174662#M164197</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We're testing the NXP ANDROID Q10.0.0_2.3.0 release on our own board, which has an iMX8MM and 4GB of LPDDR4 memory, and we're observing both display and PCIe issues whenever we configure U-Boot to use all 4GB (using the imx8mm_evk_4g_android_defconfig).&lt;/P&gt;&lt;P&gt;The display issue happens after Android is initialized and consists of some parts of the display showing the expected content and other parts flickering with contents of old frames.&lt;/P&gt;&lt;P&gt;As for the PCIe, we have a WiFi module connected to it, and although the PCIe driver itself doesn't show any errors, the Wifi module driver fails during initialization.&lt;/P&gt;&lt;P&gt;Both problems only happen when 4G is enabled on U-boot, by setting the following lines in the file &lt;EM&gt;include/configs/imx8mm_evk_android.h&lt;/EM&gt;.&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; PHYS_SDRAM_2 &lt;/SPAN&gt;&lt;SPAN&gt;0x100000000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; PHYS_SDRAM_2_SIZE &lt;/SPAN&gt;&lt;SPAN&gt;0x40000000&lt;/SPAN&gt;&lt;SPAN&gt; /* 1GB */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;If we restrict to only 3GB of memory, none of the issues happen.&lt;/P&gt;&lt;P&gt;I read on the i.MX 8M Mini Reference Manual that only 3GB of RAM memory is available to all modules, and the rest can only be used by the&amp;nbsp;ARM Cores, so I wonder if there might be some memory allocation issue on the GPU and PCIe drivers.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 28 Oct 2020 17:11:09 GMT</pubDate>
    <dc:creator>rodrigo_travess</dc:creator>
    <dc:date>2020-10-28T17:11:09Z</dc:date>
    <item>
      <title>PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1174662#M164197</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We're testing the NXP ANDROID Q10.0.0_2.3.0 release on our own board, which has an iMX8MM and 4GB of LPDDR4 memory, and we're observing both display and PCIe issues whenever we configure U-Boot to use all 4GB (using the imx8mm_evk_4g_android_defconfig).&lt;/P&gt;&lt;P&gt;The display issue happens after Android is initialized and consists of some parts of the display showing the expected content and other parts flickering with contents of old frames.&lt;/P&gt;&lt;P&gt;As for the PCIe, we have a WiFi module connected to it, and although the PCIe driver itself doesn't show any errors, the Wifi module driver fails during initialization.&lt;/P&gt;&lt;P&gt;Both problems only happen when 4G is enabled on U-boot, by setting the following lines in the file &lt;EM&gt;include/configs/imx8mm_evk_android.h&lt;/EM&gt;.&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; PHYS_SDRAM_2 &lt;/SPAN&gt;&lt;SPAN&gt;0x100000000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; PHYS_SDRAM_2_SIZE &lt;/SPAN&gt;&lt;SPAN&gt;0x40000000&lt;/SPAN&gt;&lt;SPAN&gt; /* 1GB */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;If we restrict to only 3GB of memory, none of the issues happen.&lt;/P&gt;&lt;P&gt;I read on the i.MX 8M Mini Reference Manual that only 3GB of RAM memory is available to all modules, and the rest can only be used by the&amp;nbsp;ARM Cores, so I wonder if there might be some memory allocation issue on the GPU and PCIe drivers.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Oct 2020 17:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1174662#M164197</guid>
      <dc:creator>rodrigo_travess</dc:creator>
      <dc:date>2020-10-28T17:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1174887#M164201</link>
      <description>&lt;P&gt;Hi rodrigo_travess&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try attached patch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 00:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1174887#M164201</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-29T00:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1175275#M164253</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Igor,&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;Unfortunately, the suggested patch didn't solve either of the issues. Also, I should note that the patch was probably targeted on a much older kernel version, as our device tree didn't have a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;linux'cma&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;entry, and I added one myself to be consistent with the patch.&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;Any other suggestion we could try?&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;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rodrigo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1175275#M164253</guid>
      <dc:creator>rodrigo_travess</dc:creator>
      <dc:date>2020-10-29T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1175348#M164261</link>
      <description>&lt;P&gt;I also sent you patches via mail, had you tried them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1175348#M164261</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-29T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1177177#M164438</link>
      <description>&lt;P&gt;Hi Igor Padykov,&lt;BR /&gt;&lt;BR /&gt;Thank you for your support so far.&lt;BR /&gt;&lt;BR /&gt;I tried the patches you sent by email with no luck. The two issues are still there. The release we are using (android-10.0.0_2.3.0) already included most of the changes from the patches.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Rodrigo&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 09:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1177177#M164438</guid>
      <dc:creator>rodrigo_travess</dc:creator>
      <dc:date>2020-11-03T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe and GPU issues on iMX8MM when using 4GB RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1329631#M179098</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142695"&gt;@rodrigo_travess&lt;/a&gt;&amp;nbsp; Any solution to this? I am seeing similar issues with the flickering.&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-and-GPU-issues-on-iMX8MM-when-using-4GB-RAM/m-p/1329631#M179098</guid>
      <dc:creator>matt_frandsen</dc:creator>
      <dc:date>2021-08-25T17:06:08Z</dc:date>
    </item>
  </channel>
</rss>

