<?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: Flash Android 10 Dual Bootloader on IMX8MM with 8G eMMC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057305#M155508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the document you provided and i still flash failed.&lt;/P&gt;&lt;P&gt;After i test several times i found something may be the root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my tests :&lt;/P&gt;&lt;P&gt;1. I modify a "7GB &lt;SPAN&gt;dual-bootloader" .bpt file&lt;/SPAN&gt;&amp;nbsp;based on "13GB dual-bootloader" one (I only change&amp;nbsp;"disk_size: 13 GiB" to &lt;SPAN&gt;"disk_size: 7 GiB"&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I build failed because the sum of capacity in&amp;nbsp;&lt;SPAN&gt;"7GB&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;dual-bootloader" .bpt file is bigger than 7GB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. So I modify the&amp;nbsp;"&lt;STRONG&gt;product&lt;/STRONG&gt;" size from "1792 MiB" to "896 MiB" in the&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file and i can build it.&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;4. Then I flash image by UUU, it failed on flashing "product.img".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; The error log shows "16/22 [&lt;STRONG&gt;Request would exceed partition size&lt;/STRONG&gt;!&amp;nbsp; ] FB: flash product_a product.img.link".&lt;/SPAN&gt;&lt;BR /&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;5. And I try to adjust the&amp;nbsp;capacity of "system", "vendor" and "product" in the&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file&amp;nbsp;&lt;/SPAN&gt;and it all flash failed.&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;So I think the &lt;STRONG&gt;size of partition&lt;/STRONG&gt; is the root cause, but I can't create a useful "7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please help to modify a&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file for 8G eMMC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Btw, it will build failed when enable "IMX_NO_PRODUCT_PARTITION := true", even on "&lt;STRONG&gt;evk_8mm&lt;/STRONG&gt;" platform.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please check this in NXP Android 10 BSP.&lt;/SPAN&gt;&lt;/SPAN&gt;&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;Thanks.&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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2020 09:39:31 GMT</pubDate>
    <dc:creator>jarvis_tsai</dc:creator>
    <dc:date>2020-04-22T09:39:31Z</dc:date>
    <item>
      <title>Flash Android 10 Dual Bootloader on IMX8MM with 8G eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057303#M155506</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 IMX8M mini cpu and try to flash dual bootloader on our 8G eMMc board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there are not ".bpt file" for "7GB dual-bootloader" in "device/fsl/common/partition".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17823i325E85D04610AE52/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i create and modify one for "7GB" based on "device-partitions-13GB-ab-dual-bootloader.bpt".&lt;/P&gt;&lt;P&gt;You can see attached .btp file and the patch i modified like below.&lt;BR /&gt;@@ -1,6 +1,6 @@&lt;BR /&gt; {&lt;BR /&gt; "settings": {&lt;BR /&gt;- "disk_size": "13 GiB",&lt;BR /&gt;+ "disk_size": "7 GiB",&lt;BR /&gt; "disk_alignment": 2097152,&lt;BR /&gt; "first_partition_offset": 8388608&lt;BR /&gt; },&lt;BR /&gt;@@ -54,14 +54,14 @@&lt;BR /&gt; {&lt;BR /&gt; "ab": true,&lt;BR /&gt; "label": "vendor",&lt;BR /&gt;- "size": "512 MiB",&lt;BR /&gt;+ "size": "256 MiB",&lt;BR /&gt; "guid": "auto",&lt;BR /&gt; "type_guid": "2578eab2-a534-43e2-92c0-fed1b01c5d1d"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "ab": true,&lt;BR /&gt; "label": "product",&lt;BR /&gt;- "size": "1792 MiB",&lt;BR /&gt;+ "size": "896 MiB",&lt;BR /&gt; "guid": "auto",&lt;BR /&gt; "type_guid": "c1dedb9a-a0d3-42e4-b74d-0acf96833624"&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After i build and try to flsah image with command ".\uuu_imx_android_flash.bat -f imx8mm -a -c 7 -u dual".&lt;/P&gt;&lt;P&gt;It always fails in flashing "&lt;STRONG&gt;vendor.img&lt;/STRONG&gt;" like below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual bootloader is supported&lt;BR /&gt;dtbo is supported&lt;BR /&gt;dual slot is supported&lt;BR /&gt;generate lines to flash spl-imx8mm-dual.bin to the partition of bootloader0&lt;BR /&gt;generate lines to flash partition-table-dual.img to the partition of gpt&lt;BR /&gt;generate lines to flash bootloader-imx8mm-dual.img to the partition of bootloader_a&lt;BR /&gt;generate lines to flash dtbo-imx8mm.img to the partition of dtbo_a&lt;BR /&gt;generate lines to flash boot.img to the partition of boot_a&lt;BR /&gt;generate lines to flash system.img to the partition of system_a&lt;BR /&gt;generate lines to flash vendor.img to the partition of vendor_a&lt;BR /&gt;generate lines to flash product.img to the partition of product_a&lt;BR /&gt;generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta_a&lt;BR /&gt;uuu script generated, start to invoke uuu with the generated uuu script&lt;BR /&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.171-0-g4249f93&lt;/P&gt;&lt;P&gt;Success 0 Failure 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1:13 15/22 [Request would exceed partition size! ] FB: flash vendor_a vendor.img.link&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;I also modify vendor size to 512 MiB in .btp file, but it still fails as above.&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ab": true,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"label": "vendor",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"size": "512 MiB",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"guid": "auto",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"type_guid": "2578eab2-a534-43e2-92c0-fed1b01c5d1d"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;SPAN&gt;My&amp;nbsp;vendor.img only has 69,073 KB.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;SPAN&gt;Please help to create a "7GB dual-bootloader" .btp file to flash.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-weight: 400; "&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 08:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057303#M155506</guid>
      <dc:creator>jarvis_tsai</dc:creator>
      <dc:date>2020-04-21T08:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Android 10 Dual Bootloader on IMX8MM with 8G eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057304#M155507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jarvis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for changing partition size one can try to follow sect.8.8.2 Changing the partition size&lt;/P&gt;&lt;P&gt;attached Android Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 04:46:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057304#M155507</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-04-22T04:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Android 10 Dual Bootloader on IMX8MM with 8G eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057305#M155508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the document you provided and i still flash failed.&lt;/P&gt;&lt;P&gt;After i test several times i found something may be the root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my tests :&lt;/P&gt;&lt;P&gt;1. I modify a "7GB &lt;SPAN&gt;dual-bootloader" .bpt file&lt;/SPAN&gt;&amp;nbsp;based on "13GB dual-bootloader" one (I only change&amp;nbsp;"disk_size: 13 GiB" to &lt;SPAN&gt;"disk_size: 7 GiB"&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I build failed because the sum of capacity in&amp;nbsp;&lt;SPAN&gt;"7GB&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;dual-bootloader" .bpt file is bigger than 7GB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. So I modify the&amp;nbsp;"&lt;STRONG&gt;product&lt;/STRONG&gt;" size from "1792 MiB" to "896 MiB" in the&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file and i can build it.&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;4. Then I flash image by UUU, it failed on flashing "product.img".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; The error log shows "16/22 [&lt;STRONG&gt;Request would exceed partition size&lt;/STRONG&gt;!&amp;nbsp; ] FB: flash product_a product.img.link".&lt;/SPAN&gt;&lt;BR /&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;5. And I try to adjust the&amp;nbsp;capacity of "system", "vendor" and "product" in the&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file&amp;nbsp;&lt;/SPAN&gt;and it all flash failed.&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;So I think the &lt;STRONG&gt;size of partition&lt;/STRONG&gt; is the root cause, but I can't create a useful "7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please help to modify a&amp;nbsp;"7GB&amp;nbsp;&lt;SPAN&gt;dual-bootloader" .bpt file for 8G eMMC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Btw, it will build failed when enable "IMX_NO_PRODUCT_PARTITION := true", even on "&lt;STRONG&gt;evk_8mm&lt;/STRONG&gt;" platform.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please check this in NXP Android 10 BSP.&lt;/SPAN&gt;&lt;/SPAN&gt;&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;Thanks.&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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 09:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-Android-10-Dual-Bootloader-on-IMX8MM-with-8G-eMMC/m-p/1057305#M155508</guid>
      <dc:creator>jarvis_tsai</dc:creator>
      <dc:date>2020-04-22T09:39:31Z</dc:date>
    </item>
  </channel>
</rss>

