Qualcomm Robotics RB5/RB6 - Flash Boot Image and Rootfs
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.
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.
gunzip rpb-XXX-image.rootfs.img.gz
5. Flash the rootfs.
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