Qualcomm Robotics RB5/RB6 - Flash Boot Image and Rootfs

From RidgeRun Developer Wiki


Index






In this section we will cover the steps needed to flash the Boot Image and Rootfs[1]. To continue with these steps, your board should be in fastboot mode. If it is not, please check our Setting up board in Fastboot Mode section. Also, you should have your boot image and rootfs downloaded. If not, please check our Getting Started section.


1. Open a terminal and go to the directory where you downloaded the boot image.

2. Run the following command to flash the boot image.

Note
Replace BUILD# in the next command with the file-specific date/build stamp.
Note
This process can take up to 20 minutes depending on the boot image you are flashing and your host computer.
sudo fastboot flash boot boot-**BUILD#**.img

If you downloaded the boot image from the Getting Started section, you can use the following command:

sudo fastboot flash boot boot-qrb5165-rb5--5.15-r0-qrb5165-rb5-20211218193306-511.img

The output of the above command should be similar to the following:

target reported max download size of 805306368 bytes
sending 'boot_a' (12568 KB)...
OKAY [  0.054s]
writing 'boot_a'...
OKAY [  0.061s]
finished. total time: 0.115s

3. Go the directory where you downloaded your rootfs. It should be of extension .img.gz

4. Unzip the rootfs file.

Note
Replace rpb-XXX-image.rootfs.img.gz in the next command with the one you downloaded.
gunzip rpb-XXX-image.rootfs.img.gz

5. Flash the rootfs.

Note
Replace rpb-XXX-image.rootfs.img in the next command with the one you downloaded.
Note
This process can take up to 20 minutes depending on the rootfs image you are flashing and your host computer.
fastboot flash rootfs rpb-XXX-image.rootfs.img

If you downloaded the rootfs from the Getting Started section, you can use:

fastboot flash rootfs rpb-desktop-image-qrb5165-rb5-20211218193306-511.rootfs.img

The output of the above command should be similar to the following:

target reported max download size of 805306368 bytes
sending 'rootfs' (661596 KB)...
OKAY [  2.971s]
writing 'rootfs'...
OKAY [ 20.953s]
finished. total time: 23.923s


6. Disconnect the USB type-C and connect the peripherals.

7. Reboot the board. This can be done by unplugging the board from the power supply and plugging it in again. The board should be ready to use. If you installed an image with display, you can connect the board to a monitor and peripherals to use. You can also check our Getting into the board section to check how to access to board through ADB, Serial Console and SSH.

References

  1. Linux Host Installation for Qualcomm Robotics RB5 development kit. Retrieved January 30, 2023, from [1]


Index