Apalis iMX8 with the Ixora Carrier Board

Preparation

Important

Ensure you replace the <factory> placeholder below with the name of your Factory.

  1. Download necessary files from https://app.foundries.io/factories/<factory>/targets

    1. Click the latest Target with the platform trigger.

    2. Expand the run in the Runs section which corresponds with the name of the board. Download the Factory image for that machine. For example:

      lmp-factory-image-<machine-name>.wic.gz
      u-boot-<machine-name>.itb
      imx-boot-<machine-name>
      
  2. Extract the file lmp-factory-image-<machine-name>.wic.gz:

    gunzip lmp-factory-image-<machine-name>.wic.gz
    
  3. Expand the run in the Runs section which corresponds with the name of the board. Download the mfgtools for that machine, e.g., mfgtool-files-<machine-name>.tar.gz.

  4. Extract the file

    tar -zxvf mfgtool-files-<machine-name>.tar.gz
    
  5. Organize all the files, mirroring the tree below:

    ├── lmp-factory-image-<machine-name>.wic.gz
    ├── u-boot-<machine-name>.itb
    ├── imx-boot-<machine-name>
    └── mfgtool-files-<machine-name>
        ├── bootloader.uuu
        ├── full_image.uuu
        ├── SPL-mfgtool
        ├── u-boot-mfgtool.itb
        ├── uuu
        └── uuu.exe
    

Hardware Preparation

Set up the board for updating using the manufacturing tools:

  1. Ensure that the power is off (SW1)

  2. Put the apalis-imx into Recovery Mode:

    1. Remove the JP2 jumper from the board

      ../../_images/apalis-imx-jp2.png

      Fig. 69 JP2 location

    2. Connect the Micro-USB cable to the X9 connector

      ../../_images/apalis-imx-usb.png

      Fig. 70 USB location

    3. Connect the two bottom pads of JP4 as in the following images

      ../../_images/apalis-imx-jp4.png

      Fig. 71 Recovery jumper location

      ../../_images/apalis-imx-jp4-close.jpeg

      Fig. 72 Recovery jumper setup

  3. Power on the board by pressing the SW1 button.

Flashing

Once in serial downloader mode and connected to your PC, the evaluation board should show up as a Freescale USB device.

Note

Device names and IDs can slightly differ from the steps below.

  1. Verify target is present:

    $ lsusb | grep NXP
    Bus 001 Device 023: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader
    

    In this mode, you will use the uuu tools to program the images to the eMMC. The USB ID may differ if a different SoC is used.

  2. To program the LmP to the EMMC, run:

    $ sudo mfgtool-files-<machine-name>/uuu -pp 1 mfgtool-files-<machine-name>/full_image.uuu
    uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-0-ga9c099a
    
    Success 1    Failure 0
    
    
    1:31     3/ 3 [=================100%=================] SDPV: jump
    2:31     8/ 8 [Done                                  ] FB: done
    
  3. Turn off the power

  4. Put the board into run mode.

To return to run mode, disconnect the jumper from the recovery pads (JP4) and reconnect the JP2 jumper.

Power on the board to boot the new image.