You can use the reference image to understand how to build a system using the QNX Platform for ADAS.
Configuration files let the system know what cameras are connected and how to boot the system. These are the configuration files that you should be familiar with on the reference image:
- Camera configuration file (located at /etc/system/config/camera.conf): This file configures the cameras that are connected to your system.
- System Launch Configuration (SLM) file for the platform (/etc/slm-config-platform.xml): This
file specifies the order for processes to start, as well as any dependencies
the processes have at boot up time. There's an additional SLM file available
for configuring common processes for all target boards, but you shouldn't need
to modify it to use the reference image.
These are the sample applications available on the reference image:
- Camera MUX 2x2 (camera_mux2x2)
- Camera example (camera_example)
- Camera pedestrian (infoadas-demo-pd)
- Surround view (infoadas-app-epsrc)
For more information about the applications and how to use them, see
Run Sample Applications.
Before you can start using the reference image, you will find it useful to do many of the following tasks:
- Use an attached display (Jacinto 6 EVM board only)
- By default, the reference image requires that the board is connected to a display
using an HDMI connection. If your Jacinto 6 EVM board comes with
an attached display, you can modify the
graphics.conf file on the reference image
to use it instead of a display connected via HDMI. For more information,
see the Configure the display for Screen in the
Configure the Screen Graphics Subsystem chapter of the
BSP User's Guide for the board.
- Configure the cameras on the reference image
- Depending on how the cameras are connected to your board, you may need to modify the /etc/system/config/camera.conf file. For information about how to modify the camera configuration file, see Configure cameras on the reference image.
- Make the filesystem writable
-
Each time the system boots, it boots as read-only so you won't be able
to modify any files on it. To modify or create new files on the filesystem, you must run
remount it so that it's writable. To do this, run the following command on the target:
mount -uw /base
- Edit files
-
You can edit files by connecting to the target using the
serial connection (debug port), terminal via a network connection
(telnet or ssh), or QNX Momentics IDE. If you
use a serial connection or terminal, you can use vi to edit files directly
on the target. Before you use vi, ensure that you set
the TERM environment variable to xterm.
For example, run the following command:
# export TERM=xterm
- Start QConn
-
If you want to use the QNX Momentics IDE
to connect to your target after it completes booting, you must start qconn.
You should use the IDE to simplify the process of uploading binaries (applications you build)
to the target board and modifying configuration files on the reference image.
- To start qconn, you have to start it from a serial (or debug port) connection as follows:
# qconn
- Run Screen calibration
-
If you're using a touch display and the applications you run require touch, ensure that you run calib-touch to calibrate your screen after the target board boots. For details about how to calibrate the screen, see calib-touch in the Screen Developer's Guide.