Transfer an image to a target

After you've downloaded a platform-specific reference image for the QNX Platform for ADAS, you must transfer it to your target platform.

Transferring a reference image to removable media

To transfer the reference image to your target board, copy it onto the appropriate removable storage medium. The reference images are approximately 500 MB when zipped, and expand to approximately 4 GB when extracted.

The recommended size of the SD Card is 8 GB, however, 4 GB should be sufficient. We also recommend that you use UHS-I cards for better read/write performance. These cards can be identified by a “U” with a number “1” inside it, as shown below:

Figure 1. The UHS-I identifier
Note: We've tested the QNX Platform for ADAS with the following cards:
  • SanDisk Ultra microSDHC UHS-I 8GB
  • Samsung 16GB EVO Class 10 Micro SDHC Card

To transfer the reference image to an SD card, follow the instructions below for your host OS.

When you've finished transferring the reference image to the removable media, follow the platform-specific startup instructions in Configure hardware and boot a reference image.”

Linux

On a Linux system, use this command-line instruction to copy a reference image to removable storage:
Note: Some variants of Linux may not equired that you use sudo.
sudo dd bs=1048576 if=your_image of=/dev/sdX

This command causes the dd utility to write data to the disk in 1 MB chunks. This command assumes that sdX is the device entry for the SD card (or other removable storage), where X is a letter index for the drive name in the OS (e.g., a, b).

Note: The device name shouldn't include a partition suffix. For example, do not use /dev/sda1. However, on some Linux variants, the device name can be /dev/mmcblk0.

Windows

On a Windows system, to copy a reference image to removable storage:

  1. If you don't already have Win32 Disk Imager on your system, download it from this site, then install it: http://sourceforge.net/projects/win32diskimager/
  2. Run the Win32 Disk Imager.
  3. Browse to the location where you unzipped the image file from the QNX website, and click Open.
  4. Click Write to write the .img file to your SD card.
  5. Click Yes to begin the process of writing the image. When it's complete, you'll see the message “Write successful.”
  6. Click OK, then exit Win32 Disk Imager.