Build the BSP

You can use the QNX Momentics IDE or the commandline on Linux or Windows to build an image.

Generic instructions to modify your BSP (add contents and modify the buildfile) can be found in the Building Embedded Systems guide, which is available as part of the QNX SDP 8.0 documentation.

For instructions on how to build this BSP using the IDE, see Build the BSP (IDE) section in this chapter. For detailed information on how to build using the IDE, see the IDE User's Guide, which is available as part of the QNX SDP 8.0 documentation.

If you plan to work with multiple BSPs, we recommend that you create a top-level BSP directory and then subdirectories for each different BSP. The directory you create for a specific BSP will be that BSP's root directory (BSP_ROOT_DIR). This allows you to conveniently switch between different BSPs by simply setting the BSP_ROOT_DIR environment variable.

This BSP includes prebuilt IFS images that are provided as a convenience to quickly get QNX OS running on your board, however these prebuilt images might not have the same components as your development environment. For this reason, we recommend that you rebuild the IFS image on your host system to ensure that you pick up the same components from your own environment.

Prebuilt image

After you've unzipped the BSP, a prebuilt QNX IFS image is available in the BSP's /images directory. The prebuilt IFS image (ifs-rpi4.bin) can be regenerated with the BSP make file, and is configured for the BSP device drivers already available for your board.

If you modify and build the IFS, the original IFS files are overwritten. If you need to revert to this prebuilt image, simply run the make command from the BSP's root directory using the original buildfiles. To determine the location of the buildfile to modify, open the $BSP_ROOT_DIR/source.xml file.

Note:
If you forget to make a backup copy of the IFS file, you can still recover the original prebuilt IFS; simply extract the BSP from the .zip archive into a new directory and get the prebuilt image from that directory.
Page updated: