Linux Host

This section show how to install a new operating system to your Qualcomm Robotics RB5 development kit using the fastboot method on a Linux host computer.


  • Step 1: Make sure fastboot is set up on host computer
  • Step 2: Connect host computer to Qualcomm Robotics RB5 dev kit
  • Step 3: Boot RB5 into fastboot mode
  • Step 4: Flash Images
  • Step 5: Reboot the development kit

Step 1: Make sure fastboot is set up on host computer.

You can install fastboot from source or using your distro package manager.
  • From source:
    • Android SDK “Tools only” for Linux can be downloaded here
    • The Linux “Tools Only” SDK download does not come with fastboot, you will need to use the Android SDK Manager to install platform-tools.
    • To do this follow the “SDK Readme.txt” instructions included in your SDK “Tools Only” download.

    If you are still having trouble setting up fastboot, click here for a short tutorial video

  • Or using a distro package manager:
    # Red Hat flavour (Fedora, CentOS)
    $ sudo yum install android-tools
    
    # Debian (Ubuntu)
    $ sudo apt-get install android-tools
    
    # Ubuntu 16.04 (Xenial) and beyond
    $ sudo apt-get install android-tools-fastboot
    

Step 2: Connect host computer to Qualcomm Robotics RB5 development kit

  • Development kit must be powered off (unplugged from power)
  • Make sure microSD card slot on the development kit is empty
  • Please check the Quick start guide to set the correct dip switches on the development kit.
  • Connect USB to microUSB cable from host computer to the development kit.

Step 3: Boot Qualcomm Robotics RB5 dev kit into fastboot mode

Please read all bullet points before attempting

  • Press and hold the Vol (-) button on the dev kit, this is the S4 button. Dev kit should still NOT be powered on
  • While holding the Vol (-) button, power on the development kit by plugging it in
  • Once the development kit is plugged into power, release your hold on the Vol (-) button.
  • Wait for about 20 seconds.
  • Board should boot into fastboot mode.

From the connected host machine terminal window, run the following commands:

# Check to make sure device is connected and in fastboot mode

$ sudo fastboot devices

Typically it will show as below

de82318	fastboot

At this point you should be connected to your Qualcomm Robotics RB5 development kit with a USB to TypeC cable. Your development kit should be booted into fastboot mode and ready to be flashed with the appropriate images.

Step 4: Flash Images

cd <path-to-images>
fastboot flash abl_a abl.elf
fastboot flash boot_a sda845-boot.img
fastboot flash system_a sda845-sysfs_1.ext4
fastboot flash systemrw sda845-systemrw.ext4
fastboot flash cache sda845-cache_1.ext4
fastboot flash userdata sda845-usrfs_1.ext4
fastboot flash persist sda845-persist_1.ext4

Step 5: Reboot the Qualcomm Robotics RB5 development kit

  • fastboot reboot

Congratulations! You are now booting your newly installed OS directly from UFS on the Qualcomm Robotics RB5 development kit!