Flashing android using prebuild image imx 8M

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

Flashing android using prebuild image imx 8M

跳至解决方案
1,982 次查看
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 项奖励
1 解答
1,939 次查看
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 项奖励
4 回复数
1,940 次查看
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 项奖励
1,970 次查看
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 项奖励
1,950 次查看
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 项奖励
1,973 次查看
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 项奖励