Boot from USB OTG - i.MX8M
Revisions and Notes
Date
Owner
Revision
Notes
23 Feb 2022
1.0
Initial release
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.gitPlease follow the Build instructions.
2. Install U-Boot binaries
You can Install U-Boot binaries from SolidRun Images site.
3. Set the switches on the boot source selector as follows:

4. Serial connection
Connect your micro USB cable to your device.
You can refer to the serial connection section in one of our quick start guide pages - Cubox-M, HummingBoard Pulse.
5. 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.
6. Use the following commands for loading the U-Boot:
For more information about the uuu tools, you can refer to https://github.com/NXPmicro/mfgtools
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
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.
Last updated