Prepare removable media with an image

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

To transfer the reference image to your target board, copy it onto the appropriate removable USB storage medium, such as a USB memory stick. The steps you use depend on the host platform you use and presume that you have downloaded and extracted the reference to a directory on your host system. For more information about downloading and extracting the reference image, see Get a reference image in this chapter.
Warning: Ensure that you put the image onto a partition on your removable USB storage media (USB memory stick). If accidentally put the image on a partition on your host, you could corrupt or render your host system inoperable.

We recommended that you use USB storage media that supports USB 3.0-compatible transfer speeds. USB storage media with slower speeds often fail to boot the ASRock Beebox and don't have the speeds necessary to run applications. Your storage media should be at least 8GB as the image is just over 4 GB when extracted.

Note: We've tested the Beebox with SanDisk Extreme USB 3.0 32 GB USB flash drives.

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 to boot the Beebox.

Transferring an image using Linux

From the directory you extracted the ZIP file to, run the following command in a terminal to copy a reference image to removable storage:
Note: Some variants of Linux don't require that you use sudo.
sudo dd bs=1048576 if=nuc6-usb.img of=/dev/sdX

This command causes the dd utility to write data to the disk in 1 MB chunks. It assumes that sdX is the device entry for the USB storage, where X is a letter index for the drive name on Linux (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 and may differ depending on whether you use a USB hub.

Transferring an image using macOS

On your macOS host system, you run the following commands to put the image on a USB drive.
  1. In a terminal, run diskutil umount /Volumes/VOLUME_LABEL. For example, to unmount No Name from diskX:
    diskutil umount /Volumes/NO\ NAME/ 
                    
  2. Copy the image to the raw device. You may need to run sudo to run the command.
    sudo dd bs=1048576 if=nuc6-usb.img of=/dev/rdiskXsY
    This command causes the dd utility to write data to the disk in 1 MB chunks. This command assumes that rdiskXsY is the device entry for the USB storage, where Y is a letter index for the drive name on macOS (e.g., a, b).
    Note: The device name shouldn't include a partition suffix. For example, don't use /dev/rdisk1s1.
  3. Run diskutil to eject the disk.
    diskutil eject /dev/rdisk1

Transferring an image using Windows

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

  1. If you don't already have Win32 Disk Imager on your system, download it from the following location:

    http://sourceforge.net/projects/win32diskimager/

  2. Run Win32 Disk Imager.
  3. Browse to the location where you unzipped the image file from the QNX Software Center and click Open.
  4. Click Write to write the nuc6-usb.img file to your removable USB storage device.
  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.