i.MX 93 Evaluation Kit¶
Preparation¶
Ensure you replace the <factory>
placeholder below with the name of your
Factory.
Download necessary files from
https://app.foundries.io/factories/<factory>/targets
Extract the file
lmp-factory-image-<machine-name>.wic.gz
:gunzip lmp-factory-image-<machine-name>.wic.gz
Expand the run in the Runs section which corresponds with the name of the board mfgtool-files and download the tools for that machine.
E.g:
mfgtool-files-<machine-name>.tar.gz
Download and extract the file
mfgtool-files-<machine-name>.tar.gz
:tar -zxvf mfgtool-files-<machine-name>.tar.gz
Organize all the files like the tree below:
├── lmp-factory-image-<machine-name>.wic.gz ├── u-boot-<machine-name>.itb ├── imx-boot-<machine-name> └── mfgtool-files-<machine-name> ├── bootloader.uuu ├── full_image.uuu ├── SPL-mfgtool ├── u-boot-mfgtool.itb ├── uuu └── uuu.exe
Hardware Preparation¶
Set up the board for updating using the manufacturing tools:
OPTIONAL—Only required if you have problems and/or want to see the boot console output.
Connect the micro-B end of the USB cable into debug port J1401. Connect the other end of the cable to a PC acting as a host terminal. Four UART connections will appear on the PC. On a Linux host for example:
$ ls -l /dev/serial/by-id/ total 0 lrwxrwxrwx 1 root root 13 abr 20 16:20 usb-FTDI_Quad_RS232-HS-if00-port0 -> ../../ttyUSB0 lrwxrwxrwx 1 root root 13 abr 20 16:20 usb-FTDI_Quad_RS232-HS-if01-port0 -> ../../ttyUSB1 lrwxrwxrwx 1 root root 13 abr 20 16:20 usb-FTDI_Quad_RS232-HS-if02-port0 -> ../../ttyUSB2 lrwxrwxrwx 1 root root 13 abr 20 16:20 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 example ttyUSB2) and apply the following configuration:- Baud rate: 115200
- Data bits: 8
- Stop bit: 1
- Parity: None
- Flow control: None
Ensure that the power is off (SW301)
Put the i.MX 93 EVK into programing mode:
Connect your computer to the i.MX 93 EVK board via the USB Type-C port 1
Download
J401 jack.Connect the USB Type-C power plug to the port 2
Power
J301 jack.Power on the i.MX 93 EVK board by sliding power switch SW301 to ON.
Flashing¶
Once in serial downloader mode and connected to your PC the evaluation board should show up as an NXP® USB device.
Verify target is present:
$ lsusb | grep NXP Bus 001 Device 018: ID 1fc9:014e NXP Semiconductors OO Blank 93
In this mode you will use the
uuu
tools to program the images to the eMMC. The USB ID may differ if a different SoC is used.Run the command below to program the LmP to the EMMC:
$ sudo mfgtool-files-<machine-name>/uuu mfgtool-files-<machine-name>/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
- Verify a device like the following:
Run the command below to program the LmP to the EMMC:
C:\Users\Someone> mfgtool-files-<machine-name>\uuu.exe mfgtool-files-<machine-name>\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
To put the i.MX 93 EVK into run mode by switching SW1301 to ON, ON, ON, ON to set Cortex-A to boot from eMMC.
Power on the i.MX 93 EVK board by sliding power switch SW301 to ON.