Difference between revisions of "iMX8M Industrial Flashing Procedure"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
== Downloading the binaries == | == Downloading the binaries == | ||
+ | * the default bootloader file: [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/software/yocto/binaries/imx-boot imx-boot] | ||
+ | * the default WIC filesystem file: [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/software/filesystem/voipac-image-imx8mq-voipac.wic voipac-image-imx8mq-voipac.wic] | ||
== Flashing procedure == | == Flashing procedure == |
Revision as of 15:12, 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
Downloading the binaries
- the default bootloader file: imx-boot
- the default WIC filesystem file: voipac-image-imx8mq-voipac.wic
Flashing procedure
For flashing eMMC or SD card we need to perform several steps:
- change switch position S1 BOOT to: 1-off, 2-on (serial downloader mode)
- plug USB-C cable to PC and to board USB C connector
- prepare imx-boot and *.wic files
- run following commands for flashing media
eMMC
Linux
sudo ./uuu -b emmc_all <path to imx-boot file> <path to wic file>
Windows
C:\uuu>uuu.exe -b emmc_all <path to imx-boot file> <path to wic file>
SD
Linux
sudo ./uuu -b sd_all <path to imx-boot file> <path to wic file>
Windows
C:\uuu>uuu.exe -b sd_all <path to imx-boot file> <path to wic file>
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