# Build with QSC-CLI

Source: [https://docs.qualcomm.com/doc/80-70015-265/topic/using-qsc-cli_3_1.html](https://docs.qualcomm.com/doc/80-70015-265/topic/using-qsc-cli_3_1.html)

Use the Qualcomm® Software Center command-line interface (QSC-CLI) to download and
    compile the QIRP SDK and the robotics image, and flash images using tools or
    commands.

**Prerequisites:**

- The QSC is installed using the commands in [Build with QSC-CLI](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/build_from_source_QSC_CLI.html) of
            *Qualcomm Linux Build Guide*.

## Download

**Steps:**

1. Log in to `qpm-cli`.
    1. Log in with this
              command.

            qpm-cli --loginCopy to clipboard
    2. Verify if the `qpm-cli` login is successful.

            qpm-cli --product-listCopy to clipboard
2. Download a particular software release of the QIRP SDK, using the following command,
            using the following tables to identify the appropriate values for the command
            arguments.

    qsc-cli download --workspace-path '<absolute_workspace_path>' --product '<Product_ID>' --release '<Release_ID>' --distribution '<Distro>'Copy to clipboard

Note: Both `--release` and `--build` options work individually
        to download a software package. If both options are provided, the `--release`
        parameter is used to trigger a download.

Table : qsc-cli download parameters

| Parameter | Description | QSC-CLI command value |
| --- | --- | --- |
| `--workspace-path` | Absolute/full workspace path | A custom value |
| `--product` | Product ID | Allowed product IDs<br><ul class="ul" id="ID-concept-d4199e276__ul_kn1_czh_rcc"><br>                  <li class="li"><br>                    <pre class="pre codeblock" id="ID-concept-d4199e276__codeblock_lmb_tkp_wbc"><code><code class="ph codeph">QCM6490.LE.1.0</code></code><span class="copyclip"><svg xmlns="http://www.w3.org/2000/svg" class="copyclipicon" width="25px" height="25px" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><title>Copy to clipboard</title><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span></pre><br>                  </li><br><br>                  <li class="li"><br>                    <pre class="pre codeblock" id="ID-concept-d4199e276__codeblock_myr_czh_rcc"><code>QCS9100.LE.1.0</code><span class="copyclip"><svg xmlns="http://www.w3.org/2000/svg" class="copyclipicon" width="25px" height="25px" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><title>Copy to clipboard</title><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span></pre><br>                  </li><br><br>                </ul> |
| `--release` | Release ID | <ul class="ul" id="ID-concept-d4199e276__ul_f1x_2zh_rcc"><br>                  <li class="li">QCM6490.LE.1.0<p class="p">See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260')">Qualcomm® Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0<br>                    Release Notes</a>. For example,<br>                        <code class="ph codeph">r00270.1</code>.</p><br></li><br><br>                  <li class="li">QCS9100.LE.1.0<p class="p">See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260')">Qualcomm® Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0<br>                    Release Notes</a>. For example,<br>                        <code class="ph codeph">r00099.1</code></p><br></li><br><br>                </ul> |
| `--build` | Build ID | <ul class="ul" id="ID-concept-d4199e276__ul_jdv_mzh_rcc"><br>                  <li class="li">QCM6490.LE.1.0<p class="p">See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260')">Qualcomm® Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0<br>                    Release Notes</a>. For<br>                    example:</p><br><pre class="pre codeblock" id="ID-concept-d4199e276__codeblock_wfx_tkp_wbc"><code>QCM6490.LE.1.0-00270-STD.PROD-1</code><span class="copyclip"><svg xmlns="http://www.w3.org/2000/svg" class="copyclipicon" width="25px" height="25px" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><title>Copy to clipboard</title><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span></pre></li><br><br>                  <li class="li">QCS9100.LE.1.0<p class="p">See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-260')">Qualcomm® Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0<br>                    Release Notes</a>. For<br>                    example:</p><br><pre class="pre codeblock" id="ID-concept-d4199e276__codeblock_ldv_mzh_rcc"><code>QCS9100.LE.1.0-00099-STD.PROD-1</code><span class="copyclip"><svg xmlns="http://www.w3.org/2000/svg" class="copyclipicon" width="25px" height="25px" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><title>Copy to clipboard</title><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span></pre></li><br><br>                </ul> |
| `--distribution` | Distro | See [Table : Distros and access levels](https://docs.qualcomm.com/doc/80-70015-265/topic/using-qsc-cli_3_1.html#ID-concept-d4199e276__ID-tbl-d32488e1870). |

Table : Distros and access levels

| Access level | `Distro` | Yocto layers |
| --- | --- | --- |
| Registered developer with any email address (binaries only, without modem and<br>                  GPS) | `Qualcomm_Linux.SPF.1.0|TEST|DEVICE|PB_QIRPSDK` | meta-qcom<br>    meta-qcom-hwe<br>    meta-ros<br>    meta-qcom-robotics<br>    meta-qcom-robotics-distro<br>    meta-qcom-robotics-sdk<br>    meta-qcom-qim-product-sdkCopy to clipboard |
| Registered developer from a verified organization (binaries and selected source<br>                  for firmware images, without modem and GPS) | `Qualcomm_Linux.SPF.1.0|AP|Standard|OEM|NM_QIRPSDK` | meta-qcom <br>    meta-qcom-hwe <br>    meta-qcom-extras <br>    meta-qcom-robotics-extras<br>    meta-ros<br>    meta-qcom-robotics<br>    meta-qcom-robotics-distro<br>    meta-qcom-robotics-sdk<br>    meta-qcom-qim-product-sdkCopy to clipboard |

## Compile and flash

To compile and flash the QIRP SDK, see [Qualcomm® Linux Build Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254).

- To compile, see [Build default configuration (Build with QSC CLI)](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/build_from_source_QSC_CLI.html#compile).
    **Outputs for QCM6490.LE.1.0              (RB3 Gen2 Vision Kit):**

    - Robotics images:
                `<Workspace_Path>/DEV/LE.QCROBOTICS.1.0.r1/build-qcs6490-custom/tmp-glibc/deploy/images/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image/*`
    - QIRP SDK:
                `<Workspace_Path>/DEV/LE.QCROBOTICS.1.0.r1/build-qcs6490-custom/tmp-glibc/deploy/qirpsdk_artifacts/qirp-sdk_<version>.tar.gz`

    **Outputs for QCS9100.LE.1.0 (IQ-9100 Beta Evaluation Kit):**

    - Robotics images:
                `<Workspace_Path>/DEV/LE.QCROBOTICS.1.0.r1/build-qcs9100-custom/tmp-glibc/deploy/images/qcs9100-ride-sx/qcom-robotics-full-image/*`
    - QIRP SDK:
                `<Workspace_Path>/DEV/LE.QCROBOTICS.1.0.r1/build-qcs9100-custom/tmp-glibc/deploy/qirpsdk_artifacts/qirp-sdk_<version>.tar.gz`

Note: `<Workspace_Path>` is the argument that
            you provide to the “`--workspace-path`” parameter of the download
            command.
- To flash the robotics image to the device, see [Flash images](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/flash_images.html).
- To install the QIRP SDK to the device, see [Flash and install](https://docs.qualcomm.com/doc/80-70015-265/topic/flash-and-install_4_3.html).

**Parent Topic:** [Build the software](https://docs.qualcomm.com/doc/80-70015-265/topic/build-the-software_4_1.html)

Last Published: Oct 15, 2024

[Previous Topic
Build with QSC Launcher](https://docs.qualcomm.com/bundle/publicresource/80-70015-265/topics/build-with-the-qcs-launcher.md) [Next Topic
Build with GitHub](https://docs.qualcomm.com/bundle/publicresource/80-70015-265/topics/build-with-github-binaries.md)