x86 Bay Trail

These instructions describe how to build a QNX Apps and Media target image for x86 Bay Trail platforms.

Before building your target image, you should understand the available scripts and configuration files, and prepare your working environment, as described in "Setting up." You should also understand the general procedure for extracting and building a BSP, as discussed in "Board Support Packages (BSPs)." Be aware, however, that the steps that follow are not the same as the general BSP build steps.

To build your own QNX Apps and Media target image for Intel x86 Bay Trail platforms, on your host system:

  1. Set up the environment variables for the QNX SDP, and the development environment for QNX Apps and Media:

    Linux:

    # source base_dir/qnx660-env.sh

    Windows:

    base_dir\qnx660-env.bat

    where base_dir is the directory where you installed the QNX SDP 6.6.

  2. Set the QNX_QT environment variable to the location of the Qt runtime on your host system:

    Linux:

    export QNX_QT=qt_base_dir/QNX-qt/Qt-5.3.1-x86

    Windows:

    set QNX_QT=qt_base_dir\QNX-qt\Qt-5.3.1-x86
  3. Extract a BSP, then copy everything from the /prebuilt directory to the board-specific directory in the $QNX_DEPLOYMENT_WORKSPACE path, as follows. We'll refer to the directory where you extracted the BSP as bsp_dir:

    cd bsp_dir
    cp -r prebuilt/* $QNX_DEPLOYMENT_WORKSPACE/target/boards/baytrail/
  4. Create an output directory where you want to have the image generated:
    mkdir output_dir
  5. From the QNX_DEPLOYMENT_WORKSPACE/infra/utils/scripts/ directory, run mksysimage.sh (Linux) or mksysimage.bat (Windows) to generate a system image file (.img), using the path to the x86 IPL:

    mksysimage.sh -P AnM -o output_dir -k "-b
        base_dir/target/qnx6/x86/boot/sys/ipl-diskpc1" baytrail.ext -f

    where output_dir is the location of the new image.

You should now have an image file (.img) ready to write to a USB key so you can transfer it to your target. For instructions, see "Downloading and transferring a reference image."