<?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のトピックHow to make up more free memory in Android?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185273#M8580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would&amp;nbsp;like&amp;nbsp;to reserve more free&amp;nbsp;RAM space for running applications. My idea is to make the kernel and Android code size smaller by removing&amp;nbsp;un-desired features and drivers. For kernel, I can use "make menuconfig" to configure it.&amp;nbsp;For Android,&amp;nbsp;does it offer any configure options?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My another question is&amp;nbsp;in&amp;nbsp;kernel,&amp;nbsp;devices&amp;nbsp;"pmem_adsp" and "pmem_gpu"&amp;nbsp;are created&amp;nbsp;for the Android. How to determine the required&amp;nbsp;size to these pmem devices? Can I make these size smaller?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My&amp;nbsp;BSP release is i.MX50 R10.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 07:20:50 GMT</pubDate>
    <dc:creator>PeterChan</dc:creator>
    <dc:date>2012-09-04T07:20:50Z</dc:date>
    <item>
      <title>How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185273#M8580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would&amp;nbsp;like&amp;nbsp;to reserve more free&amp;nbsp;RAM space for running applications. My idea is to make the kernel and Android code size smaller by removing&amp;nbsp;un-desired features and drivers. For kernel, I can use "make menuconfig" to configure it.&amp;nbsp;For Android,&amp;nbsp;does it offer any configure options?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My another question is&amp;nbsp;in&amp;nbsp;kernel,&amp;nbsp;devices&amp;nbsp;"pmem_adsp" and "pmem_gpu"&amp;nbsp;are created&amp;nbsp;for the Android. How to determine the required&amp;nbsp;size to these pmem devices? Can I make these size smaller?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My&amp;nbsp;BSP release is i.MX50 R10.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 07:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185273#M8580</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2012-09-04T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185274#M8581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be in loop.&lt;/P&gt;&lt;P&gt;We, can remove some unwanted modules from Kernel is all I know. Vanilla Kernel is an example for that.&lt;/P&gt;&lt;P&gt;Would like to know, if there's any such, for android.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185274#M8581</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2012-09-04T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185275#M8582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, all:&lt;/P&gt;&lt;P&gt;Suggest that you can work out one memory layout according to your feature lists.&lt;/P&gt;&lt;P&gt;We have put one memory optimization example for MX53 under&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-93334"&gt;https://community.freescale.com/docs/DOC-93334&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 05:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185275#M8582</guid>
      <dc:creator>lily_zhang</dc:creator>
      <dc:date>2012-09-12T05:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185276#M8583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can customize the file ./imx50_rdp/required_hardware.xml to remove those feature you dont need in android framework.&lt;/P&gt;&lt;P&gt;And remove those service/daemon you dont need in init.rc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"pmem_adsp": is use as a physical-continuous buffer allocator for hardware video decoder and encoder. Since there is no vpu in mx50, you can remove the pmem_adsp in kernel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"pmem_gpu": is use as the physical-continuous buffer allocator for the android hal Gralloc. Android framework use the allocator to allocate the buffer for UI surface. It is highly dependents on your device display's resolution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;The size&amp;nbsp; &amp;gt;= 5* display_w × display_h *sizeof(RGBA8888) * 2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 10:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185276#M8583</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2012-09-12T10:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185277#M8584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guoyin, Xiaoli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About pmem_gpu, it seem that your formula is not consistent.&lt;/P&gt;&lt;P&gt;Maybe 5 layers is the maximum layers in practical, and 31 is theoretical maximum, is it?&lt;/P&gt;&lt;P&gt;which one you recommend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 01:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185277#M8584</guid>
      <dc:creator>wenpengqiu</dc:creator>
      <dc:date>2012-09-13T01:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185278#M8585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right about the max layers Andorid framework may have. But in practice,&amp;nbsp; we never see the user case you have more than 5. And considering not all the layer has the same size of display resolution and the memory fragment in the pmem_gpu, you may need to set the layers number be greater than 5. A safety number can be 8~10, i guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 01:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185278#M8585</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2012-09-13T01:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185279#M8586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiaoli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our environment:&lt;/P&gt;&lt;P&gt;800*480 display resolution, &lt;/P&gt;&lt;P&gt;Support 720P&lt;/P&gt;&lt;P&gt;Not support dual display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About vpu pmem, your formula: 1920*1080*1.5*19=56M, according to our project: 1280*720*1.5*19=26265600.&lt;/P&gt;&lt;P&gt;So, is 32M enough?&amp;nbsp; does mem fragment influence it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 02:22:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185279#M8586</guid>
      <dc:creator>wenpengqiu</dc:creator>
      <dc:date>2012-09-13T02:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185280#M8587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;32M is enough for your 720P video playback. And if your user case doest not include multiple instance of video playback. 32M is enough for your device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 02:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185280#M8587</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2012-09-13T02:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up more free memory in Android?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185281#M8588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's really helpful&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 03:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-up-more-free-memory-in-Android/m-p/185281#M8588</guid>
      <dc:creator>wenpengqiu</dc:creator>
      <dc:date>2012-09-13T03:17:37Z</dc:date>
    </item>
  </channel>
</rss>

