<?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: Using WITH_DEXPREOPT in imx6 Android Lollipop build in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430804#M65532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you check whether it helps by enlarge settingBOARD_SYSTEMIMAGE_PARTITION_SIZE? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myandroid//device/fsl&lt;/P&gt;&lt;P&gt;./imx6/BoardConfigCommon.mk:63:BOARD_SYSTEMIMAGE_PARTITION_SIZE := 377487360&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 09:51:39 GMT</pubDate>
    <dc:creator>chenguoyin</dc:creator>
    <dc:date>2015-08-06T09:51:39Z</dc:date>
    <item>
      <title>Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430802#M65530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build the Android Lollipop images for Freescale imx6 sabre-sd board. The build gets successfully completed as mentioned in the Freescale documentation.&lt;/P&gt;&lt;P&gt;Now, I want to compile the user build with "make WITH_DEXPREOPT=true" so as to enable pre-optimization of system apps. Enabling this option builds the odex/oat files in /system/app folder , rather than the using the /data/dalvik-cache on first boot.&lt;/P&gt;&lt;P&gt;However, I am getting build errors after enabling the WITH_DEXPREOPT option.&lt;/P&gt;&lt;P&gt;The build gets completed successfully for a Lollipop Nexus device with the same option enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is a snippet of the error logs on imx6 sabresd board:&lt;/P&gt;&lt;P&gt;===============================================================================&lt;/P&gt;&lt;P&gt;Copy: out/target/product/sabresd_6dq/root/fstab.freescale&lt;/P&gt;&lt;P&gt;dex2oatd I&amp;nbsp; 9111&amp;nbsp; 9111 art/dex2oat/dex2oat.cc:1239] out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --boot-image=out/target/product/sabresd_6dq/dex_bootjars/system/framework/boot.art --dex-file=out/target/product/sabresd_6dq/obj/APPS/A2dpSinkApp_intermediates/arm/package.odex.input --dex-location=/system/app/A2dpSinkApp/A2dpSinkApp.apk --oat-file=out/target/product/sabresd_6dq/obj/APPS/A2dpSinkApp_intermediates/arm/package.odex --android-root=out/target/product/sabresd_6dq/system --instruction-set=arm --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-include-debug-symbols&lt;/P&gt;&lt;P&gt;dex2oatd E&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/gc/heap.cc:421] 0x5742a778&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/gc/heap.cc:422] There's a gap between the image space and the main space&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] Runtime aborting...&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] (Aborting thread was not attached to runtime!)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #00 pc 00006a22&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+82)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #01 pc 00004141&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #02 pc 0036f699&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::DumpNativeStack(std::__1::basic_ostream&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, char const*, art::mirror::ArtMethod*)+121)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #03 pc 0033a9ad&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::AbortState::Dump(std::__1::basic_ostream&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;)+301)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #04 pc 0033a879&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::Dumpable&amp;lt;art::AbortState&amp;gt;::Dump(std::__1::basic_ostream&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;) const+41)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #05 pc 003394f8&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (std::__1::basic_ostream&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp; art::operator&amp;lt;&amp;lt;&amp;lt;art::AbortState&amp;gt;(std::__1::basic_ostream&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, art::Dumpable&amp;lt;art::AbortState&amp;gt; const&amp;amp;)+40)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #06 pc 003329e8&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::Runtime::Abort()+168)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #07 pc 000f6209&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::LogMessage::~LogMessage()+393)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #08 pc 001eb8bb&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, unsigned int, double, double, unsigned int, unsigned int, std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, unsigned int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long long)+5707)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #09 pc 00333202&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::Runtime::Init(std::__1::vector&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt;, std::__1::allocator&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, bool)+1298)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #10 pc 00332cbd&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/lib/libartd.so (art::Runtime::Create(std::__1::vector&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt;, std::__1::allocator&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, bool)+93)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #11 pc 0001ea1a&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/bin/dex2oatd (art::Dex2Oat::CreateRuntime(std::__1::vector&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt;, std::__1::allocator&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, art::InstructionSet)+42)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #12 pc 0001655f&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/bin/dex2oatd (art::Dex2Oat::Create(art::Dex2Oat**, std::__1::vector&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt;, std::__1::allocator&amp;lt;std::__1::pair&amp;lt;std::__1::basic_string&amp;lt;char, std::__1::char_traits&amp;lt;char&amp;gt;, std::__1::allocator&amp;lt;char&amp;gt; &amp;gt;, void const*&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, art::CompilerOptions const&amp;amp;, art::Compiler::Kind, art::InstructionSet, art::InstructionSetFeatures, art::VerificationResults*, art::DexFileToMethodInlinerMap*, unsigned int)+143)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #13 pc 00010290&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/bin/dex2oatd (art::dex2oat(int, char**)+11296)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #14 pc 0000d660&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/bin/dex2oatd (main+32)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #15 pc 000194d2&amp;nbsp; /lib/i386-linux-gnu/libc-2.15.so (__libc_start_main+242)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284]&amp;nbsp;&amp;nbsp; native: #16 pc 0000ccc0&amp;nbsp; /home/hscuser/Lollipop/out/host/linux-x86/bin/dex2oatd (???)&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] Dumping all threads without appropriate locks held: thread list lock mutator lock&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] All threads:&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] DALVIK THREADS (0):&lt;/P&gt;&lt;P&gt;dex2oatd F&amp;nbsp; 9111&amp;nbsp; 9111 art/runtime/runtime.cc:284] &lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/APPS/A2dpSinkApp_intermediates/arm/package.odex] Aborted (core dumped)&lt;/P&gt;&lt;P&gt;make: *** Deleting file `out/target/product/sabresd_6dq/obj/APPS/A2dpSinkApp_intermediates/arm/package.odex'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#### make failed to build some targets (02:24 (mm:ss)) ####&lt;/P&gt;&lt;P&gt;======================================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest on how we can enable the WITH_DEXPREOPT option in Freescale imx sabresd board Lollipop release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:02:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430802#M65530</guid>
      <dc:creator>deepikaag</dc:creator>
      <dc:date>2015-07-22T07:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430803#M65531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can someone from the Freescale IMX community please reply on this query.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 11:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430803#M65531</guid>
      <dc:creator>deepikaag</dc:creator>
      <dc:date>2015-08-04T11:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430804#M65532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you check whether it helps by enlarge settingBOARD_SYSTEMIMAGE_PARTITION_SIZE? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myandroid//device/fsl&lt;/P&gt;&lt;P&gt;./imx6/BoardConfigCommon.mk:63:BOARD_SYSTEMIMAGE_PARTITION_SIZE := 377487360&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 09:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430804#M65532</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2015-08-06T09:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430805#M65533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepika, can you let us know if you were able to make it work with Guoyin's recommendations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430805#M65533</guid>
      <dc:creator>SergioSolis</dc:creator>
      <dc:date>2015-08-13T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430806#M65534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@sergiosolis&lt;/P&gt;&lt;P&gt;It didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 09:44:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430806#M65534</guid>
      <dc:creator>deepikaag</dc:creator>
      <dc:date>2015-08-14T09:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430807#M65535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue, but don't think I need DEX_PREOPT.&amp;nbsp; While looking into this, I haven't found a complete fix other than to disable it.&amp;nbsp; But I did find that you can disable DEX_PREOPT for selected modules.&amp;nbsp; Maybe this helps someone.&amp;nbsp; Reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.android.com/devices/tech/dalvik/configure.html" title="https://source.android.com/devices/tech/dalvik/configure.html"&gt;Configuring ART | Android Open Source Project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example in device.mk&lt;/P&gt;&lt;P&gt; &lt;CODE&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;call add&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;product&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;dex&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;preopt&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #000088;"&gt;module&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;config&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #660066;"&gt;Calculator&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;disable&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 18:02:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430807#M65535</guid>
      <dc:creator>jeffkrupp</dc:creator>
      <dc:date>2015-09-11T18:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430808#M65536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guoyin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The suggested option to increase the BOARD_SYSTEMIMAGE_PARTITION_SIZE didn't work.&lt;/P&gt;&lt;P&gt;Also, if I checkout the original android-5.0.2_r1 src code for build.git (to discard the freescale changes), boot.img is not getting compiled.&lt;/P&gt;&lt;P&gt;I request you to please take a look and provide a viable alternative.&lt;/P&gt;&lt;P&gt;It has been a long time and the query is not answered appropriately on the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 08:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430808#M65536</guid>
      <dc:creator>deepikaag</dc:creator>
      <dc:date>2015-09-21T08:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430809#M65537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Deepika,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am facing the same issue , If u resolved above problem please share me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kishore P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 05:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430809#M65537</guid>
      <dc:creator>kishorepoojari</dc:creator>
      <dc:date>2015-12-01T05:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430810#M65538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try below patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;build.git&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk&lt;/P&gt;&lt;P&gt;index f8589ba..cfbf221 100644&lt;/P&gt;&lt;P&gt;--- a/core/dex_preopt_libart.mk&lt;/P&gt;&lt;P&gt;+++ b/core/dex_preopt_libart.mk&lt;/P&gt;&lt;P&gt;@@ -26,7 +26,7 @@ COMPILED_CLASSES := $(call word-colon,1,$(firstword \&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; # start of image reserved address space&lt;/P&gt;&lt;P&gt; LIBART_IMG_HOST_BASE_ADDRESS&amp;nbsp;&amp;nbsp; := 0x60000000&lt;/P&gt;&lt;P&gt;-LIBART_IMG_TARGET_BASE_ADDRESS := 0x50000000&lt;/P&gt;&lt;P&gt;+LIBART_IMG_TARGET_BASE_ADDRESS := 0x70000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;device/fsl.git&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;diff --git a/imx6/BoardConfigCommon.mk b/imx6/BoardConfigCommon.mk&lt;/P&gt;&lt;P&gt;index 835a4dc..3d0a900 100644&lt;/P&gt;&lt;P&gt;--- a/imx6/BoardConfigCommon.mk&lt;/P&gt;&lt;P&gt;+++ b/imx6/BoardConfigCommon.mk&lt;/P&gt;&lt;P&gt;@@ -60,7 +60,7 @@ ARCH_ARM_USE_NON_NEON_MEMCPY := true&lt;/P&gt;&lt;P&gt; BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216&lt;/P&gt;&lt;P&gt; BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 377487360&lt;/P&gt;&lt;P&gt;+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 471859200&lt;/P&gt;&lt;P&gt; BOARD_FLASH_BLOCK_SIZE := 4096&lt;/P&gt;&lt;P&gt; TARGET_RECOVERY_UI_LIB := librecovery_ui_imx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 05:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430810#M65538</guid>
      <dc:creator>sanshanzhang</dc:creator>
      <dc:date>2015-12-08T05:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430811#M65539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your patch but the problem still persist. Any further suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;mmj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 03:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430811#M65539</guid>
      <dc:creator>mmj</dc:creator>
      <dc:date>2016-01-07T03:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430812#M65540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's still the same with last android 5.1.1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have solved this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 07:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430812#M65540</guid>
      <dc:creator>bordeaujean-pas</dc:creator>
      <dc:date>2016-02-11T07:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using WITH_DEXPREOPT in imx6 Android Lollipop build</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430813#M65541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can successfully compile Android 5.1.1 with WITH_DEXPREOPT define by following changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. build/core/dex_preopt_libart.mk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # start of image reserved address space&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIBART_IMG_HOST_BASE_ADDRESS&amp;nbsp;&amp;nbsp; := 0x60000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -LIBART_IMG_TARGET_BASE_ADDRESS := 0x50000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +LIBART_IMG_TARGET_BASE_ADDRESS := 0x70000000&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;2. device/fsl/sabresd_6dq/BoardConfig.mk&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCT_MODEL := SABRESD-MX6DQ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; +WITH_DEXPREOPT := true&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TARGET_RELEASETOOLS_EXTENSIONS := device/fsl/imx6&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;3. &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;device/fsl/imx6/BoardConfigCommon.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 377487360&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 524288000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Since there is no any virtual memory conflict, I wanna know if we can rollback this patch.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Otherwise, could anyone tell us when or how the virtual memory conflict would happen if the WITH_DEXPREOPT is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Jerry&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-WITH-DEXPREOPT-in-imx6-Android-Lollipop-build/m-p/430813#M65541</guid>
      <dc:creator>jerryliao</dc:creator>
      <dc:date>2016-03-08T01:57:05Z</dc:date>
    </item>
  </channel>
</rss>

