i.MX 8M Plus Evaluation Kit
Preparation
The instructions in this section also applies to those boards with secure boot enabled. There are references on how to perform common instructions along with the flow. Security details the required background for secure boot.
Important
Ensure you replace <factory>
placeholder below with the name of your Factory.
Download the necessary files from
https://app.foundries.io/factories/<factory>/targets
:Click the latest Target with the platform trigger.
Expand the run in the Runs section which corresponds with the name of the board. Download the Factory image for that machine. For example:
lmp-factory-image-<machine_name>.wic.gz u-boot-<machine_name>.itb imx-boot-<machine_name>
Note
The compressed image (
.wic.gz
) is used since LmP v92. Before, the scripts required a compressed file image (.wic
).Download and extract the file
mfgtool-files-<machine_name>.tar.gz
:tar -zxvf mfgtool-files-imx8mp-lpddr4-evk.tar.gz
Organize all the files, mirroring the tree below:
├── lmp-factory-image-imx8mp-lpddr4-evk.wic.gz ├── u-boot-imx8mp-lpddr4-evk.itb ├── sit-imx8mp-lpddr4-evk.bin ├── imx-boot-imx8mp-lpddr4-evk └── mfgtool-files-imx8mp-lpddr4-evk ├── bootloader.uuu ├── full_image.uuu ├── imx-boot-mfgtool ├── uuu └── uuu.exe
Hardware Preparation
Set up the board for updating using the manufacturing tools:
Top view of i.MX 8M Plus EVK
OPTIONAL. Only required if you have problems or want to see the boot console output.
Connect the micro-B end of the USB cable into debug port J23. Connect the other end of the cable to a PC acting as a host terminal. Four UART connections will appear on the PC. For example, on a Linux host:
ls -l /dev/serial/by-id/ otal 0 rwxrwxrwx 1 root root 13 jan 24 10:24 usb-FTDI_Quad_RS232-HS-if00-port0 -> ../../ttyUSB0 rwxrwxrwx 1 root root 13 jan 24 10:24 usb-FTDI_Quad_RS232-HS-if01-port0 -> ../../ttyUSB1 rwxrwxrwx 1 root root 13 jan 24 10:24 usb-FTDI_Quad_RS232-HS-if02-port0 -> ../../ttyUSB2 rwxrwxrwx 1 root root 13 jan 24 10:24 usb-FTDI_Quad_RS232-HS-if03-port0 -> ../../ttyUSB3
Using a serial terminal program like minicom, connect to the port with
if02
in the name (in this examplettyUSB2
). Apply the following configuration:- Baud rate: 115200
- Data bits: 8
- Stop bit: 1
- Parity: None
- Flow control: None
Ensure that the power is off (SW3)
Put the i.MX 8M Plus EVK into programing mode:
Connect your computer to the i.MX 8M Plus EVK board via the USB-C port 1
Download
J6 jack.Connect the USB-C power plug to the port 2
Power
J5 jack.Power on the i.MX 8M Plus EVK board by sliding power switch SW3 to ON.
Flashing
Once in serial downloader mode and connected to your PC, the evaluation board should show up as an NXP® USB device.
For instructions on how to sign the required images before flashing them to the board with secure boot enabled, see:ref:ref-secure-machines
Verify target is present:
lsusb | grep NXP Bus 001 Device 023: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader
In this mode you will use the
uuu
tools to program the images to the eMMC. TheUSB ID
may differ if a different SoC is used.To program the LmP to the EMMC run
$ sudo mfgtool-files-imx8mp-lpddr4-evk/uuu mfgtool-files-imx8mp-lpddr4-evk/full_image.uuu uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51 Success 1 Failure 0 1:92 6/ 6 [Done ] FB: done
Turn off the power
Put the board into run mode
Start the
Device Manager
Select
View
Select
Devices by container
Run the command below to program the LmP to the EMMC:
C:\Users\Someone> mfgtool-files-imx8mp-lpddr4-evk\uuu.exe mfgtool-files-imx8mp-lpddr4-evk\full_image.uuu uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51 Success 1 Failure 0 1:92 6/ 6 [Done ] FB: done
Turn off the power.
Put the board into run mode
Put the i.MX 8M Plus EVK into run mode by switching SW4 to OFF, ON, OFF, OFF to set the board to boot from eMMC.
Power on the i.MX 8M Plus EVK board by sliding the power switch SW3 to ON.