Qualcomm Robotics RB5/Software Support/Linaro/Flash images: Difference between revisions
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
</noinclude> | </noinclude> | ||
{{DISPLAYTITLE:Qualcomm Robotics RB5/RB6- Flash Boot Image and Rootfs|noerror}} | {{DISPLAYTITLE:Qualcomm Robotics RB5/RB6 - Flash Boot Image and Rootfs|noerror}} | ||
In this section we will cover the steps needed to flash the Boot Image and Rootfs<ref name="flashbootloaderfastboot">Linux Host Installation for Qualcomm Robotics RB5 development kit. Retrieved January 30, 2023, from [https://www.96boards.org/documentation/consumer/dragonboard/qualcomm-robotics-rb5/installation/linux-fastboot.md.html]</ref>. To continue with these steps, your board should be in fastboot mode. If it is not, please check our [[Qualcomm_Robotics_RB5/Software_Support/Debug_modes/Set_up_fastboot_mode|Setting up board in Fastboot Mode]] section. Also, you should have your boot image and rootfs downloaded | In this section we will cover the steps needed to flash the Boot Image and Rootfs<ref name="flashbootloaderfastboot">Linux Host Installation for Qualcomm Robotics RB5 development kit. Retrieved January 30, 2023, from [https://www.96boards.org/documentation/consumer/dragonboard/qualcomm-robotics-rb5/installation/linux-fastboot.md.html]</ref>. To continue with these steps, your board should be in fastboot mode. If it is not, please check our [[Qualcomm_Robotics_RB5/Software_Support/Debug_modes/Set_up_fastboot_mode|Setting up board in Fastboot Mode]] section. Also, you should have your boot image and rootfs downloaded. If not, please check our [[Qualcomm Robotics RB5/Software_Support/Linaro/Getting_started|Getting Started]] section. | ||
Line 12: | Line 12: | ||
'''2'''. Run the following command to flash the boot image. | '''2'''. Run the following command to flash the boot image. | ||
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | {{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | ||
| | |style=overflow:hidden; | ||
|content=Replace BUILD# in the next command with the file-specific date/build stamp.}} | |content=Replace BUILD# in the next command with the file-specific date/build stamp. | ||
}} | |||
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | {{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | ||
| | |style=overflow:hidden; | ||
|content=This process can take up to 20 minutes depending on the boot image you are flashing and your host computer.}} | |content=This process can take up to 20 minutes depending on the boot image you are flashing and your host computer. | ||
}} | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
sudo fastboot flash boot boot-**BUILD#**.img | sudo fastboot flash boot boot-**BUILD#**.img | ||
Line 37: | Line 42: | ||
finished. total time: 0.115s | finished. total time: 0.115s | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''3'''. Go the directory where you downloaded your rootfs. It should be of extension .img.gz | '''3'''. Go the directory where you downloaded your rootfs. It should be of extension <code>.img.gz</code> | ||
<br> | <br> | ||
'''4'''. Unzip the rootfs file. | '''4'''. Unzip the rootfs file. | ||
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | {{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | ||
| | |style=overflow:hidden; | ||
|content=Replace rpb-XXX-image.rootfs.img.gz in the next command with the one you downloaded.}} | |content=Replace rpb-XXX-image.rootfs.img.gz in the next command with the one you downloaded. | ||
}} | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
gunzip rpb-XXX-image.rootfs.img.gz | gunzip rpb-XXX-image.rootfs.img.gz | ||
Line 52: | Line 58: | ||
'''5'''. Flash the rootfs. | '''5'''. Flash the rootfs. | ||
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | {{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | ||
| | |style=overflow:hidden; | ||
|content=Replace rpb-XXX-image.rootfs.img in the next command with the one you downloaded.}} | |content=Replace rpb-XXX-image.rootfs.img in the next command with the one you downloaded. | ||
}} | |||
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | {{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | ||
| | |style=overflow:hidden; | ||
|content=This process can take up to 20 minutes depending on the rootfs image you are flashing and your host computer.}} | |content=This process can take up to 20 minutes depending on the rootfs image you are flashing and your host computer. | ||
}} | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> |
Latest revision as of 11:14, 8 April 2024
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