<?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のトピックChange user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155787#M2201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In R10.3.2, user/kernel memory split is set to 3G/1G, CONFIG_PAGE_OFFSET is 0xC0000000.&lt;/P&gt;&lt;P&gt;In MX53 SMD board, the 1GB DDR physical address allocation are 0x70000000 ~ 0x90000000(512MB), 0xB0000000 ~ 0xD0000000(512MB).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If enable 1GB ddr in u-boot, in Linux kernel, when convert physical address to virtual address,&amp;nbsp;ddr bank in 0x70000000 ~ 0x90000000 is mapped to lowmem, ddr bank in 0xB0000000 ~ 0xD0000000 is mapped to highmem.&lt;/P&gt;&lt;P&gt;Some customer report if highmem is no zero, android lowmemorykiller cannot be triggered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If change user/kernel memory split to 2G/2G, as the setting in R10.3.1, CONFIG_PAGE_OFFSET is 0x80000000, both ddr banks are mapped to lowmem. Highmem is zero. android lowmemorykiller can work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following are the steps about how to change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In kernel menuconfig, Kernel Features&amp;nbsp; ---&amp;gt; Memory split ---&amp;gt; 2G/2G user/kernel split.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In myandroid, modify device/fsl/imx5x/BoardConfigCommon.mk, change TARGET_KERNEL_2G := true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build android rootfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Rebuild GPU lib for 2G/2G mapping.&amp;nbsp;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="286622" data-objecttype="2" href="https://community.nxp.com/servlet/JiveServlet/download/2004-286458-286622-167451/39-gpulibs2gmapping.zip"&gt;gpulibs-2g-mapping.zip&lt;/A&gt; is the gpu lib which build from commit 3ba28cc279539f8a9af26cce62a7aff7f081833f in amd-gpu main branch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy libEGL_imx51.so, libGLESv1_CM_imx51.so, libGLESv2_imx51.so and libOpenVG.so in gpulibs-2g-mapping.zip to system/lib/egl/.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy others to system/lib/.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337117"&gt;39-gpulibs2gmapping.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 09:08:53 GMT</pubDate>
    <dc:creator>shaojun_wang</dc:creator>
    <dc:date>2012-04-25T09:08:53Z</dc:date>
    <item>
      <title>Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155787#M2201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In R10.3.2, user/kernel memory split is set to 3G/1G, CONFIG_PAGE_OFFSET is 0xC0000000.&lt;/P&gt;&lt;P&gt;In MX53 SMD board, the 1GB DDR physical address allocation are 0x70000000 ~ 0x90000000(512MB), 0xB0000000 ~ 0xD0000000(512MB).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If enable 1GB ddr in u-boot, in Linux kernel, when convert physical address to virtual address,&amp;nbsp;ddr bank in 0x70000000 ~ 0x90000000 is mapped to lowmem, ddr bank in 0xB0000000 ~ 0xD0000000 is mapped to highmem.&lt;/P&gt;&lt;P&gt;Some customer report if highmem is no zero, android lowmemorykiller cannot be triggered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If change user/kernel memory split to 2G/2G, as the setting in R10.3.1, CONFIG_PAGE_OFFSET is 0x80000000, both ddr banks are mapped to lowmem. Highmem is zero. android lowmemorykiller can work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following are the steps about how to change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In kernel menuconfig, Kernel Features&amp;nbsp; ---&amp;gt; Memory split ---&amp;gt; 2G/2G user/kernel split.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In myandroid, modify device/fsl/imx5x/BoardConfigCommon.mk, change TARGET_KERNEL_2G := true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build android rootfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Rebuild GPU lib for 2G/2G mapping.&amp;nbsp;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="286622" data-objecttype="2" href="https://community.nxp.com/servlet/JiveServlet/download/2004-286458-286622-167451/39-gpulibs2gmapping.zip"&gt;gpulibs-2g-mapping.zip&lt;/A&gt; is the gpu lib which build from commit 3ba28cc279539f8a9af26cce62a7aff7f081833f in amd-gpu main branch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy libEGL_imx51.so, libGLESv1_CM_imx51.so, libGLESv2_imx51.so and libOpenVG.so in gpulibs-2g-mapping.zip to system/lib/egl/.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy others to system/lib/.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337117"&gt;39-gpulibs2gmapping.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155787#M2201</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2012-04-25T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155788#M2202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our project have been updated to R10.3.2, and want change 3G/1G to 2G/2G, but I wonder whether your attached libs are newer and stable than fsl commit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fsl commit:&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;commit 0acaa36c2d3d541cccfc6354574a5622e0da103f&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Author: Xinyu Chen &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xinyu.chen@freescale.com"&gt;xinyu.chen@freescale.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date:&amp;nbsp;&amp;nbsp; Mon Oct 31 15:24:47 2011 +0800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENGR00160722 amd gpu: use memory pool for cached vbo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source git: amd-gpu.git&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source base: afe33b813e0a33b672b8c346c4042842ec4b3c12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The benifits for most benchmarks and games&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Reduce memory waste due to page align in gpu driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Combine more memory requests to reduce memory fragment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signed-off-by: xianzhong &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:b07117@freescale.com"&gt;b07117@freescale.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 03:14:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155788#M2202</guid>
      <dc:creator>zhoushulin</dc:creator>
      <dc:date>2012-09-11T03:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155789#M2203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gpulibs-2g-mapping.zip is the gpu lib which build from commit 3ba28cc279539f8a9af26cce62a7aff7f081833f, it's commit in "Mon Mar 26 14:10:43 2012 +0800", newer than afe33b813e0a33b672b8c346c4042842ec4b3c12.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 03:31:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155789#M2203</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2012-09-11T03:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155790#M2204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks your answer, I still have several issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Whether gpulibs-2g-mapping.zip is fsl internal version? (I guess you from fsl)&lt;/P&gt;&lt;P&gt;2. How to get the 2G/2G version for commit 0acaa36c2d3d541cccfc6354574a5622e0da103f ? because this commit is fsl official version.&lt;/P&gt;&lt;P&gt;3. Can we download the gpu lib from amd-gpu git and compile them as 2G/2G prelinked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 05:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155790#M2204</guid>
      <dc:creator>zhoushulin</dc:creator>
      <dc:date>2012-09-11T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155791#M2205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gpulibs-2g-mapping.zip is built from commit 3ba28cc279539f8a9af26cce62a7aff7f081833f in main branch.&lt;/P&gt;&lt;P&gt;You have no permission to download gpu lib source code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 05:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155791#M2205</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2012-09-11T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155792#M2206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This patch worked&lt;/P&gt;&lt;P&gt;But gpu lib version is different from fsl r10.3.2 gpu lib's, would you help upload 2G/2G gpu libs which have same version with r10.3.2, &lt;/P&gt;&lt;P&gt;it is important for us, otherwise it is reasonable for fsl FAE not support us if we use different gpu lib version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering why not left gpu lib without prelink, and prelink them while build process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 02:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155792#M2206</guid>
      <dc:creator>wenpengqiu</dc:creator>
      <dc:date>2012-09-12T02:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change user/kernel memory split from 3G/1G to 2G/2G in Android R10.3.2 -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155793#M2207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting post. Do you have similar steps for ICS/i.MX6? Can you please explain the remapping from GPU libs for 2G/2G model and if the GPU libs from i.MX6 are more flexible or need rebuild as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 12:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-user-kernel-memory-split-from-3G-1G-to-2G-2G-in-Android/m-p/155793#M2207</guid>
      <dc:creator>AdrianGancev</dc:creator>
      <dc:date>2012-10-31T12:00:10Z</dc:date>
    </item>
  </channel>
</rss>

