issue while using uuu bat file on windows Error: fail open file: >u-boot-imx8mm-evk-uuu.imx.link

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

issue while using uuu bat file on windows Error: fail open file: >u-boot-imx8mm-evk-uuu.imx.link

2,442 Views
prasannakulkarni
Contributor IV

Hi All,

       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)

Command used was as below.....

>>>  uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e

It used to give following error

This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
generate lines to flash u-boot-imx8mm.imx to the partition of bootloader
generate lines to flash partition-table-28GB.img to the partition of gpt
ab slot feature not supported, the slot you specified will be ignored
generate lines to flash dtbo-imx8mm.img to the partition of dtbo
generate lines to flash boot.img to the partition of boot
generate lines to flash system.img to the partition of system
generate lines to flash vendor.img to the partition of vendor
generate lines to flash product.img to the partition of product
generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a

Wait for Known USB Device Appear...
Error: fail open file: >u-boot-imx8mm-evk-uuu.imx.link

I have tried all the methods... tried creating manual .link file etc. but it didn't help.. finally I have changed  the below lines

From:

set bootloader_used_by_uuu=u-boot-%soc_name%-%board%-uuu.imx
set bootloader_flashed_to_board=u-boot-%soc_name%%uboot_feature%.imx

To:

set bootloader_used_by_uuu=u-boot.imx
set bootloader_flashed_to_board=u-boot.imx

uuu bat file has progressed and failed at one more place as shown below.....

 

android-10> uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e
This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
generate lines to flash u-boot.imx to the partition of bootloader
generate lines to flash partition-table-28GB.img to the partition of gpt
ab slot feature not supported, the slot you specified will be ignored
generate lines to flash dtbo-imx8mm.img to the partition of dtbo
generate lines to flash boot.img to the partition of boot
generate lines to flash system.img to the partition of system
generate lines to flash vendor.img to the partition of vendor
generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a

Success 0 Failure 1


1:72 7/21 [partition does not exist ] FB[-t 600000]: flash bootloader u-boot.imx.link

again after lot of trial and errors I have fixed it, by changing below lines 

From

set /A support_dualslot=0

To :

set /A support_dualslot=1

 

The final working log looks like as shown below.

android-10>uuu_imx_android_flash.bat -f imx8mm -c 28 -a -e
This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
generate lines to flash u-boot.imx to the partition of bootloader0
generate lines to flash partition-table-28GB.img to the partition of gpt
generate lines to flash dtbo-imx8mm.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash system.img to the partition of system_a
generate lines to flash vendor.img to the partition of vendor_a
generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta_a
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a

Success 1 Failure 0


1:72 21/21 [Done                                                                            ]  FB: done

Hope it would help others...................

Tags (3)
0 Replies