# Build with QSC-CLI

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-70017-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 --login
            Copy to clipboard
    2. Verify if the `qpm-cli` login is successful.

qpm-cli --product-list
            Copy 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><br><br>QCM6490.LE.1.0<br>        Copy to clipboard<br><br><br>QCS9100.LE.1.0<br>        Copy to clipboard |
    | `--release` | Release ID | <ul><br><li><p>QCM6490.LE.1.0</p><br><p>See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260" rel="noopener noreferrer" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260')">Qualcommr Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0 Release Notes</a>. For example, <code class="docutils literal notranslate"><span class="pre">r00321.1</span></code>.</p><br></li><br><li><p>QCS9100.LE.1.0</p><br><p>See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260" rel="noopener noreferrer" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260')">Qualcommr Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0 Release Notes</a>. For example, <code class="docutils literal notranslate"><span class="pre">r00178.1</span></code></p><br></li><br></ul> |
    | `--build` | Build ID | <ul><br><li><p>QCM6490.LE.1.0</p><br><p>See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260" rel="noopener noreferrer" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260')">Qualcommr Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0 Release Notes</a>. For example:</p><br><div class="highlight-default notranslate"><div class="highlight"><pre class="pre codeblock"><code>QCM6490.LE.1.0-00270-STD.PROD-1<br></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></div><br></div><br></li><br><li><p>QCS9100.LE.1.0</p><br><p>See <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260" rel="noopener noreferrer" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-260')">Qualcommr Linux Intelligent Robotics Product SDK (QIRP SDK) 2.0 Release Notes</a>. For example:</p><br><div class="highlight-default notranslate"><div class="highlight"><pre class="pre codeblock"><code>QCS9100.LE.1.0-00099-STD.PROD-1<br></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></div><br></div><br></li><br></ul> |
    | `--distribution` | Distro | See [Table: Distros and access levels](https://docs.qualcomm.com/doc/80-70017-265/topic/using-qsc-cli_3_1.html#table-distros). |

> 
> 
> Table : Distros and access levels
> 
> 
> | Access level | `Distro` | Yocto layers |
> | --- | --- | --- |
> | Registered developer with any email address (binaries only, without modem and 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-sdk<br>    Copy to clipboard |
> | Registered developer from a verified organization (binaries and selected source 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-sdk<br>    Copy 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-70017-254).

- To compile, see [Build default configuration (Build with QSC CLI)](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/build_from_source_QSC_CLI.html#compile).

**Outputs**

Note

`<Workspace_Path>` is the argument that you provide to the “`--workspace-path`” parameter of the download command.

Tab RB3 Gen2 Vision Development Kit
Tab IQ-9 Beta Evaluation 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/qcs6490-rb3gen2-vision-kit/qirp-sdk_<version>.tar.gz`

- 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/qcs9100-ride-sx/qirp-sdk_<version>.tar.gz`

- To flash the robotics image to the device, see [Flash images](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/flash_images.html).
- To install the QIRP SDK to the device, see [Flash and install](https://docs.qualcomm.com/doc/80-70017-265/topic/flash-and-install_4_3.html#flash-and-install-4-3).

Last Published: Dec 30, 2024

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