<?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 issue while using uuu bat file on windows Error: fail open file: &amp;gt;u-boot-imx8mm-evk-uuu.imx.link in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/issue-while-using-uuu-bat-file-on-windows-Error-fail-open-file/m-p/1319547#M178000</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi All,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recently I have tried using uuu bat file to flash android 10 on imx8mm based custom board. Linux script working perfectly. but I have encountered few issues while using uuu windows flash tool (.bat file) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Command used was as below.....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It used to give following error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;dtbo is supported&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash u-boot-imx8mm.imx to the partition of bootloader&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;ab slot feature not supported, the slot you specified will be ignored&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash dtbo-imx8mm.img to the partition of dtbo&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash boot.img to the partition of boot&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash system.img to the partition of system&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash vendor.img to the partition of vendor&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash product.img to the partition of product&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;uuu script generated, start to invoke uuu with the generated uuu script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Wait for Known USB Device Appear..&lt;/FONT&gt;.&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Error: fail open file: &amp;gt;u-boot-imx8mm-evk-uuu.imx.link&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have tried all the methods... tried creating manual .link file etc. but it didn't help.. finally I have changed&amp;nbsp; the below lines&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;From: &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set bootloader_used_by_uuu=u-boot-%soc_name%-%board%-uuu.imx&lt;BR /&gt;set bootloader_flashed_to_board=u-boot-%soc_name%%uboot_feature%.imx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;To:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set bootloader_used_by_uuu=u-boot.imx&lt;BR /&gt;set bootloader_flashed_to_board=u-boot.imx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;uuu bat file has progressed and failed at one more place as shown below.....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;android-10&amp;gt; uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;BR /&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;BR /&gt;dtbo is supported&lt;BR /&gt;generate lines to flash u-boot.imx to the partition of bootloader&lt;BR /&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&lt;BR /&gt;ab slot feature not supported, the slot you specified will be ignored&lt;BR /&gt;generate lines to flash dtbo-imx8mm.img to the partition of dtbo&lt;BR /&gt;generate lines to flash boot.img to the partition of boot&lt;BR /&gt;generate lines to flash system.img to the partition of system&lt;BR /&gt;generate lines to flash vendor.img to the partition of vendor&lt;BR /&gt;generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta&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 -- lib1.3.124-0-gee3f09a&lt;/P&gt;&lt;P&gt;Success 0 Failure 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;1:72 7/21 [&lt;FONT color="#FF0000"&gt;partition does not exis&lt;/FONT&gt;t ] FB[-t 600000]: flash bootloader u-boot.imx.link&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;again after lot of trial and errors I have fixed it, by changing below lines&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;From &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set /A support_dualslot=0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;To :&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set /A support_dualslot=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The final working log looks like as shown below.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;android-10&amp;gt;uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;BR /&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;BR /&gt;dtbo is supported&lt;BR /&gt;generate lines to flash u-boot.imx to the partition of bootloader0&lt;BR /&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&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 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 -- lib1.3.124-0-gee3f09a&lt;/P&gt;&lt;P&gt;Success 1 Failure 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1:72 21/21 [&lt;FONT color="#008000"&gt;Done&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&amp;nbsp; FB: done&lt;/P&gt;&lt;P&gt;Hope it would help others...................&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 07:22:30 GMT</pubDate>
    <dc:creator>prasannakulkarni</dc:creator>
    <dc:date>2021-08-06T07:22:30Z</dc:date>
    <item>
      <title>issue while using uuu bat file on windows Error: fail open file: &gt;u-boot-imx8mm-evk-uuu.imx.link</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/issue-while-using-uuu-bat-file-on-windows-Error-fail-open-file/m-p/1319547#M178000</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi All,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recently I have tried using uuu bat file to flash android 10 on imx8mm based custom board. Linux script working perfectly. but I have encountered few issues while using uuu windows flash tool (.bat file) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Command used was as below.....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It used to give following error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;dtbo is supported&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash u-boot-imx8mm.imx to the partition of bootloader&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;ab slot feature not supported, the slot you specified will be ignored&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash dtbo-imx8mm.img to the partition of dtbo&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash boot.img to the partition of boot&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash system.img to the partition of system&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash vendor.img to the partition of vendor&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash product.img to the partition of product&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;uuu script generated, start to invoke uuu with the generated uuu script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Wait for Known USB Device Appear..&lt;/FONT&gt;.&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Error: fail open file: &amp;gt;u-boot-imx8mm-evk-uuu.imx.link&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have tried all the methods... tried creating manual .link file etc. but it didn't help.. finally I have changed&amp;nbsp; the below lines&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;From: &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set bootloader_used_by_uuu=u-boot-%soc_name%-%board%-uuu.imx&lt;BR /&gt;set bootloader_flashed_to_board=u-boot-%soc_name%%uboot_feature%.imx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;To:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set bootloader_used_by_uuu=u-boot.imx&lt;BR /&gt;set bootloader_flashed_to_board=u-boot.imx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;uuu bat file has progressed and failed at one more place as shown below.....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;android-10&amp;gt; uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;BR /&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;BR /&gt;dtbo is supported&lt;BR /&gt;generate lines to flash u-boot.imx to the partition of bootloader&lt;BR /&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&lt;BR /&gt;ab slot feature not supported, the slot you specified will be ignored&lt;BR /&gt;generate lines to flash dtbo-imx8mm.img to the partition of dtbo&lt;BR /&gt;generate lines to flash boot.img to the partition of boot&lt;BR /&gt;generate lines to flash system.img to the partition of system&lt;BR /&gt;generate lines to flash vendor.img to the partition of vendor&lt;BR /&gt;generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta&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 -- lib1.3.124-0-gee3f09a&lt;/P&gt;&lt;P&gt;Success 0 Failure 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;1:72 7/21 [&lt;FONT color="#FF0000"&gt;partition does not exis&lt;/FONT&gt;t ] FB[-t 600000]: flash bootloader u-boot.imx.link&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;again after lot of trial and errors I have fixed it, by changing below lines&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;From &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set /A support_dualslot=0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;To :&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;set /A support_dualslot=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The final working log looks like as shown below.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;android-10&amp;gt;uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e&lt;BR /&gt;This script is validated with uuu 1.3.124 version, it is recommended to align with this version.&lt;BR /&gt;dtbo is supported&lt;BR /&gt;generate lines to flash u-boot.imx to the partition of bootloader0&lt;BR /&gt;generate lines to flash partition-table-28GB.img to the partition of gpt&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 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 -- lib1.3.124-0-gee3f09a&lt;/P&gt;&lt;P&gt;Success 1 Failure 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1:72 21/21 [&lt;FONT color="#008000"&gt;Done&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&amp;nbsp; FB: done&lt;/P&gt;&lt;P&gt;Hope it would help others...................&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/issue-while-using-uuu-bat-file-on-windows-Error-fail-open-file/m-p/1319547#M178000</guid>
      <dc:creator>prasannakulkarni</dc:creator>
      <dc:date>2021-08-06T07:22:30Z</dc:date>
    </item>
  </channel>
</rss>

