Getting and extracting a BSP

Updated: April 19, 2023

You can install QNX BSPs from the QNX Software Center. For BSPs from other suppliers, you must contact QNX or the hardware vendor about how to obtain and install the BSPs.

Prerequisites

Note: These instructions are generic. For QNX SDP and board-specific instructions, see your BSP User's Guide in the BSP documentation for the QNX SDP release you're using. This BSP documentation is accessible from the main QNX documentation page.
Before you start to work with a QNX BSP, you need:
  • a myQNX account; log in or register at: www.qnx.com/account/login.html.
  • cables, such as a USB-to-micro USB cable or a serial-to-USB cable, for connecting to your host system, debugging, and if relevant for your system, connecting to a display
  • installed on a Linux, Mac, or Windows host system:
    • the appropriate QNX Software Development Platform (SDP)
    • a terminal program (e.g., PuTTY); alternatively, you can the QNX Momentics IDE Console View
    • drivers, such as USB drivers, to enable communication between the host and the target

Installing a QNX BSP

To install a QNX BSP:
  • Open QNX Software Center, select the BSP to install, and follow the steps in the wizard.

    Instructions on installing BSPs are given in the “Install addon packages” section in the QNX Software Center User's Guide. To learn where the BSP gets installed on the host, follow the instructions in the “Determining where your package has been installed” section in the same guide.

Your BSP is delivered as a .zip archive. To begin using it, you can either unzip it from the command line, or import it into the IDE.

Extracting from the command line

We recommend that you create a directory with the same name as your BSP, then extract the archive contents into there:
  1. Create a directory specifically for storing the contents of the BSP you're working with. If necessary, create the parent directory structure (e.g., /home/bspdir). For example:
    mkdir /home/bspdir/sabresmart
  2. Change into the directory you just created, then 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).

Importing into the IDE

To import a BSP into the IDE:

  1. Start the IDE, switch to the C/C++ Perspective, and select File > Import.
  2. In the Import window, expand the QNX folder.
  3. Select QNX Source Package and BSP from the list, then click Next.
  4. In the Select the archive file dialog, click Browse... to open a file selector from which you can choose the BSP archive that you downloaded; after you've selected the archive file, click Next.
  5. In the Package selected to import dialog, confirm that this is the BSP package you want (there's a brief description of the package), then click Next to proceed.
  6. Define the settings for the project to be created. Specify a project name and optionally, a non-default storage location and working sets to which the project should be added.
  7. Click Finish.

The project gets created and the source is brought in from the archive. You should now be ready to build your BSP (see Building a BSP).