Using Fastboot Tool on Ubuntu

Perform the following steps to use Fastboot Tool:

  1. Install Fastboot Tool on Ubuntu:
    $ sudo apt install fastboot
  2. For enabling faster and more reliable flashing, image should be converted into a sparse format to skip empty data blocks.
    $ sudo apt install img2simg
    $ img2simg StarFive-JH7110-Ubuntu-Noble-Build11.img xxxxx.img
  3. Enter the fastboot mode on Ubuntu. For details, see Enter fostboot mode step in Software Preparation
  4. Run fastboot devices -l and find the device.
    Figure 1. Example Output
  5. Run fastboot flash mmc0 xxxxx.img to burn the image into eMMC, and then restart the device after flashing:
    Tip: xxxxx.img is the file generated in Step 2.
    Figure 2. Example Output