.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH UUU "1" "March 2023" "Universal Update Utility for nxp imx chips -- lib1.5.21" "User Commands" .SH NAME uuu \- Freescale/NXP I.MX Chip image deploy tools .SH DESCRIPTION uuu (Universal Update Utility) for nxp imx chips \fB\-\-\fR lib1.5.21 .PP uuu [\-d \fB\-m\fR \fB\-v\fR \fB\-V]\fR .TP bootloader download bootloader to board by usb .TP cmdlist run all commands in cmdlist file If it is path, search uuu.auto in dir If it is zip, search uuu.auto in zip .TP cmd Run one command, use \fB\-H\fR see detail example: SDPS: boot \fB\-f\fR flash.bin .TP \fB\-d\fR Daemon mode, wait for forever. .TP \fB\-v\fR \fB\-V\fR verbose mode, \fB\-V\fR enable libusb error\ewarning info .TP \fB\-dry\fR Dry run mode, check if script or cmd correct .TP \fB\-m\fR USBPATH Only monitor these paths. \fB\-m\fR 1:2 \fB\-m\fR 1:3 .TP \fB\-t\fR Timeout second for wait known usb device appeared .TP \fB\-T\fR Timeout second for wait next known usb device appeared at stage switch .TP \fB\-e\fR set environment variable key=value .TP \fB\-pp\fR usb polling period in milliseconds .TP \fB\-dm\fR disable small memory .PP uuu \fB\-s\fR Enter shell mode. uuu.inputlog record all input commands .IP you can use "uuu uuu.inputlog" next time to run all commands .PP uuu \fB\-udev\fR linux: show udev rule to avoid sudo each time uuu \fB\-lsusb\fR List connected know devices uuu \fB\-IgSerNum\fR Set windows registry to ignore USB serial number for known uuu devices uuu \fB\-h\fR show general help uuu \fB\-H\fR show general help and detailed help for commands .PP uuu [\-d \fB\-m\fR \fB\-v]\fR \fB\-b[run]\fR arg... .IP Run Built\-in scripts emmc burn boot loader to eMMC boot partition .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to emmc, default is the same as bootloader .TP emmc_all burn whole image to eMMC .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP fat_write update one file in fat partition, require uboot fastboot running in board .TP arg0: _image image, which cp to fat partition .TP arg1: _device storage device, mmc\esata .TP arg2: _partition fat partition number, like 1:1 .TP arg3: _filename[Optional] file name in target fat partition, only support rootdir now .TP nand burn boot loader to NAND flash .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to nand, default is the same as bootloader .TP nvme_all burn whole image io nvme storage .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP qspi burn boot loader to qspi nor flash .TP arg0: _flexspi.bin bootloader .TP arg1: _image[Optional] image burn to flexspi, default is the same as bootloader .TP sd burn boot loader to sd card .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to emmc, default is the same as bootloader .IP sd_all burn whole image to sd card .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP spl boot spl and uboot .IP arg0: _flash.bin .PP uuu \fB\-bshow\fR .IP Show built\-in script .PP Enjoy auto [tab] command complete by put below script into \fI\,/etc/bash_completion.d/uuu\/\fP _uuu_autocomplete() .IP { .IP COMPREPLY=($(\fI\,/usr/bin/uuu\/\fP $1 $2 $3)) .IP } complete \fB\-o\fR nospace \fB\-F\fR _uuu_autocomplete uuu .PP [?25h .PP uuu [\-d \fB\-m\fR \fB\-v\fR \fB\-V]\fR .TP bootloader download bootloader to board by usb .TP cmdlist run all commands in cmdlist file If it is path, search uuu.auto in dir If it is zip, search uuu.auto in zip .TP cmd Run one command, use \fB\-H\fR see detail example: SDPS: boot \fB\-f\fR flash.bin .TP \fB\-d\fR Daemon mode, wait for forever. .TP \fB\-v\fR \fB\-V\fR verbose mode, \fB\-V\fR enable libusb error\ewarning info .TP \fB\-dry\fR Dry run mode, check if script or cmd correct .TP \fB\-m\fR USBPATH Only monitor these paths. \fB\-m\fR 1:2 \fB\-m\fR 1:3 .TP \fB\-t\fR Timeout second for wait known usb device appeared .TP \fB\-T\fR Timeout second for wait next known usb device appeared at stage switch .TP \fB\-e\fR set environment variable key=value .TP \fB\-pp\fR usb polling period in milliseconds .TP \fB\-dm\fR disable small memory .PP uuu \fB\-s\fR Enter shell mode. uuu.inputlog record all input commands .IP you can use "uuu uuu.inputlog" next time to run all commands .PP uuu \fB\-udev\fR linux: show udev rule to avoid sudo each time uuu \fB\-lsusb\fR List connected know devices uuu \fB\-IgSerNum\fR Set windows registry to ignore USB serial number for known uuu devices uuu \fB\-h\fR show general help uuu \fB\-H\fR show general help and detailed help for commands .PP uuu [\-d \fB\-m\fR \fB\-v]\fR \fB\-b[run]\fR arg... .IP Run Built\-in scripts emmc burn boot loader to eMMC boot partition .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to emmc, default is the same as bootloader .TP emmc_all burn whole image to eMMC .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP fat_write update one file in fat partition, require uboot fastboot running in board .TP arg0: _image image, which cp to fat partition .TP arg1: _device storage device, mmc\esata .TP arg2: _partition fat partition number, like 1:1 .TP arg3: _filename[Optional] file name in target fat partition, only support rootdir now .TP nand burn boot loader to NAND flash .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to nand, default is the same as bootloader .TP nvme_all burn whole image io nvme storage .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP qspi burn boot loader to qspi nor flash .TP arg0: _flexspi.bin bootloader .TP arg1: _image[Optional] image burn to flexspi, default is the same as bootloader .TP sd burn boot loader to sd card .TP arg0: _flash.bin bootloader .TP arg1: _image[Optional] image burn to emmc, default is the same as bootloader .IP sd_all burn whole image to sd card .TP arg0: _flash.bin bootloader, which can extract from wic image .TP arg1: _image[Optional] wic image burn to emmc. .TP spl boot spl and uboot .IP arg0: _flash.bin .PP uuu \fB\-bshow\fR .IP Show built\-in script .PP Enjoy auto [tab] command complete by put below script into \fI\,/etc/bash_completion.d/uuu\/\fP _uuu_autocomplete() .IP { .IP COMPREPLY=($(\fI\,/usr/bin/uuu\/\fP $1 $2 $3)) .IP } complete \fB\-o\fR nospace \fB\-F\fR _uuu_autocomplete uuu .PP [?25h