Difference between revisions of "iMX8M Industrial Flashing Procedure"
Jump to navigation
Jump to search
(Created page with "Page describe how to flash iMX8M eMMC and SD card") |
|||
Line 1: | Line 1: | ||
Page describe how to flash iMX8M eMMC and SD card | Page describe how to flash iMX8M eMMC and SD card | ||
+ | |||
+ | == Installing uuu (Universal Upload Utility) === | ||
+ | === Linux === | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | git clone ssh://git@github.com/NXPmicro/mfgtools.git | ||
+ | cd mfgtools | ||
+ | mkdir .build && cd .build && cmake .. && make -j`nproc` | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | In .build/uuu there is binary called uuu which is used for flashing | ||
+ | |||
+ | === Windows === | ||
+ | TBD | ||
+ | |||
+ | 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 command for flashing emmc | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo ./uuu -b emmc_all <path to imx-boot file> <path to wic file> | ||
+ | </syntaxhighlight> | ||
+ | # run following command for flashing sd card | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo ./uuu -b sd_all <path to imx-boot file> <path to wic file> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | 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 |
Revision as of 09:31, 9 February 2022
Page describe how to flash iMX8M eMMC and SD card
Installing uuu (Universal Upload Utility) =
Linux
git clone ssh://git@github.com/NXPmicro/mfgtools.git cd mfgtools mkdir .build && cd .build && cmake .. && make -j`nproc`
In .build/uuu there is binary called uuu which is used for flashing
Windows
TBD
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 command for flashing emmc
sudo ./uuu -b emmc_all <path to imx-boot file> <path to wic file>
- run following command for flashing sd card
sudo ./uuu -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