Flashing Android on i.MX 8QuadXPlus MEK is failing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flashing Android on i.MX 8QuadXPlus MEK is failing

跳至解决方案
901 次查看
svoiQ
Contributor III

I am trying to flash the prebuilt demo image of Android (android-14.0.0_2.2.0_image_8qmek) using the command: sudo ./uuu_imx_android_flash.sh -f imx8qxp -a -e -u trusty-dual and I am getting the error: [HID(W): LIBUSB_ERROR_IO (-1) ] SDPS: boot -f u-boot-imx8qxp-mek-uuu.imx1500

 

The full output of the above command is:

This script is validated with uuu 1.5.179 version, it is recommended to align with this version.
sed: 1: ":a;N;$!ba;s/\n//g": unused label 'a;N;$!ba;s/\n//g'
dtbo is supported
dual slot is supported
generate lines to flash spl-imx8qxp-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-imx8qxp-trusty-dual.img to the partition of bootloader_a
generate lines to flash dtbo-imx8qxp.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 product.img to the partition of product_a
generate lines to flash vbmeta-imx8qxp.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 -- libuuu_1.5.191-0-g6c2141e

Success 0 Failure 1


0:13-120F600 1/ 1 [HID(W): LIBUSB_ERROR_IO (-1) ] SDPS: boot -f u-boot-imx8qxp-mek-uuu.imx1500

 

The board is in download mode (set the pins of SW2 to 1000).

 

The command uuu -lsusb shows the device as being connected:

Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion Serial_no
====================================================================
0:13 MX8QXP SDPS: 0x1FC9 0x012F 0x0004 XXXXX

 

uuu version is: uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.191-0-g6c2141e.

 

The board is brand new, and the device boots from the SD card bundled with it. It is Rev C0 according to U-Boot SPL:

CPU: Freescale i.MX8QXP revC A35 at 1200 MHz at 27C

Model: Freescale i.MX8OXP MEK

Board: iMX8QXР МЕК

 

Any help or suggestions are more than welcome!

TIA!

标签 (1)
0 项奖励
回复
1 解答
760 次查看
svoiQ
Contributor III

I used the command sudo ./uuu_imx_android_flash.sh -f imx8qxp -e -u c0 from the official documentation.

在原帖中查看解决方案

9 回复数
763 次查看
svoiQ
Contributor III

I managed to get it working and successfully booted AAOS 14. The issue was related to macOS (most likely) because I managed to flash everything using Ubuntu 24.04.1 LTS.

Thank you for the support!

0 项奖励
回复
761 次查看
svoiQ
Contributor III

I used the command sudo ./uuu_imx_android_flash.sh -f imx8qxp -e -u c0 from the official documentation.

863 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Please try with the next command since you are using C0 board versions:

sudo ./uuu_imx_android_flash.sh -f imx8qxp -e -u c0

 Best regards.

0 项奖励
回复
860 次查看
svoiQ
Contributor III

Hi and thank you for your response!

I ran the suggested command; it did flash the bootloader and then it failed with this message: 0:13-120F60011/26 [Sparse file magic miss matched ] FB[-t 600000]: flash system_a system.img2775

During the flashing process, the latest messages in the console are these:

svoiQ_1-1730796380692.png

After a power cycle, and setting the pins to boot from eMMC, I get this in the console:

svoiQ_2-1730796634022.png

Best regards!

 

0 项奖励
回复
837 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please try it with a past release or re-download the current release?

Best regards.

0 项奖励
回复
820 次查看
svoiQ
Contributor III

Also, this is the debug info I get when booting, if it helps:

svoiQ_0-1730886216366.png

 

0 项奖励
回复
786 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I was not able to reproduce the issue, the next we could try is avoid -u and use default setting.

sudo ./uuu_imx_android_flash.sh -f imx8qxp -e

Best regards.

0 项奖励
回复
772 次查看
svoiQ
Contributor III

Same result, unfortunately:

sudo ./uuu_imx_android_flash.sh -f imx8qxp -e

Password:
This script is validated with uuu 1.5.179 version, it is recommended to align with this version.
sed: 1: ":a;N;$!ba;s/\n//g": unused label 'a;N;$!ba;s/\n//g'
dtbo is supported
dual slot is supported
generate lines to flash u-boot-imx8qxp.imx to the partition of bootloader0
generate lines to flash partition-table.img to the partition of gpt
generate lines to flash dtbo-imx8qxp.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 product.img to the partition of product_a
generate lines to flash vbmeta-imx8qxp.img to the partition of vbmeta_a
generate lines to flash dtbo-imx8qxp.img to the partition of dtbo_b
generate lines to flash boot.img to the partition of boot_b
generate lines to flash system.img to the partition of system_b
generate lines to flash vendor.img to the partition of vendor_b
generate lines to flash product.img to the partition of product_b
generate lines to flash vbmeta-imx8qxp.img to the partition of vbmeta_b
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.191-0-g6c2141e

Success 0 Failure 1


0:13-120F600 1/ 1 [HID(W): LIBUSB_ERROR_IO (-1) ] SDPS: boot -f u-boot-imx8qxp-mek-uuu.imx12798

And with automotive still getting the Error: FB: image file not found.

0 项奖励
回复
822 次查看
svoiQ
Contributor III

I tried re-downloading the Andrdoi 14 images, also with Android 13, and I am getting the same error.

With Android Automotive 14.0.0_2.1.0, Android Automotive 14.0.0_1.1.0 and Android Automotive 13.0.0_2.3.0, I am getting another error "Error: FB: image file not found".

 

 

0 项奖励
回复