Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Revisions and Notes

Date

Owner

Revision

Notes

1.0

Initial release

Table Of Contents

Table of Contents

...

1. Clone a repository to install and build ‘usb_imx’ tools imx_usb_loader application by run the follwoing:

Code Block
git clone https://github.com/boundarydevices/imx_usb_loader.git
cd imx_usb_loader
make  
  • imx_usb_loader : This application implements the Serial Download Protocol that the i.MX6 Boot-ROM uses to communicate. It is available on github account of boundarydevices.

  • The final binary is called imx_usb and can be executed in place.

2. Install SPL & U-Boot binaries.:

Code Block
wget https://solid-run-images.sos-de-fra-1.exo.io/IMX6/U-Boot/spl-imx6-sdhc.bin
wget https://solid-run-images.sos-de-fra-1.exo.io/IMX6/U-Boot/u-boot-imx6-sdhc.img
  • You can Install U-Boot & SPL binaries from SolidRun

...

3. Serial connection

Please see our pages Cubox-i, HummingBoard Edge under serial connection section.

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

Info

Identify the OTG port

To quote our developer Jon: “it is the top port next to the Ethernet jack” More formally it is the top port on the U5 header. This holds true of all our i.MX6 based boards.

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

...

5. Run the script imx_usb exec with the SPL & U-Boot to load the U-Boot by running the followingSPL:

Code Block
sudo ./imx_usb spl-imx6-sdhc.bin

On success, SPL should announce itself on the serial console:

...

6. Run the script imx_usb exec with the U-Boot to load U-Boot :

Code Block
sudo ./imx_usb u-boot-imx6-sdhc.img

Then you should be able to see the following:

...

On success, U-Boot should announce itself on the serial console:

...

Tip

Success Indicator for Cubox-i
The Cubox-i has an LED that is off by default and turned on by u-boot. So if the LED turns red, U-Boot was loaded successfully.

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