Preparing Software

Make sure the following procedures are performed:
Note: Make sure that you use the latest Debian image.
  1. Log into the Debian and make sure VisionFive 2/VisionFive 2 Lite is connected to the Internet. For detailed instructions, refer to the Using SSH over Ethernet or Using a USB to Serial Converter section in the VisionFive 2 Single Board Computer Quick Start Guide or VisionFive 2 Lite Single Board Computer Quick Start Guide.
  2. Log into the Debian and make sure VisionFive 2/VisionFive 2 Lite is connected to the Internet. Log into Debian with keyboard, mouse and monitor connected. For detailed instructions, refer to Using Desktop over HDMI section in the VisionFive 2 Single Board Computer Quick Start Guide or VisionFive 2 Lite Single Board Computer Quick Start Guide.
  3. Extend the partition on Debian as described in Extend Partition section in the VisionFive 2 Single Board Computer Quick Start Guide or VisionFive 2 Lite Single Board Computer Quick Start Guide.
  4. Execute the following command on VisionFive 2/VisionFive 2 Lite Debian to install StarFive Packages and its dependencies. The installation requires 1-3 hours.

    For VisionFive 2:

    https://github.com/starfive-tech/Debian/releases/download/v0.8.0-engineering-release-wayland/install_package_and_dependencies.sh
    chmod +x install_package_and_dependencies.sh
    sudo ./install_package_and_dependencies.sh
    

    For VisionFive 2 Lite:

    https://github.com/starfive-tech/Debian/releases/download/v0.15.0-engineering-release-wayland/install_full.sh
    chmod +x opt/install_full.sh
    sudo ./opt/install_full.sh
  5. (Optional) If you need to use the IMX219 CSI camera, open a separate terminal window on VisionFive 2 Debian and build media pipeline and run the ISP control process:
    export PATH=$PATH:/opt/
    /opt/media-ctl-pipeline.sh -d /dev/media0 -i csiphy0 -s ISP0 -a start