Skip to main content
Follow the detailed instructions to synchronize the Qualcomm Yocto and QIR SDK layers, and build the robotics image (runs on DragonwingTM devices) along with the QIR SDK artifacts (used on host computer for development and cross-compilation).
WarningIt’s not recommended to rebuild the QIR SDK, as the build process is complex for non-professionals. Build the QIR SDK ONLY if you understand the process and have the following needs:
  • Build an image for the device which doesn’t have a prebuilt image.
  • Add new features to the QIR SDK.
  • Change the content of the target image.
  • Fix bugs for the QIR SDK.
  • Optimize the performance of the QIR SDK.
  • Change the version of certain components.
  1. Set up the host computer for build
  2. Build the robotics image
  3. Generate QIR SDK artifacts
  4. Flash the robotics image to devices

Set up the host computer for build

Prepare your host computer for the build and install operations, ensuring it meets the Host computer requirements.
  1. Install the required packages.
  2. Set up the locales.
  3. Update git configurations.
  4. Change the /bin/sh symlink to point to /bin/bash by default.

Build the robotics image

The following steps set up a KAS-based compile environment on top of the Yocto Project and build the robotics image with the KAS tool.
  1. Set up your Yocto Project build environment by referring to the steps in Yocto Project Reference Manual.
  2. The KAS tool offers an easy way to set up bitbake based projects. For more details, see KAS documentation. Install the KAS tool using the following commands.
  3. Build using the KAS configuration for one of the supported boards.
    1. Download Qualcomm’s Yocto layer meta-qcom-robotics-sdk using the latest <meta-qcom-robotics-sdk-release-tag>. The following table describes the build tags for the current release.
    2. Build the software performance image using kas.
      The following table lists the supported <MACHINE>, <DISTRO>, <TARGET>, and <KERNEL> combinations. Select one item from each column to replace the corresponding placeholder in the command. For more details about these KAS configuration fragments, see the Robotics OpenEmbedded layer changes and the meta-qcom and meta-qcom-distro sections of the Qualcomm Linux Yocto Guide.
      MACHINE configuration
      DISTRO configuration
      TARGET image recipe
      KERNEL provider
      • iq-8275-evk
      • iq-9075-evk
      • qcom-robotics-distro
      • qcom-robotics-distro-catchall
      • qcom-robotics-image
      • qcom-robotics-proprietary-image
      • linux-qcom-6.18
      • linux-qcom-rt-6.18
      Examples:
      • To build the robotics image based on open-source components, use the qcom-robotics-image recipe:
  4. (Optional) Build a debug image. To build a debug image, append the corresponding yaml fragment file to the end of the kas build command: Example (machine: iq-9075-evk, debug build):
  5. The kas build generates the image in the following path:
    Example (machine: iq-9075-evk, target : qcom-robotics-proprietary-image)
NoteIf you encounter any build issues, see Troubleshoot common issues.

Generate QIR SDK artifacts

To generate the QIR SDK, run the generate_qirp_sdk task after the image build completes:
Example (machine: iq-9075-evk,kernel: linux-qcom-6.18):
The kas build generates the QIR SDK artifacts in the following path:

Flash the robotics image to devices

To flash the robotics image to the device, follow the steps in Flash the robotics image, using the qcom-robotics-image or qcom-robotics-proprietary-image image generated in Build the robotics image.