Apalis iMX6 with the Ixora Carrier Board

Preparation

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

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

  1. Click the latest Target with the platform-devel trigger.

    ../../_images/generic-steps-1.png
  2. Expand the run in the Runs section (by clicking on the + sign) which corresponds with the name of the board and download the Factory image for that machine.

    E.g: lmp-factory-image-apalis-imx6.wic.gz
    SPL-apalis-imx6
    u-boot-apalis-imx6.itb
    ../../_images/apalis-imx6-steps-2.png
  3. Extract the file lmp-factory-image-apalis-imx6.wic.gz:

    gunzip lmp-factory-image-apalis-imx6.wic.gz
    
  4. Expand the run in the Runs section which corresponds with the name of the board mfgtool-files and download the tools for that machine.

    E.g: apalis-imx6-mfgtools

  5. Download and extract the file mfgtool-files-apalis-imx6.tar.gz:

    tar -zxvf mfgtool-files-apalis-imx6.tar.gz
    
  6. Organize all the files like the tree below:

    ├── lmp-factory-image-apalis-imx6.wic
    ├── mfgtool-files-apalis-imx6
    │   ├── bootloader.uuu
    │   ├── full_image.uuu
    │   ├── SPL-mfgtool
    │   ├── u-boot-mfgtool.itb
    │   ├── uuu
    │   └── uuu.exe
    ├── SPL-apalis-imx6
    └── u-boot-apalis-imx6.itb
    

Hardware Preparation

Set up the board for updating using the manufacturing tools:

  1. Ensure that the power is off (SW1)

  2. Put the apalis-imx6 into Recovery Mode:

    Remove the JP2 jumper from the board

    ../../_images/apalis-imx6-jp2.png

    JP2 location

    Connect the Micro-USB cable to the X9 connector

    ../../_images/apalis-imx6-usb.png

    USB location

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

    ../../_images/apalis-imx6-jp4.png

    Recovery jumper location

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

    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 Freescale
    Bus 002 Device 052: ID 15a2:0080 Freescale Semiconductor, Inc.
    

    In this mode you will use the uuu tools to program the images to the eMMC.

  2. Run the command below to program the LmP to the EMMC:

    $ 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

  1. Start the Device Manager
  2. Select View
  3. Select Devices by container
  4. Verify a device like the following:
../../_images/imx6_windows.png
  1. Run the command below to program the LmP to the EMMC:

    C:\Users\Someone> mfgtool-files-<machine_name>\uuu.exe -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
    
  2. Turn off the power.

  3. Put the board into run mode

To go back 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.