Build the BSP (commandline)
QNX Board Support Packages8.0BSP User's GuideAMD Sapphire Ryzen EdgeAMDAMDx86
You can use the commandline on Linux or Windows to work with this BSP.
The Makefile found in the $BSP_ROOT_DIR/images/IPC-FP6 directory is used for the AMD Ryzen V2000 Sapphire IPC-FP6 Board with UEFI boot mode. It defines the following targets:
- all
- Builds the QNX IFS images (x86_64-ryzen-uefi.efi).
- clean
- Delete all *.efi, *.sym and *.img files.
- x86_64-ryzen-uefi.efi
- Builds a QNX IFS image (x86_64-ryzen-uefi.efi) for the AMD Ryzen V2000 Sapphire IPC-FP6 Board that loaded using UEFI. The buildfile used to build this image is x86_64-ryzen-uefi.build.
Build from the commandline
To build the BSP on your host system, in a Command Prompt window (Windows) or a terminal (Linux), perform the following steps:
- Download the BSP archive, unzip it, and set up your environment to build. For more information, see
Download and set up the BSP
in theInstallation Notes chapter.
- Navigate to the $BSP_ROOT_DIR directory.
If you want to remove all prebuilt IFS images and re-build them later, run make clean:
$ cd $BSP_ROOT_DIR $ make cleanNote:If you run the make clean command, it removes all prebuilt IFS images. - Run make command in the BSP_ROOT_DIR. When you run make,
it does the following:
- copy the prebuilt directory to install directory;
- copy header files to install directory;
- build the source files in this BSP;
- build the IFS images if they are removed in previous step.
Note:No buildfile is generated. The buildfiles are preloaded in the $BSP_ROOT_DIR/images/IPC-FP6, and $BSP_ROOT_DIR/images/VPR-5050A directories.$ make - If you changed any source file in this BSP, you need navigate to the directory that include the source file
you've changed, and run make install command to rebuild the new code and copy it to the
install directory, for example, you've updated the x86 startup code:
$ cd src/hardware/startup/boards/x86 $ make installNote:If you run the make install command, it would build and copy the new binary to the install directory.
You should now have IFS files called images/IPC-FP6/x86_64-ryzen-uefi.efi, and images/VPR-5050A/x86_64-ryzen-uefi.efi.
Note:
We recommend that you use the make command to build your IFS image.
If you use the mkifs utility directly, you must ensure that you use the -r
option to specify the location of the binaries.
Page updated:
