DESK-MX-L-AN-0008: How to use UUU update utility

From DAVE Developer's Wiki
Revision as of 14:01, 7 October 2022 by U0007 (talk | contribs) (Created page with "{{InfoBoxTop}} {{AppliesTo ORCA AN}} {{AppliesTo MITO 8M Mini AN}} {{InfoBoxBottom}} {{WarningMessage|text=This application note was validated against specific versions of the...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Info Box
Warning-icon.png This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the History section. Warning-icon.png

History[edit | edit source]

Version Date Development Kit version
1.0.0 07/10/2022 DESK-MX8M-L-2.0.0-rc2

Introduction[edit | edit source]

This application note details how to use the UUU NXP Universal Update Utility for the i.MX platforms typically via SDP protocol, i.e. over USB OTG connection.

UUU is the replacement for MfgTool Command-line driven (no GUI). It allows a single command image download and it is fully scriptable. It supports all flash types (eMMC, NAND, QSPI, SD…).

Full open-source code is on Github with full documentation.

Build the UUU[edit | edit source]

The following instructions are used for building the uuu utility directly inside the DESK-MX8M-L-2.0.0-rc2 Virtual Machine

As reported in github firstly the following Ubuntu packages have to be installed:

sudo apt-get install libusb-1.0-0-dev libbz2-dev libzstd-dev pkg-config cmake libssl-dev g++

then the git repository will be cloned:

git clone https://github.com/NXPmicro/mfgtools.git

For some Ubuntu 16.04 libzstd incompatibility, it is required to checkout a previous release:

git checkout uuu_1.4.201

Invoking the cmake utility, the application can be built:

cd mfgtools
cmake . && make

and install the application in the system directory:

sudo make install

MVM USB device[edit | edit source]

The USB device has to be enabled inside the VM using the VirtualBox proper Device menu:

DESK-MX8M-L MITO8MMini uuu-USB.png

uuu examples[edit | edit source]

ORCA[edit | edit source]


MITO 8M Mini[edit | edit source]

  • device identification
dvdk@vagrant:~/mfgtools$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.201-0-g005ff6f

Connected Known USB Devices
	Path	 Chip	 Pro	 Vid	 Pid	 BcdVersion
	==================================================
	1:1	 MX8MM	 SDP:	 0x1FC9	0x0134	 0x0101



dvdk@vagrant:~/mfgtools$
  • binary download and programming

Once downloaded, the flash.bin boot image will be directly esecuted on the target and the serial console will show the u-boot messages: