imx8m EVK - Flashing Android 12 failure

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

imx8m EVK - Flashing Android 12 failure

1,386 Views
marekb
Contributor III

Hello,

I'm trying to compile Androind 12 for IMX8M EVK. I followed official NXP documentation and build went fine. When trying to flash image to emmc I'm getting following when run:

`sudo ./uuu_imx_android_flash.sh -f imx8mq -a -e -u trusty-dual`

``` 

This script is validated with uuu 1.4.182 version, it is recommended to align with this version.
dual bootloader is supported
dtbo is supported
dual slot is supported
dynamic parttition is supported
vendor_boot parttition is supported
generate lines to flash spl-imx8mq-trusty-dual.bin to the partition of bootloader0
generate lines to flash partition-table-dual.img to the partition of gpt
generate lines to flash bootloader-imx8mq-trusty-dual.img to the partition of bootloader_a
generate lines to flash dtbo-imx8mq.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash vendor_boot.img to the partition of vendor_boot_a
generate lines to flash vbmeta-imx8mq.img to the partition of vbmeta_a
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.5.4-5-g7c0fb61

Success 0 Failure 0


1:3 14/21 [ 1% ] FB[-t 600000]: flash super super.img```

and in console I see:
```

writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 667648
Flashing Sparse Image
........ wrote 0 bytes to 'super'
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk
Starting download of 52 bytes
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk

downloading of 52 bytes finished
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk
writing to partition 'super'
sparse flash target is mmc:0
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 667648
Flashing Sparse Image
........ wrote 0 bytes to 'super'
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk
Starting download of 52 bytes
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk

downloading of 52 bytes finished
(NULL udevice *): request 00000000fd72bec0 was not queued to ep1in-bulk
writing to partition 'super'
sparse flash target is mmc:0
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 667648
Flashing Sparse Image```

 

It seems it cannot flash super.img. Any ideas what can be wrong please? Thanks.

0 Kudos
Reply
6 Replies

1,375 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you missed product.img, if missed please add it and then try

0 Kudos
Reply

1,378 Views
marekb
Contributor III

UPDATE: Seems issue is caused by new uuu utility. With 1.4.182 it seems it's flashing. 

0 Kudos
Reply

1,370 Views
marekb
Contributor III

I was able to flash image properly with older uuu as mentioned above. But I cannot see any output on hdmi. When flashed binaries downloaded from NXP hdmi output works. Flash command is same for both. Any idea what can cause that? Maybe dtb is different or? Thanks.

0 Kudos
Reply

1,318 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Have you use the proper command for boot up:

0 Kudos
Reply

1,310 Views
marekb
Contributor III
Just found out I need to wait some time until android logo appear. Thanks.

1,308 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

OK, good news it works.

0 Kudos
Reply