Getting and extracting a BSP

You can download QNX BSPs from the QNX Foundry27 website.

Prerequisites

Note: These instructions are generic. For SDP and board-specific instructions, see the BSP User's Guide that accompanies every QNX BSP on Foundry27.

Before you start to work with a QNX BSP, you need:

Get a BSP

To download a BSP:

  1. Log in to your myQNX account and go to the BSP directory on Foundry27 (community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/BSPAndDrivers).
  2. Look for the BSP for your board and SDP release, and download it. You should find the BSP User's Guide next to the BSP.

Your BSP is delivered as a zip archive. After you have downloaded the archive to a convenient location, to begin using it you can either unzip it from the command line, or import it into the IDE.

Extract from the command line

We recommend that you create a default directory with the same name as your BSP, then unzip the archive from there:

  1. Change the directory into which you want to extract the BSP (e.g. /home/bspdir). The archive will be extracted to the current directory, so you should create a directory specifically for your BSP. For example:

    mkdir /home/bspdir/sabresmart
  2. In the directory you've just created, extract the BSP. For example:

    cd /home/bspdir/sabresmart
    unzip BSP_nxp-imx6q-sabresmart_br-700_be_build.zip

    where build is the BSP build ID.

You should now be ready to build your BSP (see Building a BSP in this chapter).

Import to the IDE

To import a BSP into the IDE:

  1. If you have not already done so, open the workbench from IDE. From the C/C++ Perspective, select File > Import.
  2. Expand the QNX folder.
  3. Select QNX Source Package and BSP from the list. Click Next.
  4. In the Select the package to import dialog, click Browse... to choose the BSP archive that you've downloaded. After you've chosen your BSP archive, click Next.
  5. Confirm that this is the BSP package you want in the Package selected to import dialog. There's a brief description of the package. Click Next to proceed with this package.
  6. Set the projects to be created. Specify a directory for your projects as well as a project prefix. Defaults are provided, but you can override them if you choose.
  7. Click Finish. All the projects are created and the source brought from the archive.

You should now be ready to build your BSP (see Building a BSP).