Transferring an Image to a microSD card

For QNX CAR 2.1, a 4GB Class 4 SD card is the minimum requirement, but we recommend Class 10 cards. To identify this SD card type, look on the card for a "C" character with a number inside the character. Cards without a class indication are Class 0—don't use them.

Note: The 16GB SanDisk Ultra® microSDHC™ UHS-I SD cards have been tested with the QNX CAR platform and are recommended.

To transfer a QNX CAR image to a microSD card for your target, follow these OS-specific steps:

Host OS Command / instructions
sudo dd bs=1048576 if=your_image of=/dev/sdx
This command causes the dd utility to write 1MB chunks of data to the disk at a time. In addition, the command assumes that sdx is the SD card.
Note: The device name shouldn't include a partition suffix. For example, don't use /dev/sdx1. However, the device name can be /dev/mmcblk0 on some Linux distributions.
  1. Download and install Win32 Disk Imager from this site:

  2. Using Win32 Disk Imager, write the .img file to your microSD card.
Now, boot the image on your target board. The instructions vary with the board type:
Freescale i.MX6Q SABRE Lite board
  1. Insert the SD card you prepared earlier into the lower slot (i.e., the large, full-size SD card slot) on the SABRE Lite board.
  2. Press the Reset button.
  3. Interrupt the countdown by pressing any key during the first boot of the system.
  4. Enter the following commands to prepare the U-Boot environment variables for booting the QNX CAR system:
    MX6Q SABRELITE U-Boot> setenv sdslot '0' 
    MX6Q SABRELITE U-Boot> setenv loadaddr '0x10800000' 
    MX6Q SABRELITE U-Boot> setenv bootifs 'qnx-ifs' 
    MX6Q SABRELITE U-Boot> setenv bootcmd_fatload 'mmc dev ${sdslot}; fatload mmc ${sdslot}:1\z
     ${loadaddr} ${bootifs}; go ${loadaddr}' 
    MX6Q SABRELITE U-Boot> setenv bootcmd 'run bootcmd_fatload' 
    MX6Q SABRELITE U-Boot> saveenv
  5. Type boot or press the Reset button.

    This action restarts the QNX CAR system.

  6. Program the QNX IPL onto your board.

    After the QNX CAR system starts and the HMI comes up, flash the QNX IPL. At the console prompt on your target, issue the following command:

    # /dos/ipl-mx6q-sabrelite.bin

    This step prevents issues with older boot loaders from occurring on the i.MX6Q SABRE Lite board. The script replaces the existing boot loader with the QNX boot loader. The next time you boot, the QNX IPL will load the QNX CAR system.

All other board types
  1. Insert the SD card into your target board and power on the board.

    The board automatically boots and prompts you to calibrate your screen.

  2. Follow the instructions to calibrate the screen.

    After you do this, the HMI appears on your display.

Note: You can configure your reference board for boot optimization, as explained in the Boot Optimization Guide.