# Download and use the prebuilt package

Get an out-of-the-box experience with the prebuilt robotics package for RB3 Gen2 Vision Development Kit.

This information provides instructions on how to download and use the robotics prebuilt package, allowing you to get an out-of-the-box experience without the compiling process. The prebuilt package includes:

- **Robotics image**: An image based on the Qualcomm Linux release with the ROS core packages added and the QIRP SDK included by default. You can directly use the robotics image to get an out-of-the-box experience.
- **QIRP SDK**: Provides not only a runtime installation package with the out-of-the-box experience, but also a cross-compilation toolchain. Using that toolchain, you can quickly develop an application based on the sample code.
- **Robotics eSDK**: Provides the Yocto toolchain for building the robotics image. For details, see [Build the robotics image with the prebuilt robotics eSDK](https://docs.qualcomm.com/doc/80-70017-265/topic/build-with-prebuilt-esdk.html#build-with-prebuilt-esdk).

**Steps:**

1. Download the prebuilt package.

    - Qualcomm^®^ RB3 Gen 2 Vision Development Kit x86 image

wget https://artifacts.codelinaro.org/artifactory/qli-ci/flashable-binaries/qirpsdk/qcs6490-rb3gen2-vision-kit/x86/qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1.zip
            Copy to clipboard
    - Qualcomm^®^ RB3 Gen 2 Vision Development Kit Arm^®^ image

wget https://artifacts.codelinaro.org/artifactory/qli-ci/flashable-binaries/qirpsdk/qcs6490-rb3gen2-vision-kit/arm/qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1.zip
            Copy to clipboard
2. Extract the package with the following command:

unzip qcom-6.6.52-QLI.1.3-Ver.1.1_robotics-product-sdk-1.1.zip
        Copy to clipboard

    The contents and their respective locations are listed in this table:

> 
> 
> Table : Contents and locations of prebuilt items
> 
> 
> | Content type | File or directory name | location |
> | --- | --- | --- |
> | Robotics image | `qcom-robotics-full-image` | `<decompressed_workspace >/target/qcs6490-rb3gen2-vision-kit` |
> | QIRP SDK | `qirp-sdk_<version>.tar.gz` | `<decompressed_workspace >/target/qcs6490-rb3gen2-vision-kit/qirpsdk_artifacts` |
> | Robotics eSDK | `qcom-robotics-ros2-humble-x86_64-qcom-robotics-full-image-armv8-2a-qcs6490-rb3gen2-vision-kit-toolchain-ext-1.0.sh` | `<decompressed_workspace >/target/qcs6490-rb3gen2-vision-kit/sdk` |

3. Build a standalone QDL by completing the following steps as described
in [Build a standalone QDL](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/how_to.html#build-a-standalone-qdl).

    1. Install dependent packages.
    2. Download and compile the Linux flashing tool (QDL).
4. Force the device to enter EDL mode to enable software flashing with
the steps described in [EDL mode](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-253/set_up_the_device.html#configure-prerequisites).
5. Flash the robotics image to the device using the generated QDL.

Note

The QDL for robotics SDK is generated in a different path.
Ensure to use the following command to flash QDL to the device, where `<prebuilt_package_extracted_path>` indicates the root path of the  extracted prebuilt package.

./qdl --storage ufs --include <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image \
        <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image/prog_firehose_ddr.elf \
        <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image/rawprogram*.xml \
        <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qcom-robotics-full-image/patch*.xml
        Copy to clipboard
6. Install the prebuilt QIRP SDK to the device.

    1. On the host machine, move to the artifacts directory and
decompress the package using the `tar` command.

cd <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qirpsdk_artifacts
            tar -zxf qirp-sdk_<qirp_version>.tar.gz
            Copy to clipboard

        The `qirp-sdk` directory is generated.
    2. Enable `SSH` in ‘Permissive’ mode with the steps mentioned in [Log in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/how_to.html#use-ssh).
    3. To deploy the QIRP artifacts, push the QIRP files to the device using the following commands:

cd <prebuilt_package_extracted_path>/target/qcs6490-rb3gen2-vision-kit/qirpsdk_artifacts/qirp-sdk
            scp ./runtime/qirp-sdk.tar.gz root@[ip-addr]:/opt/
            ssh root@[ip-addr]
            (ssh) mount -o remount,rw /usr
            (ssh) cd /opt && tar -zxf ./qirp-sdk.tar.gz
            (ssh) chmod +x /opt/qirp-sdk/*.sh
            (ssh) cd /opt/qirp-sdk && ./install.sh
            Copy to clipboard

    You can then develop robotic samples by referring to [Develop a robotic application](https://docs.qualcomm.com/doc/80-70017-265/topic/develop-your-first-application_6.html#develop-your-first-application-6).

Last Published: Dec 30, 2024

[Previous Topic
Quick start](https://docs.qualcomm.com/bundle/publicresource/80-70017-265/topics/quick-start_3.md) [Next Topic
Run robotic samples](https://docs.qualcomm.com/bundle/publicresource/80-70017-265/topics/run-robotic-samples_3_4.md)