<?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: IMX6 Q Build Android - Empty device/fsl directory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280931#M32286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have same issue when I first build up develop environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, the reason was caused by incorrect branch status in Android source codes.&lt;/P&gt;&lt;P&gt;After switch branch into "android-4.2.2_r1", the patch should working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 07:26:06 GMT</pubDate>
    <dc:creator>rickchu</dc:creator>
    <dc:date>2013-10-16T07:26:06Z</dc:date>
    <item>
      <title>IMX6 Q Build Android - Empty device/fsl directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280930#M32285</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 t&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;he Android JB4.2.2_1.1.0-GA release for IMX6Q SABRE AI, following instructions in android_jb4.2.2_1.1.0-ga_doc.tar.gz/Android_User_Guide.pdf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have patched the Android source and gotten the "Success: Now you can build the Android code for FSL i.MX platform " message. However, when I try to build the image, none of the fsl options came up on the lunch menu.&lt;/P&gt;&lt;PRE&gt;~/droid4darren$ source build/envsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toroplus/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash

~/droid4darren$ lunch

You're building on Linux

Lunch menu... pick a combo:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. full-eng
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. full_x86-eng
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. vbox_x86-eng
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. full_mips-eng
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. full_grouper-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. full_tilapia-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. mini_armv7a_neon-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8. mini_armv7a-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9. mini_mips-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10. mini_x86-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11. full_mako-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12. full_maguro-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13. full_manta-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14. full_toroplus-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15. full_toro-userdebug
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16. full_panda-userdebug

Which would you like? [full-eng]

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out the entire device/fsl directory is empty:&lt;/P&gt;&lt;PRE&gt;~/droid4darren/device/fsl$ ls -l -a
total 12
drwxrwxr-x&amp;nbsp; 3 hmi hmi 4096 Oct 16 01:04 .
drwxrwxr-x 12 hmi hmi 4096 Oct 16 01:04 ..
-rw-rw-r--&amp;nbsp; 1 hmi hmi&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 Oct 16 01:04 .dummy
drwxrwxr-x&amp;nbsp; 8 hmi hmi 4096 Oct 16 01:06 .git
&lt;/PRE&gt;&lt;P&gt;So is the fsl-proprietary folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing? I must have overlooked something but I have no idea what that might be. Any help would be appreciated. Thank you!&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, 16 Oct 2013 05:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280930#M32285</guid>
      <dc:creator>rickeywang</dc:creator>
      <dc:date>2013-10-16T05:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Q Build Android - Empty device/fsl directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280931#M32286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have same issue when I first build up develop environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, the reason was caused by incorrect branch status in Android source codes.&lt;/P&gt;&lt;P&gt;After switch branch into "android-4.2.2_r1", the patch should working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 07:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280931#M32286</guid>
      <dc:creator>rickchu</dc:creator>
      <dc:date>2013-10-16T07:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Q Build Android - Empty device/fsl directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280932#M32287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;By switch branch, you mean "repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://android.googlesource.com/platform/manifest"&gt;https://android.googlesource.com/platform/manifest&lt;/A&gt;&lt;SPAN&gt; -b android-4.2.2_r1", right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I deleted everything and started over again, and made sure that the branch is "android-4.2.2_r1". Patching also appeared to be successful... but device/fsl is still empty.. I feel like it's something i should download from a freescale git of sorts but couldn't find these files anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried manually copying device/fsl files from &lt;A class="loading" href="https://github.com/onyx-intl/platform_device"&gt;https://github.com/onyx-intl/platform_device&lt;/A&gt;, but just end up with this error instead =(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;build/core/config.mk:157: *** TARGET_ARCH not defined by board config: device/fsl/sabreauto_6q/BoardConfig.mk.&amp;nbsp; Stop.&lt;/P&gt;&lt;P&gt;** Don't have a product spec for: 'sabreauto_6q'&lt;/P&gt;&lt;P&gt;** Do you have the right repo manifest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 01:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280932#M32287</guid>
      <dc:creator>rickeywang</dc:creator>
      <dc:date>2013-10-17T01:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Q Build Android - Empty device/fsl directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280933#M32288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My steps are list on below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# I download the latest Android source codes without assign branch&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://android.googlesource.com/platform/manifest"&gt;https://android.googlesource.com/platform/manifest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;$ repo sync&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# switch branch to android-4.2.2_r1&lt;/P&gt;&lt;P&gt;$ cd ~/WORKING_DIRECTORY&lt;/P&gt;&lt;P&gt;$ repo init -b android-4.2.2_r1&lt;/P&gt;&lt;P&gt;$ ./.repo/repo/repo sync --local-only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then applying i.MX6 patch process. This works fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 03:02:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280933#M32288</guid>
      <dc:creator>rickchu</dc:creator>
      <dc:date>2013-10-17T03:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Q Build Android - Empty device/fsl directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280934#M32289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rick for your help! My branch was already correctly checked-out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out I didn't make all of the files in &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; /opt/android_jb4.2.2_1.1.0-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ga_source/ executable, so some of the patches were actually not being applied at all! Despite this, the script still tells you "Success: Now you can build the Android code for FSL i.MX platform" when it completes, which in my case is an outrageous lie. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;To Freescale: please update the Android User Guide to remind people that the files in &lt;SPAN style="font-size: 10pt;"&gt; /opt/android_jb4.2.2_1.1.0-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ga_source/ needs to be executable...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 03:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Q-Build-Android-Empty-device-fsl-directory/m-p/280934#M32289</guid>
      <dc:creator>rickeywang</dc:creator>
      <dc:date>2013-10-18T03:01:50Z</dc:date>
    </item>
  </channel>
</rss>

