Difference between revisions of "iMX8M Industrial Flashing Procedure"
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
==== Windows ==== | ==== Windows ==== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | + | uuu.exe -b emmc_all imx-boot voipac-image-imx8mq-voipac.wic | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 46: | Line 46: | ||
==== Linux ==== | ==== Linux ==== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | sudo ./uuu -b sd_all | + | sudo ./uuu -b sd_all imx-boot voipac-image-imx8mq-voipac.wic |
</syntaxhighlight> | </syntaxhighlight> | ||
==== Windows ==== | ==== Windows ==== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | C:\uuu>uuu.exe -b sd_all | + | C:\uuu>uuu.exe -b sd_all imx-boot voipac-image-imx8mq-voipac.wic |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:15, 23 January 2023
This page describes how to flash binaries into iMX8M Industial Module's eMMC Flash memory or SD card.
Installing Universal Upload Utility (UUU)
Linux
git clone ssh://git@github.com/NXPmicro/mfgtools.git cd mfgtools mkdir .build && cd .build && cmake .. && make -j`nproc`
The binary called uuu, which is used for flashing, is located in .build/uuu directory.
Windows
- Go to: https://github.com/NXPmicro/mfgtools/releases
- Select the latest stable release.
Example: Releases/uuu_1.4.243: https://github.com/NXPmicro/mfgtools/releases/tag/uuu_1.4.243 - Download: uuu.exe
- Save the file into: C:\uuu
Preparing the binaries
- Download the default bootloader file: imx-boot
- Download the default WIC filesystem image: voipac-image-imx8mq-voipac.wic
Flashing procedure
- Set serial downloader mode by sliding DIP switch S1 BOOT positions to: 1-OFF, 2-ON
- Plug USB Micro-B cable to baseboard CONSOLE connector and PC
- Plug USB-C cable to baseboard USB-C connector and PC
Note: Powering of the development kit is not required during the flashing procedure. - Download and copy imx-boot and *.wic files into uuu\ directory
- Choose one of the following commands to start the flashing process:
eMMC Flash Memory (default)
Linux
sudo ./uuu -b emmc_all imx-boot voipac-image-imx8mq-voipac.wic
Windows
uuu.exe -b emmc_all imx-boot voipac-image-imx8mq-voipac.wic
SD Card
Linux
sudo ./uuu -b sd_all imx-boot voipac-image-imx8mq-voipac.wic
Windows
C:\uuu>uuu.exe -b sd_all imx-boot voipac-image-imx8mq-voipac.wic
After those steps eMMC or SD card is flashed and perform following steps to boot new image:
- unplug USB-C cable from PC
- change switch position S1 BOOT to: 1-on, 2-off (boot mode)
- be sure that S2 BOOT and S3 BOOT switches are in proper position to boot from desired peripherals (eMMC or SD)
- connect debug UART and power on board and messages should appear on serial console