Skip to main content

Using Fast UUU Upload

This procedure provides the steps to program a compressed archive using the UUU. These archives are distributed as a .wic.bz2 file along with a .bmap file.

Many distributions do not include a pre-built uuu, part of the mfgtools package, capable of flashing a .bz2 file. To support that workflow, build uuu from source.

Steps

  1. Obtain the proper mfgtools source from:
https://github.com/nxp-imx/mfgtools
commit hash: dc3ca54
  1. Use the following procedure to obtain the source code:
mkdir ~/fast_uuu
cd ~/fast_uuu
git clone https://github.com/nxp-imx/mfgtools.git
cd mfgtools
  1. Install the required dependencies for the mfgtools build:
sudo apt-get install libusb-1.0-0-dev libbz2-dev libzstd-dev pkg-config cmake libssl-dev g++ zlib1g-dev libtinyxml2-dev
  1. Execute the build commands:
cmake . && make
  1. After the build is complete, copy the executable from the uuu subdirectory to your user software folders:
cd ~/fast_uuu/mfgtools/uuu/
sudo cp uuu /usr/bin/uuu
sudo cp uuu /usr/local/bin/uuu

This enables using the uuu command from any directory.

  1. To update using the new fast uuu, use:
sudo uuu -bmap -v -b emmc_all /path/to/imx-boot path/to/pmm6081-image-pmm6081.wic.bz2
Fast flashing archive format

For fast flashing to work, use the .wic.bz2 file.