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:
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!
Solved! Go to Solution.
I used the command sudo ./uuu_imx_android_flash.sh -f imx8qxp -e -u c0 from the official documentation.
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!
I used the command sudo ./uuu_imx_android_flash.sh -f imx8qxp -e -u c0 from the official documentation.
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.
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:
After a power cycle, and setting the pins to boot from eMMC, I get this in the console:
Best regards!
Hello,
Could you please try it with a past release or re-download the current release?
Best regards.
Also, this is the debug info I get when booting, if it helps:
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.
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.
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".