/
Boot from USB OTG - i.MX8M

Boot from USB OTG - i.MX8M

Revisions and Notes

Date

Owner

Revision

Notes

Date

Owner

Revision

Notes

Feb 23, 2022

 

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.

  • Make sure you can detect the USB = NXP Semiconductors in the usb devices list.

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
  • You can build your own image using the runme.sh script here – https://github.com/SolidRun/imx8mp_build. The flash.bin should be under  $ROOGitHub - SolidRun/imx8mp_build: IMX8M Plus buildroot build script​.TDIR/build/imx-mkimage/iMX8M/flash.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.

  • Make sure you can detect the USB = NXP Semiconductors in the usb devices list with the exact same vendor ID as shown in the below figure:

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

Then, you should be able to see the following:

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

 

 

 

 

 

Related content

HummingBoard Pulse/Ripple and Pro Boot Select
HummingBoard Pulse/Ripple and Pro Boot Select
Read with this
Boot from USB OTG - i.MX6
Boot from USB OTG - i.MX6
More like this
HummingBoard Pulse & i.MX8M Plus SOM Quick Start Guide
HummingBoard Pulse & i.MX8M Plus SOM Quick Start Guide
Read with this
eFuses for i.MX6 SOM (Developers page)
eFuses for i.MX6 SOM (Developers page)
More like this
Building Chromium for i.MX8M Plus
Building Chromium for i.MX8M Plus
Read with this
eFuses for i.MX6 SOM
eFuses for i.MX6 SOM
More like this

SolidRun Ltd.