> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chip software

## GUI

### Download software product

On the Qualcomm Software Center web [portal](https://softwarecenter.qualcomm.com/) (or desktop application), navigate to **Catalog** on the top menu bar and select the **Chip Software** category.

Select **Software Products** to see all software products (SPs) and software product families (SPFs) to which you have access. Click on a row to navigate to the software product detail page.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_products.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=3bddc42c0fadfea533cc3649b476f299" alt="Software products" width="2460" height="941" data-path="Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_products.png" />

Select a distribution to see the releases and corresponding Git commands for the selected release.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_QL_Linux_releases.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=5ea4ec892ed0161e101fa507ab888018" alt="Linux" width="1484" height="536" data-path="Tools/Qualcomm-Software-Center/images/QSC_QL_Linux_releases.png" />

Git CLI commands can be used to download SP releases. Download proprietary software via the qpm-git.qualcomm.com repo(s). Download open source software via CodeLinaro.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_QL_Linux.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=9f34af92b0b88e8529852681d5f68558" alt="Linux" width="1249" height="920" data-path="Tools/Qualcomm-Software-Center/images/QSC_QL_Linux.png" />

### Download software image

On the Qualcomm Software Center web [portal](https://softwarecenter.qualcomm.com/) (or desktop application), navigate to **Catalog** on the top menu bar and select the **Chip Software** category.

Select **Software Images** to see all independent software images (SIs) to which you have access.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_images.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=c704a5590b9747a7a1507ca33570d75c" alt="Software images" width="1785" height="921" data-path="Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_images.png" />

Select a distribution to see the releases and corresponding Git commands for the selected release.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_image_releases.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=0ab4d117739b9e970e0d04ce1dc8e167" alt="Software image releases" width="1784" height="973" data-path="Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_image_releases.png" />

Git CLI commands can be used to download software image releases. Download proprietary software via the qpm-git.qualcomm.com repo(s). Download open source software via CodeLinaro.

<img src="https://mintcdn.com/qualcomm-prod/ajmq44Q1W0vLtUT4/Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_image_download.png?fit=max&auto=format&n=ajmq44Q1W0vLtUT4&q=85&s=a3e9a7e75ff69db3f969ad6f445955c8" alt="Download software image release" width="2444" height="1101" data-path="Tools/Qualcomm-Software-Center/images/QSC_chipsoftware_image_download.png" />

## CLI

The Qualcomm Software Center qsc-cli command line interface can be used to activate a license, download and install tools and SDKs and chip software. qsc-cli is installed with Qualcomm Software Center.

For qsc-cli usage on WSL, start a new Ubuntu session via the Windows PowerShell. Avoid using `/mnt` for workspace creation, as it may require admin mode and compilation will be slower.

<Note>
  These commands are applicable for specific SPs only. For supported SPs, see chip-sw-info.
</Note>

### Help

Display the qsc-cli help menu for commands and options and version.

**Tool help**

<pre>qsc-cli -h</pre>

### Log in

Log in with a Qualcomm ID.

<pre>qsc-cli login -u \<your username></pre>

### List products, distributions, and releases

List products, distributions, and releases that are available to download and compile.
Run the following command to get more information.

<pre>qsc-cli chip-software info --help</pre>

### Download

To download both proprietary and open source software from different sources, specify the following input parameters:

* `--workspace-path &lt;workspace path&gt;`
* `--product &lt;Product_ID&gt;`
* `--distribution &lt;Distro&gt;`
* `--release &lt;release&gt;`

For example:

<pre>qsc-cli chip-software download --workspace-path \<workspace path> --product "QCM6490.LE.1.0" --distribution "Qualcomm\_Linux.SPF.1.0|AMSS|Standard|OEM|" --release 'r00155.4'</pre>

### Compile

To compile a downloaded software product, specify an input workspace path.

<pre>qsc-cli chip-software compile --workspace-path \<workspace path></pre>
Compile a software image.

<pre>qsc-cli chip-software compile --workspace-path \<workspace path> --image "LE.QCLINUX.1.0.R1"</pre>

### Flash

Flash a device.
The `--buildflavor` argument is optional and only required for devices that have multiple flavors.

<pre>qsc-cli chip-software flash --workspace-path \<workspace path> --buildflavor "sa2150p\_emmc" --serialnumber "1424354"</pre>
List build flavors.

<pre>qsc-cli chip-software flash --workspace-path \<workspace path> --list-buildflavor</pre>
List attached devices and get serial number.

<pre>qsc-cli chip-software device --list</pre>

### Open build environment

For optional advanced customization, open a build environment for a workspace and execute build commands for the input software image.

<pre>qsc-cli chip-software open-build-env --workspace-path \<workspace path> --image \<software image></pre>

<Note>
  This will set up an environment for you to execute your own build commands for a given software image. QSC will not track the status of input workspaces going forward and flash via `qsc-cli` will not be supported for this workspace.
</Note>

Get the software image name.

<pre>qsc-cli chip-software list-workspace</pre>
In output, look for *Compilable Images* for the software image names.

### Manage workspaces

List a workspace.

<pre>qsc-cli chip-software list-workspace</pre>
Delete a workspace.

<pre>qsc-cli chip-software delete-workspace --workspace-path \<workspace path></pre>
