BeagleBone Black

These instructions describe how to build a QNX Apps and Media target image for BeagleBone Black 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 image for Texas Instruments AM335x BeagleBone Black platforms, on your host system:

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


    # source base_dir/



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

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


    export QNX_QT=qt_base_dir/QNX-qt/Qt-5.3.1-armle-v7


    set QNX_QT=qt_base_dir\QNX-qt\Qt-5.3.1-armle-v7
  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/beaglebone/
  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 (Linux) or mksysimage.bat (Windows) to generate a system image file (.img): -P AnM -o output_dir beaglebone.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 micro SD card so you can transfer it to your target. For instructions, see "Downloading and transferring a reference image."