<?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 Build custom device tree in IMX8M Android 10 BSP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-custom-device-tree-in-IMX8M-Android-10-BSP/m-p/1038874#M153070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP support team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using imx8mm chip and try to build custom android uboot and&amp;nbsp;&lt;SPAN&gt;kernel image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I modify mk files under "device/fsl/" for my custom "lunch" and also add custom device tree and config in uboot and kernel.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After I do my custom "lunch" which is successful i can build android uboot and kernel image by below commands. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"./imx-make.sh bootloader -j4"&amp;nbsp; and&amp;nbsp;"./imx-make.sh&amp;nbsp;&lt;SPAN&gt;bootimage -j4"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;But when I try to build android device tree (dtbo.img) with command "./imx-make.sh&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;dtboimage&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-j4" it shows below error :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILED: ninja: unknown target 'dtboimage'&lt;BR /&gt;10:47:30 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or when i try to build&amp;nbsp;whole android image with command "&lt;SPAN&gt;./imx-make.sh&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-j4&lt;/SPAN&gt;" it shows below error which fail on building dtbo.img too :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILED: ninja: 'out/target/product/my_test/dtbo-imx8mm.img', needed by 'out/target/product/my_test/dtbo.img', missing and no known rule to make it&lt;BR /&gt;11:06:12 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can find my custom dtb is builded under "out/", but i can't build android device tree image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me where i need to modify in Anrdoid 10 BSP for building dtbo.img.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 03:15:56 GMT</pubDate>
    <dc:creator>jarvis_tsai</dc:creator>
    <dc:date>2020-04-16T03:15:56Z</dc:date>
    <item>
      <title>Build custom device tree in IMX8M Android 10 BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-custom-device-tree-in-IMX8M-Android-10-BSP/m-p/1038874#M153070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP support team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using imx8mm chip and try to build custom android uboot and&amp;nbsp;&lt;SPAN&gt;kernel image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I modify mk files under "device/fsl/" for my custom "lunch" and also add custom device tree and config in uboot and kernel.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After I do my custom "lunch" which is successful i can build android uboot and kernel image by below commands. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"./imx-make.sh bootloader -j4"&amp;nbsp; and&amp;nbsp;"./imx-make.sh&amp;nbsp;&lt;SPAN&gt;bootimage -j4"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;But when I try to build android device tree (dtbo.img) with command "./imx-make.sh&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;dtboimage&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-j4" it shows below error :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILED: ninja: unknown target 'dtboimage'&lt;BR /&gt;10:47:30 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or when i try to build&amp;nbsp;whole android image with command "&lt;SPAN&gt;./imx-make.sh&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-j4&lt;/SPAN&gt;" it shows below error which fail on building dtbo.img too :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILED: ninja: 'out/target/product/my_test/dtbo-imx8mm.img', needed by 'out/target/product/my_test/dtbo.img', missing and no known rule to make it&lt;BR /&gt;11:06:12 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can find my custom dtb is builded under "out/", but i can't build android device tree image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me where i need to modify in Anrdoid 10 BSP for building dtbo.img.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 03:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-custom-device-tree-in-IMX8M-Android-10-BSP/m-p/1038874#M153070</guid>
      <dc:creator>jarvis_tsai</dc:creator>
      <dc:date>2020-04-16T03:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Build custom device tree in IMX8M Android 10 BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-custom-device-tree-in-IMX8M-Android-10-BSP/m-p/1038875#M153071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that for android 10 you'll need to build uboot and kernel first than everything else, so if you want to build one at a time you could try with the following:&lt;BR /&gt; i.e. for i.MX 8MM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ cd ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;$ source build/envsetup.sh&lt;/P&gt;&lt;P&gt;$ lunch evk_8mm-userdebug&lt;/P&gt;&lt;P&gt;$ ./imx-make.sh bootloader -j4&lt;/P&gt;&lt;P&gt;$ ./imx-make.sh kernel -c -j4&lt;/P&gt;&lt;P&gt;$ make bootimage -j4&lt;/P&gt;&lt;P&gt;$ make dtboimage -j4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that if you have built both uboot and kernel successfully you won't need script to build android, if you want to build whole android try with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ ./imx-make.sh bootloader kernel -j4&lt;/P&gt;&lt;P&gt;$ make -j4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 18:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-custom-device-tree-in-IMX8M-Android-10-BSP/m-p/1038875#M153071</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2020-04-17T18:11:09Z</dc:date>
    </item>
  </channel>
</rss>

