If you are rebuilding a QNX Apps and Media target image, you will need to download and build the QNX BSP for your target platform.
A BSP typically includes an Initial Program Loader (IPL), a startup program, a default buildfile, networking support, board-specific device drivers, system managers, utilities, and so on. To learn more about BSPs, see "Working with a BSP" in the Building Embedded Systems guide.
After you have installed QNX SDP on your host system, you can download platform-specific BSPs from the QNX website. You can then either unzip the archive and build it on the command line, or import it into the IDE and unzip and build it there.
These instructions are for building a BSP from the command line on either a Linux or Windows host system. You may also want to refer to the BSP User Guide for the BSP for your target platform. These guides provide details about switch settings, drivers commands, and so on.
To build a BSP for QNX SDP 6.6:
Download a QNX SDP 6.6 BSP from the QNX website at http://community.qnx.com/sf/sfmain/do/viewProject/projects.bsp and save it to a new directory in the SDP host environment (the archive unzips to the current directory).
For example, you can use the following directory structure:
$QNX_TARGET/root/bsps/my_bsp/
The BSP file will be named like this:
BSP_board_name_SVNxxxxxx_JBNyy.zip
where board_name is the name of the board, xxxxxx is the SVN ID for the BSP, and yy is a unique ID for the BSP.
Navigate to the directory where you saved the BSP and extract the BSP archive file:
unzip bsp_filename
Change to the root directory of the unzipped BSP, then make and install the BSP:
make make install
For information about the BSP directory structure and where to find key files, see "BSP directory structure".
When running on a Windows host, mkifs can't get the execute(x), setuid (set user ID), or setgid (set group ID) permissions from the file, when modifying .build files. Use the perms attribute to specify these permissions explicitly. You might also have to use the uid and gid attributes to set the ownership correctly. To determine whether a utility needs to have the setuid or setgid permission set, see the utility's entry in the QNX SDP Utilities Reference.