i.MX 6ULL Evaluation Kit#

Pre-Preparation#

Before starting to work with imx6ullevk, switch SW601 to device microSD by setting to OFF, OFF, ON, OFF (from 1–4 bit)

../../_images/imx6_sw601.png

Fig. 38 SW601 settings#

Preparation#

The instructions in this section also applies to those boards with secure boot enabled. There are references on how to perform common instructions along with the flow. Security details the required background for secure boot.

Important

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

  1. Download the 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>
      

      Note

      The compressed image (.wic.gz) is used since LmP v92. Before, the scripts required a compressed file image (.wic).

  2. Download and extract the file mfgtool-files-<machine_name>.tar.gz:

    tar -zxvf mfgtool-files-imx6ullevk.tar.gz

    Contents of mfgtool-files-imx6ullevk :

    ├── bootloader.uuu
    ├── full_image.uuu
    ├── SPL-mfgtool
    ├── u-boot-mfgtool.itb
    ├── uuu
    └── uuu.exe
  3. You should now have the following:

    ├── lmp-factory-image-imx6ullevk.wic.gz
    ├── u-boot-imx6ullevk.itb
    ├── sit-imx6ullevk.bin
    ├── SPL-imx6ullevk
    └── mfgtool-files-imx6ullevk

Hardware Preparation#

Set up the board for updating using the manufacturing tools:

image_board_top

Top view of imx6ullevk

  1. OPTIONAL. Only required if you have problems or want to see the boot console output.

    Connect the micro-B end of the USB cable into debug port J1901. Connect the other end of the cable to a PC acting as a host terminal. One UART connections will appear on the PC. For example, on a Linux host:

    Using a serial terminal program like minicom, connect to the port with if00 in the name (in this example ttyUSB2). Apply the following configuration:

    • Baud rate: 115200

    • Data bits: 8

    • Stop bit: 1

    • Parity: None

    • Flow control: None

  2. Ensure that the power is off (SW2001)

  3. Put the imx6ullevk into programing mode:

    Switch SW602 to OFF, ON (from 1-2 bit) to Download Mode.

    image_board_SW

    Location of SW602 dip switch on imx6ullevk

  4. Connect your computer to the imx6ullevk board via the micro-B port 1 Download USB OTG jack.

  5. Connect the 5V power plug to the port 2 Power J2001 jack.

  6. Power on the imx6ullevk board by sliding power switch SW2001 to ON.

Flashing#

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

For instructions on how to sign the required images before flashing them to the board with secure boot enabled, see Machines with Secure Aspects Enabled by FoundriesFactory.

  1. Verify target is present:

    $ lsusb | grep NXP
    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. The USB ID may differ if a different SoC is used.

  2. To program the LmP to the EMMC run

    $ sudo mfgtool-files-imx6ullevk/uuu mfgtool-files-imx6ullevk/full_image.uuu
    uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51
    
     Success 1    Failure 0
    
    
     1:92     6/ 6 [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: usb_device_windows

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

    PS C:\Users\Someone> mfgtool-files-imx6ullevk\uuu.exe mfgtool-files-imx6ullevk\full_image.uuu
    uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51
    
    Success 1    Failure 0
    
    
    1:92     6/ 6 [Done                                  ] FB: done
  6. Turn off the power

  7. Put the board into run mode.

Put the imx6ullevk into run mode by switching SW602 to ON, OFF to set the board to boot from eMMC.

Power on the imx6ullevk board by sliding the power switch SW2001 to ON.