Hide thumbs Also See for VisionFive 2:

Advertisement

Quick Links

VisionFive 2 Single Board Computer
Quick Start Guide
Version: 0.9
Date: 2022/11/30
Doc ID: VisionFive2-QSGEN-001

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisionFive 2 and is the answer not in the manual?

Questions and answers

Summary of Contents for StarFive VisionFive 2

  • Page 1 VisionFive 2 Single Board Computer Quick Start Guide Version: 0.9 Date: 2022/11/30 Doc ID: VisionFive2-QSGEN-001...
  • Page 2 StarFive does not assume any liability rising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation indirect, incidental, special, exemplary, or consequential damages.
  • Page 3 About this guide and technical support information. About this document This document mainly provides the users with the necessary information about the StarFive VisionFive 2 development board, including features, specifications, board appearance, and pinout, as well as the guidelines to get started with the Debian operating system.
  • Page 4: Table Of Contents

    2.1. Board Appearance................................11 2.2. Pinout Diagram................................. 13 3. Getting Started.................................. 14 3.1. Required Hardware................................14 3.2. Connecting a Fan to VisionFive 2............................. 14 3.3. Flashing OS to a Micro-SD Card............................14 3.3.1. Flashing with Linux or Windows..........................14 3.4. Logging into Debian................................15 3.4.1.
  • Page 5: List Of Tables

    Contents List of Tables Table 0-1 Revision History.................................iii Table 2-1 Board Appearance Description............................12 Table 4-1 Recover Binaries................................28 Table 4-2 Boot Mode Settings................................. 28 © 2018-2022 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 6: List Of Figures

    Figure 3-11 Example Output................................22 Figure 3-12 Example Output................................22 Figure 3-13 Example Output................................23 Figure 4-1 Connecting to the Debug Pins of VisionFive 2 40-pin GPIO Header ................27 Figure 4-2 Boot Mode Setting (UART)............................. 27 Figure 4-3 Boot Mode Settings................................28 www.starfivetech.com ©...
  • Page 7: Features And Specifications

    Video Processing (on page 7) Processor • StarFive JH7110 with RISC-V quad-core CPU with 2 MB L2 cache and a monitor core, supporting RV64GC ISA, working up to 1.5 GHz • IMG BXE-4-32 MC1 with work frequency up to 600 MHz Memory VisionFive 2 provides the system memory of 2 GB, 4 GB, or 8 GB LPDDR4 SDRAM up to 2,800 Mbps.
  • Page 8: Software

    Item Description Processor: StarFive JH7110 StarFive JH7110 with RISC-V quad-core CPU with 2 MB L2 cache and a monitor core, supporting RV64GC ISA, working up to 1.5 GHz Imagination GPU IMG BXE-4-32 MC1 with work frequency up to 600 MHz...
  • Page 9 1 × 40-pin GPIO header, supporting various interface options: • 3.3 V (on 2 pins) • 5 V (on 2 pins) • Ground (on 8 pins) • GPIO • CAN bus • DMIC • I2C • I2S • PWM © 2018-2022 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 10 • 1-bit QSPI Nor Flash • SDIO3.0 • eMMC • UART Button: Reset button To reset VisionFive 2, press and hold the Reset button for more than 3 seconds to ensure the reset is successful. Dimensions: 100 × 72 mm Compliance: RoHS, FCC, CE...
  • Page 11: Hardware Overview

    2. Hardware Overview This chapter provides the hardware overview of VisionFive 2. 2.1. Board Appearance Figure 2-1 Board Appearance (Top View) © 2018-2022 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 12: Figure 2-2 Board Appearance (Bottom View)

    | 2 - Hardware Overview Figure 2-2 Board Appearance (Bottom View) CAUTION: During the use of VisionFive 2, avoid contact with hard objects that may cause damage. Table 2-1 Board Appearance Description Description Description StarFive JH7110 with RISC-V quad-core CPU, 2 ×...
  • Page 13: Pinout Diagram

    GPIO pins. • All GPIOs can be configured to support different functions including but not limited to SDIO, Audio, SPI, I2C, UART, and PWM. For the instructions, refer to the VisionFive 2 40-Pin GPIO Header User Guide. © 2018-2022 StarFive Technology www.starfivetech.com...
  • Page 14: Getting Started

    3.3. Flashing OS to a Micro-SD Card Now we need to burn Debian (which is a Linux distribution) to a micro-SD card so that it can run on the VisionFive 2. This chapter provides example steps to flash Debian to a Micro-SD card with Linux or Windows.
  • Page 15: Logging Into Debian

    1. Connect a display to VisionFive 2 via HDMI. 2. Insert the TF card with the Debian image into VisionFive 2 and power it on. 3. Start the system. Once enter the u-boot command line interface, enter the following command to boot into Debian: ext4load mmc 1:3 a0000000 /boot/uEnv.txt...
  • Page 16: Using Xfce Desktop Over Hdmi

    Using a USB to Serial Converter (on page 18) 3.4.1. Using Xfce Desktop over HDMI After installing Debian, you can log in to Debian OS on VisionFive 2 using Xfce Desktop over HDMI. Steps: 1. After the HDMI of the display screen is connected, insert the micro-SD card with the Fedora image into the VisionFive and power on.
  • Page 17: Using Ssh Over Ethernet

    1. Insert the micro-SD card with the Debian image into the VisionFive 2 and power on. 2. Connect one end of an Ethernet cable to the RJ45 connector on the VisionFive 2 and the other end of the cable to a router.
  • Page 18: Using A Usb To Serial Converter

    192.168.1.xxx Figure 3-5 Example Output 3.4.3. Using a USB to Serial Converter You can log in to Debian OS on VisionFive 2 using a USB-to-Serial converter. Please follow the following steps according to your www.starfivetech.com © 2018-2022 StarFive Technology All rights reserved...
  • Page 19: Figure 3-6 Connecting Jumper Wire

    1. Insert the micro-SD card with the Debian image burnt into VisionFive 2. 2. Connect one end of the USB Type-C cable to the USB Type-C port on the VisionFive 2, and connect the other end of the cable to the power adapter.
  • Page 20: Figure 3-7 Example

    8. Open Putty to connect the PC to the Carrier Board. a. Select Serial under the Connection Type. b. Configure the settings as follows: ▪ Serial line: COM4 (choose your COM port) ▪ Speed: 115200 Figure 3-8 Example Configuration c. Click Open. www.starfivetech.com © 2018-2022 StarFive Technology All rights reserved...
  • Page 21: Figure 3-9 Example Output

    1. Insert the micro-SD card with the Debian image burnt into VisionFive 2. 2. Connect one end of the USB Type-C cable to the USB Type-C port on the VisionFive 2, and connect the other end of the cable to the power adapter.
  • Page 22: Figure 3-11 Example Output

    -D /dev/ttyUSB0 -b 115200 Note: The baud rate is set to 115,200. Figure 3-12 Example Output 10. Power on the VisionFive 2. 11. Type username and password in the prompt as follows: ◦ Username: root ◦ Password: starfive Result: www.starfivetech.com...
  • Page 23: Figure 3-13 Example Output

    | 3 - Getting Started Now you have connected with the VisionFive 2 via serial communication using MacOS/Linux! Figure 3-13 Example Output © 2018-2022 StarFive Technology www.starfivetech.com All rights reserved...
  • Page 24: Appendix

    Created a new partition 3 of type 'Linux filesystem' and of size 119 GiB. Partition #3 contains a ext4 signature. Do you want to remove the signature? [Y]es/[N]o: N Command (m for help): w The partition table has been altered. Syncing disks. root@starfive:~# www.starfivetech.com © 2018-2022 StarFive Technology All rights reserved...
  • Page 25: Enable Ssh Root Login

    You will be able to use SSH login as a root user. The following output indicates the login is successful: $ ssh root@192.168.1.172 root@192.168.1.172's password: Linux starfive 5.15.0-starfive #1 SMP Wed Aug 31 08:29:37 EDT 2022 riscv64The programs included with the Debian GNU/Linux system are free software;...
  • Page 26: Updating Spl And U-Boot

    1. Prepare the TFTP server. The following is an example command for Ubuntu distribution. sudo apt install tftpd-hpa 2. Power on VisionFive 2 and wait until it enters the U-Boot command line interface. 3. Configure the environment variables by executing: setenv ipaddr 192.168.120.222;setenv serverip 192.168.120.99...
  • Page 27: Figure 4-1 Connecting To The Debug Pins Of Visionfive 2 40-Pin Gpio Header

    | 4 - Appendix 1. Connect the jumper wires between the USB-to-Serial converter and the Debug pins of VisionFive 2 40-pin GPIO header. The following figure is an example: Figure 4-1 Connecting to the Debug Pins of VisionFive 2 40-pin GPIO Header 5V Power 3.3V Power...
  • Page 28: Github Repository

    The following table describes the links to GitHub repository: GitHub Repositories: TBD (Coming Soon) 4.6. Boot Mode Settings VisionFive 2 provides pins to determine the boot mode before it is powered up. The following are the available boot modes and details. Table 4-2 Boot Mode Settings...
  • Page 29 | 4 - Appendix 1 (High Level) 0 (Low Level) RGPIO_1 RGPIO_0 © 2018-2022 StarFive Technology www.starfivetech.com All rights reserved...

Table of Contents