Skip to content

Instantly share code, notes, and snippets.

@terrillmoore
Last active May 25, 2022 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terrillmoore/7f6bc2da6f0b50a25b5a0e85f18eaa0d to your computer and use it in GitHub Desktop.
Save terrillmoore/7f6bc2da6f0b50a25b5a0e85f18eaa0d to your computer and use it in GitHub Desktop.

Reflashing the MCIMX8M-EVKB with Android

We bought a couple of MCIMX8M-EVKB, and one came in bricked. It's a bit complicated to reflash them; here are the instructions all in one place.

These are instructions for Windows.

  1. Download the appropriate version of uuu from GitHub

  2. Download the image for 12.0.0_1.0.0_DEMO_8MQ:

    • browse to the eval kit download page
    • Scroll down to software and click "show all": image
    • Change to Sort by date: image
    • Sign in (if needed) and finish the download.
    • The file will be named android-12.0.0_1.0.0_image_8mqevk.tar.gz
  3. Unpack the images.

  4. Start an administrative command prompt where you unpacked the images.

  5. Refer to the "Android Quick Start Guide", section 6.3.

  6. Make sure uuu is on your path.

  7. Set SW802 to SW1=off, SW2=on

  8. Connect the type C cable from the MCIMX8M-EVKB to a port on your PC. If you like, also connect the debug USB cable, and open a port to the "Enhanced port", and you can watch progress.

  9. In the administrative command prompt, enter the command:

    .\uuu_imx_android_flash.bat -f imx8mq -a -e -u trusty

    Here's an image after things succeed (takes a minute or two): image

Power off the board. Set SW802 back to SW1=on, SW2=off (normal boot).

Power the board back on. You should see the normal boot kind of messages:

image

Meta

Author: Terry Moore, MCCI Corporation (mcci.com). We do system software for USB and IoT, and a variety of specialized hardware products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment