# Build with GitHub Use the detailed instructions to sync and build the Qualcomm Yocto and QIRP SDK layers using standalone commands or Dockerfile. **Prerequisites:** - Ensure that you have set up the host according to [Set up the host environment](https://docs.qualcomm.com/doc/80-70017-265/topic/setup-host-env.html#setup-host-env). For QIRP SDK, you can use the following two methods to build: - [Build with standalone commands](https://docs.qualcomm.com/doc/80-70017-265/topic/download-binaries.html#download-binaries) - [Build with Dockerfile](https://docs.qualcomm.com/doc/80-70017-265/topic/compile_3_2_3.html#compile-3-2-3) ## Build with standalone commands > > > Use standalone commands to download and build the QIRP SDK along with the robotics image. Supports manifest or `git clone` methods. > > > **Steps:** > > 1. Download the Qualcomm Yocto and QIRP SDK layers using either manifest or `git clone`. > > - **Download with manifest**: download the layers for the QIRP SDK by running the following commands. > > > Note > > > To get the latest ``, see the [Qualcomm^®^ Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0 Release Notes](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260). > > > cd > repo init -u https://github.com/quic-yocto/qcom-manifest -b qcom-linux-kirkstone -m > repo sync -c -j8 > Copy to clipboard > > > **Example:** > > > The following command downloads the release with manifest `qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1.xml`: > > > repo init -u https://github.com/quic-yocto/qcom-manifest -b qcom-linux-kirkstone -m qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1.xml > repo sync -c -j8 > Copy to clipboard > - **Download with** `git clone`: > > 1. Set up the host environment and sync the latest Yocto project BSP as described in the [Qualcomm Repo Manifest README file](https://github.com/quic-yocto/qcom-manifest/blob/qcom-linux-kirkstone/README.md). > 2. Download the layers for the QIRP SDK based on the `` directory of the downloaded Yocto project BSP. > > > cd > git clone https://github.com/ros/meta-ros -b kirkstone layers/meta-ros && cd layers/meta-ros && git checkout b4db6314bae1c78498158e267200a9c15a739cad > git clone https://github.com/quic-yocto/meta-qcom-robotics.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics > git clone https://github.com/quic-yocto/meta-qcom-robotics-distro.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics-distro > git clone https://github.com/quic-yocto/meta-qcom-robotics-sdk.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics-sdk > git clone https://github.com/quic-yocto/meta-qcom-qim-product-sdk -b qcom-6.6.52-QLI.1.3-Ver.1.1_qim-product-sdk-1.1.2 layers/meta-qcom-qim-product-sdk > Copy to clipboard > > > > > > > > > > **Results:** The following layers are downloaded. > > > > > > meta-qcom > > meta-qcom-hwe > > meta-qcom-distro > > meta-ros > > meta-qcom-robotics > > meta-qcom-robotics-distro > > meta-qcom-robotics-sdk > > meta-qcom-qim-product-sdk > > Copy to clipboard > 2. Set up the build environment. > > - If you use the **Download with manifest** method, execute these commands: > > > cd > MACHINE= DISTRO= QCOM_SELECTED_BSP= source setup-robotics-environment > Copy to clipboard > - If you use the **Download with** `git clone` method, execute these commands: > > > cd > ln -s layers/meta-qcom-robotics-distro/set_bb_env.sh ./setup-robotics-environment > ln -s layers/meta-qcom-robotics-sdk/scripts/qirp-build ./qirp-build > MACHINE= DISTRO= QCOM_SELECTED_BSP= source setup-robotics-environment > Copy to clipboard > > > > > Table : Build parameters > > > | Parameter | RB3 Gen 2 Vision Kit | IQ-9 Beta Evaluation Kit | > | --- | --- | --- | > | `Machine_name` | `qcs6490-rb3gen2-vision-kit` | `qcs9100-ride-sx` | > | `Distro_name` | `qcom-robotics-ros2-humble` | `qcom-robotics-ros2-humble` | > | `Build_override` | `custom` |

  • custom


  • base


| > | `Build_directory` | `build-qcs6490-custom` |

  • build-qcs9100-custom


  • build-qcs9100-base


| > > > > Note > > > For IQ-9 Beta Evaluation Kit, build also supports `base` and `custom` build overrides. The default override is `custom` and you can override to `base` when required. The following example sets the `base` build override for the machine `qcs9100-ride-sx`: > > > MACHINE=qcs9100-ride-sx DISTRO=qcom-robotics-ros2-humble QCOM_SELECTED_BSP=base source setup-robotics-environment build-qcs9100-base > Copy to clipboard > 3. Build the robotics image and QIRP SDK artifacts. > > > ../qirp-build qcom-robotics-full-image > Copy to clipboard > > > **Results:** > > > Tab RB3 Gen2 Vision Development Kit > Tab IQ-9 Beta Evaluation Kit > > - QIRP SDK artifacts: > > > > > > > > > > /build-qcs6490-custom/tmp-glibc/deploy/qirpsdk_artifacts/qcs6490-rb3gen2-vision-kit/qirp-sdk_.tar.gz > > Copy to clipboard > > > - Robotics image: > > > > > > > > > > /build-qcs6490-custom/tmp-glibc/deploy/images/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image > > Copy to clipboard > > > > > > > **Example using** `custom` **build override** > > > - QIRP SDK artifacts: > > > > > > > > > /build-qcs9100-custom/tmp-glibc/deploy/qirpsdk_artifacts/qcs9100-ride-sx/qirp-sdk_.tar.gz > > Copy to clipboard > - Robotics image: > > > > > > > > > /build-qcs9100-custom/tmp-glibc/deploy/images/qcs9100-ride-sx/qcom-robotics-full-image > > Copy to clipboard > > > > > > > > > > **Example using** `base` **build override** > > > - QIRP SDK artifacts: > > > > > > > > > Missing due to the compiling issue of the standard SDK in QCS9100 `base` variant. QIRP SDK will be provided in the next release. > - Robotics image: > > > > > > > > > /build-qcs9100-base/tmp-glibc/deploy/images/qcs9100-ride-sx/qcom-robotics-full-image > > Copy to clipboard ## Build with Dockerfile > > > Build the QIRP SDK along with the robotic image using the Dockerfile, building upon the Qualcomm Linux image. > > > **Steps:** > > 1. Build the Qualcomm Linux image with the steps under [Build with Dockerfile](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/build_from_source_github_intro.html#build-with-dockerfile). > > 1. Follow [Ubuntu host setup](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/build_from_source_github_intro.html#ubuntu-host-setup-2) and [check the host machine configuration](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/build_from_source_github_intro.html#check-the-host-machine-configuration). > 2. Follow the steps in [Build BSP image](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/build_from_source_github_intro.html#build-bsp-image-2). > 2. Run the `docker run` command. > > > Note > > > Run the following commands inside the Qualcomm Linux build location. > > > cd /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1 > bash > docker run -it -v "${HOME}/.gitconfig":"/home/${USER}/.gitconfig" -v "${HOME}/.netrc":"/home/${USER}/.netrc" -v $(pwd):$(pwd) -w $(pwd) qcom-6.6.38-qli.1.2-ver.1.1_22.04 /bin/bash > Copy to clipboard > 3. Download the layers for the QIRP SDK based on the `` directory. > > > git clone https://github.com/ros/meta-ros -b kirkstone layers/meta-ros && cd layers/meta-ros && git checkout b4db6314bae1c78498158e267200a9c15a739cad > git clone https://github.com/quic-yocto/meta-qcom-robotics.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics > git clone https://github.com/quic-yocto/meta-qcom-robotics-distro.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics-distro > git clone https://github.com/quic-yocto/meta-qcom-robotics-sdk.git -b qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1 layers/meta-qcom-robotics-sdk > git clone https://github.com/quic-yocto/meta-qcom-qim-product-sdk -b qcom-6.6.52-QLI.1.3-Ver.1.1_qim-product-sdk-1.1.2 layers/meta-qcom-qim-product-sdk > Copy to clipboard > 4. Set up the build environment. > > > ln -s layers/meta-qcom-robotics-distro/set_bb_env.sh ./setup-robotics-environment > ln -s layers/meta-qcom-robotics-sdk/scripts/qirp-build ./qirp-build > MACHINE= DISTRO= QCOM_SELECTED_BSP= source setup-robotics-environment > Copy to clipboard > > > > Table : Build parameters > > > | Parameter | RB3 Gen 2 Vision Kit | IQ-9 Beta Evaluation Kit | > | --- | --- | --- | > | `Machine_name` | `qcs6490-rb3gen2-vision-kit` | `qcs9100-ride-sx` | > | `Distro_name` | `qcom-robotics-ros2-humble` | `qcom-robotics-ros2-humble` | > | `Build_override` | `custom` |

  • custom


  • base


| > | `Build_directory` | `build-qcs6490-custom` |

  • build-qcs9100-custom


  • build-qcs9100-base


| > 5. Build the robotics image and QIRP SDK artifacts. > > > ../qirp-build qcom-robotics-full-image > Copy to clipboard > > > **Results:** > > > Tab RB3 Gen2 Vision Development Kit > Tab IQ-9 Beta Evaluation Kit > > - QIRP SDK artifacts: > > > /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1/build-qcs6490-custom/tmp-glibc/deploy/qirpsdk_artifacts/qcs6490-rb3gen2-vision-kit/qirp-sdk_.tar.gz > Copy to clipboard > - Robotics image: > > > /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1/build-qcs6490-custom/tmp-glibc/deploy/images/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image > Copy to clipboard > > **Example using** `custom` **build override** > > - QIRP SDK artifacts: > > > > > > > > > /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1/build-qcs9100-custom/tmp-glibc/deploy/qirpsdk_artifacts/qcs9100-ride-sx/qirp-sdk_.tar.gz > > Copy to clipboard > - Robotics image: > > > > > > > > > /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1/build-qcs9100-custom/tmp-glibc/deploy/images/qcs9100-ride-sx/qcom-robotics-full-image > > Copy to clipboard > > > > **Example using** `base` **build override** > > - QIRP SDK artifacts: > > > Missing due to the compiling issue of the standard SDK in QCS9100 `base` variant. QIRP SDK will be provided in the next release. > - Robotics image: > > > /qcom-download-utils/qcom-6.6.52-QLI.1.3-Ver.1.1/build-qcs9100-base/tmp-glibc/deploy/images/qcs9100-ride-sx/qcom-robotics-full-image > Copy to clipboard Last Published: Dec 30, 2024 [Previous Topic Build with QSC-CLI](https://docs.qualcomm.com/bundle/publicresource/80-70017-265/topics/using-qsc-cli_3_1.md) [Next Topic Build with GitHub (firmware and extras)](https://docs.qualcomm.com/bundle/publicresource/80-70017-265/topics/using-detailed-instructions_3_2.md)