nxp-imx / mfgtools

Freescale/NXP I.MX Chip image deploy tools.
BSD 3-Clause "New" or "Revised" License
544 stars 298 forks source link

uuu (Universal Update Utility), mfgtools 3.0

macOS Build Build with VS Studio Build for x64 ubuntu-lastest

GitHub

universal-update-utility

Freescale/NXP I.MX Chip image deploy tools. original linux version uses "linux" branch, windows version uses "windows" branch

uuu (universal update utility) for nxp imx chips -- libuuu-1.0.1-gffd9837

Succeded:0       Failed:3               Wait for Known USB Devices to Appear...

1:11     5/5 [                                        ] SDP: jump -f u-boot-dtb.imx -ivtinitramf....
2:1      1/5 [===>                                    ] SDP: boot -f u-boot-imx7dsabresd_sd.imx ....

Key features

Examples:

  uuu u-boot.imx            Download u-boot.imx via HID device

  uuu list.uu               Run all the commands in list.uu

  uuu -s                    Enter shell mode. Input command.

  uuu -v u-boot.imx         verbose mode

  uuu -d u-boot.imx         Once it detects the attachment of a known device, download boot.imx.

                            u-boot.imx can be replaced, new file will be download once board reset.

                            Do not unplug the SD card, write to the SD card, nor plug in a SD card when debugging uboot.

  uuu -b emmc u-boot.imx    write u-boot.imx to emmc boot partition. u-boot.imx need enable fastboot

  uuu -b emmc_all wic.zst   decompress wic.zst file and download the whole image into emmc

Prebuilt Image and pdf document

The prebuilt image and document are here:

How to Build:

Windows

Visual Studio

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.

Linux

The above commands build mfgtools in source. To build it out of source (requires cmake 3.13 or newer):

For cmake prior 3.13:

macOS

Note that we assume homebrew is installed and can be used to resolve dependencies as shown above. The remaining dependency libbz2 can be resolved via the XCode supplied libraries.

Note if you meet "can't detach kernel driver" try to check libusb version.

brew info libusb
==> libusb: stable 1.0.26 (bottled), HEAD

Run environment

License

uuu is licensed under the BSD license. See LICENSE. The BSD licensed prebuilt Windows binary version of uuu is statically linked with the LGPL libusb library, which remains LGPL.