- Set up the host computer for build
- Build the robotics image
- Generate QIR SDK artifacts
- 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.- Install the required packages.
- Set up the locales.
- Update git configurations.
- Change the
/bin/shsymlink to point to/bin/bashby default. - Install the repo tool according to steps in install-the-repo-utility.
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.- Set up your Yocto Project build environment by referring to the steps in Yocto Project Reference Manual.
- 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.
-
Build using the KAS configuration for one of the supported boards.
-
Download Qualcomm’s Yocto layer
meta-qcom-robotics-sdkusing the latest<meta-qcom-robotics-sdk-release-tag>. The following table describes the build tags for the current release.Download Qualcomm’s Yocto layerRelease tag Identifier meta-qcom-robotics-sdk-release-tag qli-2.0meta-qcom-robotics-sdkby the latest<meta-qcom-robotics-sdk-release-tag>. -
Build the software 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 themeta-qcomandmeta-qcom-distrosections of the Qualcomm Linux Yocto Guide.
Examples:MACHINE configuration DISTRO configuration TARGET image recipe KERNEL provider iq-8275-evkiq-9075-evk
qcom-robotics-distroqcom-robotics-distro-catchall
qcom-robotics-imageqcom-robotics-proprietary-image
linux-qcom-6.18linux-qcom-rt-6.18
- To build the robotics image based on open-source components, use the qcom-robotics-image recipe:
- To build the robotics image with features in the Qualcomm proprietary components, use the qcom-robotics-proprietary-image recipe:
-
Download Qualcomm’s Yocto layer
-
(Optional) Build a debug or performance image.
To build a debug or performance image, append the corresponding yaml fragment file to the end of the
kas buildcommand:Yaml file for debug or performance images
Example (machine:Image type Yaml file Debug build debug.ymlPerformance build performance.ymliq-9075-evk, performance build): -
The
kas buildgenerates the image in the following path:
Generate QIR SDK artifacts
To generate the QIR SDK, run thegenerate_qirp_sdk task after the image build completes:
iq-9075-evk,kernel: linux-qcom-6.18):
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, see Flash the robotics image, using theqcom-robotics-image or qcom-robotics-proprietary-image generated in Build the robotics image.
