Introduction
This guide provides instructions on how to set up the quick start target image (QSTI) on a Raspberry Pi.
Before starting your QNX project, set yourself up for success by becoming familiar with
your support options and gathering the necessary materials.
Note:
When following this
guide, you'll benefit from being familiar with terminal emulators, common bash
commands, and the Vim text editor.
Quickstart instructions
You can find detailed instructions on how to get the QNX OS image and flash it onto
your Raspberry Pi in this guide. For quick start instructions, refer to the steps
below. Before setting up your Raspberry Pi, follow these preliminary steps to set up
your build environment:
- Get a free, non-commercial QNX Software Development Platform 8.0 license at https://www.qnx.com/getqnx.
- Accept and deploy your license.
- Install the QNX Software Center (QSC). The QSC allows you to install the QNX SDP and pre-built packages.
- Install the QNX Software Development Platform 8.0.
- Install the com.qnx.qnx800.quickstart.rpi4 package, which contains the QNX OS quick start image. Find the .img file in your SDP installation directory.
- Use the Raspberry Pi Imager or another utility to write the image to your micro SD card.
Included samples
If you've attached an HDMI display or touchscreen to your Raspberry Pi, you can try
the following sample applications as soon as you've successfully booted the image.
At first, you will see the QNX Welcome boot screen. Click the icon on the screen to
launch the terminal. To view the samples below, enter a command in the terminal or
follow the instructions provided. You can then press ALT+TAB
to navigate between windows. These samples also have a corresponding open-source
repository that you can clone and customize to kickstart your development. Visit the
Sample Apps repository for more information on each of the following samples:
Sample | About | Command |
---|---|---|
Gears | Uses the gles2-gears binary, which displays hardware-rendered content using OpenGL ES 2.x. | $ gles2-gears |
Maze | Uses the gles2-maze binary, which demonstrates how to use texture, vertex, and fragment shaders. | $ gles2-maze |
VKCube | Uses the vkcube binary, which demonstrates 3D rendering capabilities using Vulkan. | $ vkcubepp |
Page updated: