Flashing android using prebuild image imx 8M

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

Flashing android using prebuild image imx 8M

Jump to solution
2,452 Views
mukrsh
Contributor III

Trying to flash i.mx 8M plus with android demo binaries using uuu tool but getting a continuous error with the flashing script. (using Linux 20)

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.138-0-g051a8fe

Success 0 Failure 1
1:14 1/ 2 [HID(W):LIBUSB_ERROR_IO ] SDPS: boot -f "uuu_imx_android_flash.sh"

0 Kudos
Reply
1 Solution
2,409 Views
mukrsh
Contributor III

little modification in the script and that worked

echo "uuu script generated, start to invoke uuu with the generated uuu script"
if [ ${daemon_mode} -eq 1 ]; then
    ./uuu -d /tmp/uuu.lst
else
    ./uuu /tmp/uuu.lst
fi

View solution in original post

0 Kudos
Reply
4 Replies
2,410 Views
mukrsh
Contributor III

little modification in the script and that worked

echo "uuu script generated, start to invoke uuu with the generated uuu script"
if [ ${daemon_mode} -eq 1 ]; then
    ./uuu -d /tmp/uuu.lst
else
    ./uuu /tmp/uuu.lst
fi
0 Kudos
Reply
2,440 Views
mukrsh
Contributor III

Hi,

still getting the same error:

@build-machine:~/mike-space/android/aosp/nxp/android-11.0.0_2.2.0_image_8mpevk$ sudo ./uuu_imx_android_flash.sh -f imx8mp -a -e
[sudo] password for mukesh:
This script is validated with uuu 1.4.139 version, it is recommended to align with this version.
dtbo is supported
dual slot is supported
dynamic parttition is supported
vendor_boot parttition is supported
generate lines to flash u-boot-imx8mp.imx to the partition of bootloader0
generate lines to flash partition-table.img to the partition of gpt
generate lines to flash dtbo-imx8mp.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-imx8mp.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.4.138-0-g051a8fe

Wait for Known USB Device Appear...
Error: fail open file: >/tmp/uuu.lst

 

also tried to echo manually,

build-machine:/tmp$ sudo echo uuu_version 1.4.139 > uuu.lst
bash: uuu.lst: Permission denied

0 Kudos
Reply
2,420 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

Please make sure that you have UUU tool in the environment variable PATH. For Linux the executable will be uuu, you may download it here:

https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.4.165/uuu

Even for a quick test you may place this file in the same folder as the android script.

Best regards,
Aldo.

0 Kudos
Reply
2,443 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I don’t know which command you have used for your test, but please try with the following:

sudo ./uuu_imx_android_flash.sh -f imx8mp -a -e

This will flash the slot a to the eMMC with default features enabled (uboot and vbmeta)

Best regards,
Aldo.

0 Kudos
Reply