<?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: iMX8 Android9 fails to build a new target in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910843#M137241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JimmyChan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same error than you here is the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) go to your aosp_folder/hardware/qcom/bt/msm8992/libbt-vendor/include&lt;/P&gt;&lt;P&gt;2) copy vnd_evk_8mm.tx and rename it vnd_evk_my_8mm.txt&lt;/P&gt;&lt;P&gt;3) recompile and enjoy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 19:39:57 GMT</pubDate>
    <dc:creator>taivuong</dc:creator>
    <dc:date>2019-09-16T19:39:57Z</dc:date>
    <item>
      <title>iMX8 Android9 fails to build a new target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910839#M137237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all, I've succesflully build the imx-p9.0.0_1.1.0-ga for evk_8mm demo board: now I will want to build a new target.&lt;/P&gt;&lt;P&gt;I've started coping&amp;nbsp; the android_build\device\fsl\imx8m\evk_8mm into android_build\device\fsl\imx8m\my_8mm and&lt;/P&gt;&lt;P&gt;changed&amp;nbsp; vendorsetup.sh,AndroidProducts.mk and just only the out directory reference in makefile (my_8mm.mk)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;builds fails with this messages:&lt;/P&gt;&lt;P&gt;hardware/qcom/bt/msm8992/libbt-vendor/src/hci_uart.c:215:65: error: use of undeclared identifier 'BT_HS_UART_DEVICE'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", BT_HS_UART_DEVICE);&lt;BR /&gt;hardware/qcom/bt/msm8992/libbt-vendor/src/hci_uart.c:376:71: error: use of undeclared identifier 'BT_HS_UART_DEVICE'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALOGE( "%s: uart port(%s) has not been opened", __FUNCTION__, BT_HS_UART_DEVICE )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable the Qualcomm BT&lt;/P&gt;&lt;P&gt;BOARD_HAVE_BLUETOOTH_QCOM := true&amp;nbsp;&amp;nbsp; ===&amp;gt;&amp;nbsp; BOARD_HAVE_BLUETOOTH_QCOM := false&lt;/P&gt;&lt;P&gt;compilation will be completed, Androis starts&amp;nbsp; but BTdon't works.&lt;/P&gt;&lt;P&gt;I've not found any differenve between evk_8mm and my_8mm target: anyway compilation fails&lt;/P&gt;&lt;P&gt;if BOARD_HAVE_BLUETOOTH_QCOM is true... any suggestion on how to fix this problem?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;M. Sangalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910839#M137237</guid>
      <dc:creator>mariosan</dc:creator>
      <dc:date>2019-09-11T09:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8 Android9 fails to build a new target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910840#M137238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, the error is the "BT_HS_UART_DEVICE" did not define. Have you try to define it in a header file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 08:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910840#M137238</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2019-09-12T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8 Android9 fails to build a new target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910841#M137239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Jimmychan:&lt;/P&gt;&lt;P&gt;No, I've not defined it, because my target is the *clone* of the original imx8mm_evk, just changed the out&lt;/P&gt;&lt;P&gt;directory in makefile, so I've assumed the the build process will&amp;nbsp; redo same results of original one,&lt;/P&gt;&lt;P&gt;(in which i've not found where such label is defined).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That what I've do:&lt;/P&gt;&lt;P&gt;1. copy android_build\device\fsl\imx8m\evk_8mm-&amp;gt; android_build\device\fsl\imx8m\my_8mm&lt;/P&gt;&lt;P&gt;2. add these lines in vendorsetup.sh:&lt;/P&gt;&lt;P&gt;add_lunch_combo my_8mm-eng&lt;BR /&gt;add_lunch_combo my_8mm-userdebug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. And add this line in AndroidProducts.mk&lt;/P&gt;&lt;P&gt;PRODUCT_MAKEFILES := \&lt;BR /&gt;&amp;nbsp; $(LOCAL_DIR)/my_8mm/my_8mm.mk &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. renamed evk_8mm.mk to my_8mm.mk and changed these lines:&lt;/P&gt;&lt;P&gt;IMX_DEVICE_PATH := device/fsl/imx8m/my_8mm&lt;/P&gt;&lt;P&gt;PRODUCT_NAME := my_8mm&lt;BR /&gt;PRODUCT_DEVICE := my_8mm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Modified BoardConfig.mk:&lt;/P&gt;&lt;P&gt;IMX_DEVICE_PATH := device/fsl/imx8m/my_8mm&lt;/P&gt;&lt;P&gt;TARGET_BOOTLOADER_BOARD_NAME := MY&lt;BR /&gt;PRODUCT_MODEL := MY_8MM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. run build as documented using my_8mm-eng as target....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the line&amp;nbsp; in BoardConfig.mk that cause trouble:&lt;/P&gt;&lt;P&gt;BOARD_HAVE_BLUETOOTH_QCOM := true&lt;/P&gt;&lt;P&gt;If I set&amp;nbsp; BOARD_HAVE_BLUETOOTH_QCOM := false, compilation is OK but&lt;/P&gt;&lt;P&gt;BT do not works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because build involves a huge numbers of configuration scripts , it is very difficult for me&lt;/P&gt;&lt;P&gt;to figure out where is the problem in creating a new target...&lt;/P&gt;&lt;P&gt;Any suggestion is wellcome&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;M. Sangalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 09:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910841#M137239</guid>
      <dc:creator>mariosan</dc:creator>
      <dc:date>2019-09-12T09:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8 Android9 fails to build a new target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910842#M137240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariosan"&gt;mariosan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow below link to add a new device in Android AOSP.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://source.android.com/setup/develop/new-device" title="https://source.android.com/setup/develop/new-device"&gt;Adding a New Device &amp;nbsp;|&amp;nbsp; Android Open Source Project&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 06:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910842#M137240</guid>
      <dc:creator>shivanipatel</dc:creator>
      <dc:date>2019-09-16T06:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8 Android9 fails to build a new target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910843#M137241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JimmyChan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same error than you here is the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) go to your aosp_folder/hardware/qcom/bt/msm8992/libbt-vendor/include&lt;/P&gt;&lt;P&gt;2) copy vnd_evk_8mm.tx and rename it vnd_evk_my_8mm.txt&lt;/P&gt;&lt;P&gt;3) recompile and enjoy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 19:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8-Android9-fails-to-build-a-new-target/m-p/910843#M137241</guid>
      <dc:creator>taivuong</dc:creator>
      <dc:date>2019-09-16T19:39:57Z</dc:date>
    </item>
  </channel>
</rss>

