line 757: uuu: command not found

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

line 757: uuu: command not found

Jump to solution
2,601 Views
chatchai
Contributor I

I try to use UUU downloaded from Github for Linux.  error at line 757: uuu: command not found


my terminal

bsp@bsp-desktop:~/Downloads/android-10.0.0_2.3.0_image_8mmevk$ sudo ~/Downloads/android-10.0.0_2.3.0_image_8mmevk/uuu_imx_android_flash.sh -f imx8mm -a -e -u trusty
[sudo] password for bsp:
This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
dual slot is supported
dynamic parttition is supported
generate lines to flash u-boot-imx8mm-trusty.imx to the partition of bootloader0
generate lines to flash partition-table.img to the partition of gpt
generate lines to flash dtbo-imx8mm.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta_a
lpmake I 09-10 10:02:58 119432 119432 builder.cpp:937] [liblp]Partition system_a will resize from 0 bytes to 918253568 bytes
lpmake I 09-10 10:02:58 119432 119432 builder.cpp:937] [liblp]Partition vendor_a will resize from 0 bytes to 75804672 bytes
lpmake I 09-10 10:02:58 119432 119432 builder.cpp:937] [liblp]Partition product_a will resize from 0 bytes to 335319040 bytes
generate lines to flash super.img to the partition of super
uuu script generated, start to invoke uuu with the generated uuu script
/home/bsp/Downloads/android-10.0.0_2.3.0_image_8mmevk/uuu_imx_android_flash.sh: line 757: uuu: command not found
bsp@bsp-desktop:~/Downloads/android-10.0.0_2.3.0_image_8mmevk$

0 Kudos
1 Solution
2,571 Views
chatchai
Contributor I

Thank you for your reply 

Now I just flash to my board with invoking uuu.lst in tmp folder as SUPERUSER after run uuu_imx_android_flash.sh script.

My step

sudo ~/<image_dir>/uuu_imx_android_flash.sh -f imx8mm -a -e -u trusty

#..........line 757: uuu: command not found (this is final command in script)

$ sudo su
$ ./uuu /tmp/uuu.lst

Now start flashing to my board and success.

View solution in original post

0 Kudos
2 Replies
2,584 Views
b36401
NXP Employee
NXP Employee

Please try to add the directory uuu binary is located into $PATH variable.

0 Kudos
2,572 Views
chatchai
Contributor I

Thank you for your reply 

Now I just flash to my board with invoking uuu.lst in tmp folder as SUPERUSER after run uuu_imx_android_flash.sh script.

My step

sudo ~/<image_dir>/uuu_imx_android_flash.sh -f imx8mm -a -e -u trusty

#..........line 757: uuu: command not found (this is final command in script)

$ sudo su
$ ./uuu /tmp/uuu.lst

Now start flashing to my board and success.

0 Kudos