Scroll to navigation

UUU(1) User Commands UUU(1)

NAME

uuu - Freescale/NXP I.MX Chip image deploy tools

DESCRIPTION

uuu (Universal Update Utility) for nxp imx chips -- lib1.5.21

uuu [-d -m -v -V] <bootloader|cmdlists|cmd>

download bootloader to board by usb
run all commands in cmdlist file If it is path, search uuu.auto in dir If it is zip, search uuu.auto in zip
Run one command, use -H see detail example: SDPS: boot -f flash.bin
Daemon mode, wait for forever.
verbose mode, -V enable libusb error\warning info
Dry run mode, check if script or cmd correct
USBPATH Only monitor these paths. -m 1:2 -m 1:3
Timeout second for wait known usb device appeared
Timeout second for wait next known usb device appeared at stage switch
set environment variable key=value
usb polling period in milliseconds
disable small memory

uuu -s Enter shell mode. uuu.inputlog record all input commands

you can use "uuu uuu.inputlog" next time to run all commands

uuu -udev linux: show udev rule to avoid sudo each time uuu -lsusb List connected know devices uuu -IgSerNum Set windows registry to ignore USB serial number for known uuu devices uuu -h show general help uuu -H show general help and detailed help for commands

uuu [-d -m -v] -b[run] <emmc|emmc_all|fat_write|nand|nvme_all|qspi|sd|sd_all|spl> arg...

Run Built-in scripts emmc burn boot loader to eMMC boot partition
bootloader
image burn to emmc, default is the same as bootloader
burn whole image to eMMC
bootloader, which can extract from wic image
wic image burn to emmc.
update one file in fat partition, require uboot fastboot running in board
image, which cp to fat partition
storage device, mmc\sata
fat partition number, like 1:1
file name in target fat partition, only support rootdir now
burn boot loader to NAND flash
bootloader
image burn to nand, default is the same as bootloader
burn whole image io nvme storage
bootloader, which can extract from wic image
wic image burn to emmc.
burn boot loader to qspi nor flash
bootloader
image burn to flexspi, default is the same as bootloader
burn boot loader to sd card
bootloader
image burn to emmc, default is the same as bootloader
sd_all burn whole image to sd card
bootloader, which can extract from wic image
wic image burn to emmc.
boot spl and uboot
arg0: _flash.bin

uuu -bshow <emmc|emmc_all|fat_write|nand|nvme_all|qspi|sd|sd_all|spl>

Show built-in script

Enjoy auto [tab] command complete by put below script into /etc/bash_completion.d/uuu
_uuu_autocomplete()

{
COMPREPLY=($(/usr/bin/uuu $1 $2 $3))
} complete -o nospace -F _uuu_autocomplete uuu

?[?25h

uuu [-d -m -v -V] <bootloader|cmdlists|cmd>

download bootloader to board by usb
run all commands in cmdlist file If it is path, search uuu.auto in dir If it is zip, search uuu.auto in zip
Run one command, use -H see detail example: SDPS: boot -f flash.bin
Daemon mode, wait for forever.
verbose mode, -V enable libusb error\warning info
Dry run mode, check if script or cmd correct
USBPATH Only monitor these paths. -m 1:2 -m 1:3
Timeout second for wait known usb device appeared
Timeout second for wait next known usb device appeared at stage switch
set environment variable key=value
usb polling period in milliseconds
disable small memory

uuu -s Enter shell mode. uuu.inputlog record all input commands

you can use "uuu uuu.inputlog" next time to run all commands

uuu -udev linux: show udev rule to avoid sudo each time uuu -lsusb List connected know devices uuu -IgSerNum Set windows registry to ignore USB serial number for known uuu devices uuu -h show general help uuu -H show general help and detailed help for commands

uuu [-d -m -v] -b[run] <emmc|emmc_all|fat_write|nand|nvme_all|qspi|sd|sd_all|spl> arg...

Run Built-in scripts emmc burn boot loader to eMMC boot partition
bootloader
image burn to emmc, default is the same as bootloader
burn whole image to eMMC
bootloader, which can extract from wic image
wic image burn to emmc.
update one file in fat partition, require uboot fastboot running in board
image, which cp to fat partition
storage device, mmc\sata
fat partition number, like 1:1
file name in target fat partition, only support rootdir now
burn boot loader to NAND flash
bootloader
image burn to nand, default is the same as bootloader
burn whole image io nvme storage
bootloader, which can extract from wic image
wic image burn to emmc.
burn boot loader to qspi nor flash
bootloader
image burn to flexspi, default is the same as bootloader
burn boot loader to sd card
bootloader
image burn to emmc, default is the same as bootloader
sd_all burn whole image to sd card
bootloader, which can extract from wic image
wic image burn to emmc.
boot spl and uboot
arg0: _flash.bin

uuu -bshow <emmc|emmc_all|fat_write|nand|nvme_all|qspi|sd|sd_all|spl>

Show built-in script

Enjoy auto [tab] command complete by put below script into /etc/bash_completion.d/uuu
_uuu_autocomplete()

{
COMPREPLY=($(/usr/bin/uuu $1 $2 $3))
} complete -o nospace -F _uuu_autocomplete uuu

?[?25h

March 2023 Universal Update Utility for nxp imx chips -- lib1.5.21