RB3 Gen 2 Vision Kit
The Qualcomm Dragonwing RB3 Gen 2 Development Kit is a powerful Linux-based development board based around the QCS6490 SoC. It has two built-in cameras, a Kryo™ 670 CPU, Adreno™ 643L GPU and 12 TOPS Hexagon™ 770 NPU. It's available for $599 from a variety of distributors (buy now).

Setup
Installing Ubuntu 24.04
The RB3 Gen 2 Vision Kit comes with the Yocto-based Qualcomm Linux by default. You'll want to switch to Ubuntu 24.04 to follow the tutorials in this documentation.
If it's on, turn your RB3 Gen 2 Vision Kit off, and disconnect the power adapter.
You'll need to connect the RB3 Gen 2 Vision Kit to your computer using two USB cables.
Connect the RB3 to your computer using a micro-USB cable (using the port highlighted in yellow):

Connect the RB3 to your computer using an USB-C cable (using the port highlighted in red):

While flashing you'll need the 'F_DL' and 'Power' buttons. They are here:

F_DL button 
Power button Now, depending on the OS on your computer:
You need to swap out the Qualcomm USB driver for a WinUSB driver, otherwise you cannot flash the board.
Download and unzip QDL:
Download for x86 (e.g. Intel/AMD processors)
Download for ARM64 (e.g. Snapdragon processors)
Disconnect the power adapter to your RB3 Gen 2 Vision Kit.
Connect power adapter.
Hold down the 'F_DL' button, and press the power button for 2 seconds (while you keep holding F_DL).
In the QDL folder, find
install_driver.bat. Right-click, and select "Run as administrator".
QDL: install_driver.bat This should print something akin to:
Open a terminal, and run:
Open a terminal, and run:
Update your udev rules. Open a terminal and run:
Disconnect and reconnect the USB cables to your RB3 development kit.
Then, from a terminal, run:
Configuring Ubuntu 24
Now that we have Ubuntu 24.04 installed, lets connect your RB3 Gen 2 Vision Kit to the internet.
Either:
Hook up a display, keyboard, and mouse - and make sure you can open the terminal application on the device.
When prompted to login, the default username is
ubuntuand the default password is alsoubuntu. You'll need to change these on first login.Or, connect to the device using a serial port. You can either use your favorite serial terminal application (use baud rate 115200) or, on your computer:
Install Node.js (on Windows: make sure to enable 'Tools for Native Modules').
Install the Edge Impulse CLI by opening a command prompt or terminal window, and running:
Issues with installing the Edge Impulse CLI? See the install instructions.
You can now connect to your board via:
Once you are connected to the board, and you don't see any log messages anymore; press
ENTERand log in with usernameubuntu, passwordubuntu:To disconnect, press
CTRL+D.
From your terminal, set up WiFi:
Optional: If you want to connect over SSH:
Find your IP address:
On your host machine (so not on your dev board), open a command prompt or terminal and run:
(Replace 192.168.1.253 with the IP you found in the previous step)
Optional: Follow this guide to connect your board to Visual Studio Code via SSH for code development and deployment.
Last, install the USB / Ethernet driver:
TODO: The official docs force you to download renesas_usb_fw.mem from Renesas. But on RUBIK Pi we can ship it on-device. Figure out if we can host on CDN under the same agreement before publishing these docs.
Installing drivers, AI Engine Direct and the IM-SDK
Now that we have Ubuntu 24.04 installed and connected to a network, let's install GPU drivers and the Qualcomm AI Engine Direct SDK (to run neural networks).
From the terminal or ssh session on your development board, run:
Install some base packages:
Download and install the AI Engine Direct SDK library and development headers:
Install OpenCL GPU drivers:
Tips & tricks
Using the built-in cameras
Your development kit has two built-in cameras, but you can only read data from the cameras using a GStreamer pipeline with the qtiqmmfsrc plugin (part of the IM SDK).
For a Python example, see qc-ai-test-docs-examples/rb3-builtin-cameras.
Or, to stream camera to data to a file, open a terminal on your device and run:
Large camera
Small camera
This writes frames to the out/ directory.
Troubleshooting
qdl: unable to open USB device
If you see qdl: unable to open USB device when flashing the board (on Windows) then make sure to update the driver using QDL's install_driver.bat (see above).
Last updated