1 # uuu (Universal Update Utility), mfgtools 3.0
3 [![Build status](https://ci.appveyor.com/api/projects/status/github/NXPmicro/mfgtools?svg=true)](https://ci.appveyor.com/project/nxpfrankli/mfgtools-kvqcg)
4 [![Build Status](https://travis-ci.com/NXPmicro/mfgtools.svg?branch=master)](https://travis-ci.com/NXPmicro/mfgtools)
6 ![GitHub](https://img.shields.io/github/license/NXPmicro/mfgtools.svg)
8 [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/universal-update-utility) sudo snap install universal-update-utility;
10 Freescale/NXP I.MX Chip image deploy tools.
11 **original linux version uses "linux" branch, windows version uses "windows" branch**
13 uuu (universal update utility) for nxp imx chips -- libuuu-1.0.1-gffd9837
15 Succeded:0 Failed:3 Wait for Known USB Devices to Appear...
17 1:11 5/5 [ ] SDP: jump -f u-boot-dtb.imx -ivtinitramf....
18 2:1 1/5 [===> ] SDP: boot -f u-boot-imx7dsabresd_sd.imx ....
21 - The real cross platform. Linux, Windows, MacOS(not test yet)
22 - Multi devices program support
24 - Few depedencies (only libusb, zlibc, libbz2)
25 - Firmware (uboot/kernel) uses WCID to auto load the winusb driver on the Windows side. Windows7 users need to install the winusb driver from https://zadig.akeo.ie/ Windows10 will install the driver automatically.
29 uuu u-boot.imx Download u-boot.imx via HID device
31 uuu list.uu Run all the commands in list.uu
33 uuu -s Enter shell mode. Input command.
35 uuu -v u-boot.imx verbose mode
37 uuu -d u-boot.imx Once it detects the attachement of a known device, download boot.imx.
39 u-boot.imx can be replaced, new file will be download once board reset.
41 Do not unplug the SD card, write to the SD card, nor plug in a SD card when debugging uboot.
43 uuu -b emmc u-boot.imx write u-boot.imx to emmc boot partition. u-boot.imx need enable fastboot
45 uuu -b emmc_all u-boot.imx sdcard.bz2\*
46 decompress sdcard.bz2 file and download the whole image into emmc
49 # Prebuilt Image and pdf document
51 The prebuilt image and document are here:
52 - https://github.com/NXPmicro/mfgtools/releases
53 - UUU.pdf is snapshot of [wiki](https://github.com/NXPmicro/mfgtools/wiki)
58 - `git clone https://github.com/NXPmicro/mfgtools.git`
60 - `git submodule init`
61 - `git submodule update`
62 - `open msvs/uuu.sln with Visual Studio 2017`
66 Note that, since uuu is an OSI compliant Open Source project, you are entitled to download and use the freely available Visual Studio Community Edition to build, run or develop for uuu. As per the Visual Studio Community Edition license this applies regardless of whether you are an individual or a corporate user.
69 - `git clone https://github.com/NXPmicro/mfgtools.git`
71 - `sudo apt-get install libusb-1.0-0-dev libzip-dev libbz2-dev pkg-config cmake libssl-dev g++`
75 - `git clone https://github.com/NXPmicro/mfgtools.git`
77 - `brew install cmake libusb libzip openssl pkg-config`
78 - `cmake -DOPENSSL_ROOT_DIR=$(brew --prefix)/opt/openssl . && make`
80 Note that we assume [brew](https://brew.sh) is installed and can be used to resolve dependencies as shown above. The remaining dependency `libbz2` can be resolved via the XCode supplied libraries.
84 - Linux (Ubuntu) 64 bit
86 - 32 bit systems will have problems with big files.
89 uuu is licensed under the BSD license. See LICENSE.
90 The BSD licensed prebuilt Windows binary version of uuu is statically linked with the LGPL libusb library, which remains LGPL.
92 - bzip2 (BSD license) is from https://github.com/enthought/bzip2-1.0.6
93 - zlib (zlib license) is from https://github.com/madler/zlib.git
94 - libusb (LGPL-2.1) is from https://github.com/libusb/libusb.git