Revisions and Notes

Date

Owner

Revision

Notes

1.0

Initial release

Table Of Contents

Introduction

The following documentation provides a quick guide to boot from USB OTG port.

Step-by-step

1. Clone the mfgtools project by running the following:

git clone https://github.com/NXPmicro/mfgtools.git

Please make sure to have cmake 3.19 or a newer version.

2. Install U-Boot binaries

3. Set the switches on the boot source selector as follows:

4. Serial connection

Connect your micro USB cable to your device.

5. Connect the Male to Male USB-A cable to the OTG port on your device.

Identify the OTG port
It’s the upper USB port. This holds true of all our i.MX8 based boards.

6. Use the following commands for loading the U-Boot:

cd <DIRPATH>/mfgtools/uuu/
sudo ./uuu <flash.bin-dir>/flash.bin

i.MX8M-Plus Example

The following is an example for i.MX8M-Plus Step-by-step:

1. Once you built the mfgtools, run the following to install the U-Boot binaries

wget https://solid-run-ignition.sos-de-fra-1.exo.io/imx8mp/Buildroot/flash-uboot-1g-and-3g.bin

2. Connect your micro USB cable to your device.

3. Connect the Male to Male USB-A cable to the OTG port on your device.

4. Change your current working directory and load the U-Boot:

cd <DIRPATH>/mfgtools/uuu/
sudo ./uuu <flash.bin-dir>/flash-uboot-1g-and-3g.bin

Then, you should be able to see the following:

At this point U-Boot has been loaded to RAM and is running.