-
Notifications
You must be signed in to change notification settings - Fork 301
How to use UUU on Windows
UUU works for both Linux and Windows distributions. This page describes the steps on Windows.
To use UUU on windows the following files are required.
libusb-1.0.dll
uuu.exe
The files can be downloaded from the GitHub's Release tab
Besides the USB Lib DLL (libusb-1.0.dll
) file and the application executable file (uuu.exe
) the target artifacts (such as boot loaders, kernel, and root filesystem images) should in the same folder.
The script file uuu.auto
is optional and is released inside the IMX BSP Release bundle [link] along with all IMX BSP Release artifacts such as the .sdcard
, zImage
, boot loaders and DTB files.
❗ The file uuu.auto
must be placed in the same folder as the application executable file uuu.exe
.
In the L4.9.123_2.3.0_8mm-ga
case, the uuu.auto
flash all the artifacts to the target eMMC.
The folder content is:
Directory of C:\Users\people\L4.9.123_2.3.0_8mm-ga
15-Sep-18 09:36 AM <DIR> .
15-Sep-18 09:36 AM <DIR> ..
13-Sep-18 10:08 AM 2,264,924,160 fsl-image-validation-imx-imx8mmevk.sdcard
12-Sep-18 07:24 PM 1,349,460 imx-boot-imx8mmevk-sd.bin-flash_evk
12-Sep-18 03:56 PM 157,184 libusb-1.0.dll
12-Sep-18 04:17 PM 581 uuu.auto
12-Sep-18 10:07 AM 292,352 uuu.exe
❗ The uuu.auto
file can be found inside the L4.9.123_2.3.0_8mm-ga
pre-built bundle [link].
The list of dependencies to use UUU on Windows is listed below.
libusb-1.0.dll
- (optional) A serial console emulator (such as Putty or TeraTerm)
- (optional) The USB to serial converter driver (see How-to-install-USB-to-serial-driver-on-Windows for detail)
The UUU application can be executed from the command line (using CMD
, for example) or automatically with a double click
from any folder window.
❗ Open the lower COM
port to monitor the Cortex A* log messages while UUU is being executed.
When executing from a double click the uuu.exe
file is executed and looks for the uuu.auto
script file (which should be placed in the same folder as uuu.exe
which is the list of commands UUU executes to download, run or flash the images.
See other examples of UUU scripts on Sample-script.
Prefer user open some shell, for example CMD
(which is available on any Windows version) or PorwerShell
(which can be downloaded and installed)
In this option, when executing only uuu.exe
from the command line, the UUU is executed and reads the file uuu.auto
for the script to be executed on the target.
❗ The uuu.auto
file can be found inside the L4.9.123_2.3.0_8mm-ga
pre-built bundle [link].
- Setup the board (below steps is example for i.MX8MM Mini EVK boards)
- Connect the USB power supply to the
J302
connector (the USB Type-C POWER connector) - Connect the USB Type-C cable to the serial download connector (
J301
) to the host machine - Connect the serial debug (connector
J901
) to the host machine using a USB micro-B cable - Set the boot mode switches to the
Download Mode
(see sticker or silk on the board) - Turn on the board on ON/OFF switch (
SW101
)
- Connect the USB power supply to the
- Open
CMD
- Navigate to the folder with the
uuu.exe
,uuu.auto
,libusb-1.0.dll
, and the images to be installed on the target. - Execute
uuu.exe
The UUU starts the flash process by loading the boot loader to the RAM, and using it to make the copy. In case everything works fine the final message shows zero errors. See the image below with the UUU execution on CMD
on the left and the Cortex A53 log message on Putty on the right.
❗ UUU can be used without a uuu.auto
script. There are some examples on what tasks UUU can perform only from command line on Example]
uuu.exe -b sd imx-boot-imx8mmevk-sd.bin-flash_evk
Go back to Home