Trying to use UUU to flash Android demo images on imx8mn

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

Trying to use UUU to flash Android demo images on imx8mn

Jump to solution
1,994 Views
anurag16doshi
Contributor II

Hey,

 

I have been working with an iMX8 Nano Evaluation board. I am trying to make use of the UUU flashing tool to flash the demo images onto the board as described by Android's Quick Start Guide. I have received the following error while trying to flash. Could some one explain this error and how to resolve it?

 

$ sudo ./uuu_imx_android_flash.sh -f imx8mn -e -u trusty
This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
dual slot is supported
dynamic parttition is supported
generate lines to flash u-boot-imx8mn-trusty.imx to the partition of bootloader0
generate lines to flash partition-table.img to the partition of gpt
generate lines to flash dtbo-imx8mn.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash vbmeta-imx8mn.img to the partition of vbmeta_a
generate lines to flash dtbo-imx8mn.img to the partition of dtbo_b
generate lines to flash boot.img to the partition of boot_b
generate lines to flash vbmeta-imx8mn.img to the partition of vbmeta_b
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition system_a will resize from 0 bytes to 918249472 bytes
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition system_b will resize from 0 bytes to 918249472 bytes
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition vendor_a will resize from 0 bytes to 458080256 bytes
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition vendor_b will resize from 0 bytes to 458080256 bytes
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition product_a will resize from 0 bytes to 335319040 bytes
lpmake I 09-08 17:25:13 5656 5656 builder.cpp:937] [liblp]Partition product_b will resize from 0 bytes to 335319040 bytes
generate lines to flash super.img to the partition of super
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-4-g9aff92a

Success 0 Failure 1


2:21 1/ 1 [HID(W):LIBUSB_ERROR_TIMEOUT ] SDPS: boot -f u-boot-imx8mn-evk-uuu.imx

I am looking to use the UUU tool for other developmental purposes and the LIBUSB_ERROR_TIMEOUT still persists.

 

TIA,

Anurag

Labels (1)
0 Kudos
1 Solution
1,985 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe you have the DDR4 version of the EVK, correct?

Please make sure you are using the correct images to flash your board (uboot, dtbo and vbmeta), please try with the following:

sudo ./uuu_imx_android_flash.sh -f imx8mn -a -u ddr4 -d ddr4 -e

This command will do the following:
-Only flash slot a
-Partition table for single bootloader and target storage device 13GB or larger (partition-table.img)
-DDR4 uboot image (u-boot-imx8mn-ddr4.imx)
-DDR4 dtbo image (dtbo-imx8mn-ddr4.img)
-DDR4 vbmeta image (vbmeta-imx8mn-ddr4.img)
-Erase user data after images are flashed
-Target flash device is default (eMMC)

You may refer table 4 Options for uuu_imx_android_flash tool of the Android Quick Start Guide for more information.

Hope this helps,
Best regards,
Aldo.

View solution in original post

0 Kudos
1 Reply
1,986 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe you have the DDR4 version of the EVK, correct?

Please make sure you are using the correct images to flash your board (uboot, dtbo and vbmeta), please try with the following:

sudo ./uuu_imx_android_flash.sh -f imx8mn -a -u ddr4 -d ddr4 -e

This command will do the following:
-Only flash slot a
-Partition table for single bootloader and target storage device 13GB or larger (partition-table.img)
-DDR4 uboot image (u-boot-imx8mn-ddr4.imx)
-DDR4 dtbo image (dtbo-imx8mn-ddr4.img)
-DDR4 vbmeta image (vbmeta-imx8mn-ddr4.img)
-Erase user data after images are flashed
-Target flash device is default (eMMC)

You may refer table 4 Options for uuu_imx_android_flash tool of the Android Quick Start Guide for more information.

Hope this helps,
Best regards,
Aldo.

0 Kudos