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
Notes and notices The following notes and notices might appear in this guide: • Tip: Suggests how to apply the information in a topic or step. • Note: Explains a special case or expands on an important point. • Important: Points out critical information concerning a topic or step.
2.1. Board Appearance........................13 2.2. Pinout Diagram........................15 3. Getting Started........................17 3.1. Required Hardware......................17 3.2. Connecting a Fan to VisionFive 2..................19 3.3. Flashing OS to a Micro-SD Card................... 19 3.3.1. Flashing with Linux or Windows................19 3.4. Logging into Debian......................20 3.4.1.
• 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. Storage • Onboard TF card slot: The VisionFive 2 can boot from the TF card.
Memory: 2 GB/4 GB/8 GB LPDDR4 SDRAM, up to 2,800 Mbps Storage: Onboard TF card slot The VisionFive 2 can boot from a TF card. Flash The firmware to store U-Boot and bootloader. Multimedia: Video Output • 1 × 2-lane MIPI DSI display port, support...
Page 12
• 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 × 74 mm Compliance:...
Page 14
| 2 - Hardware Overview 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- 2 × Ethernet Ports (RJ45) core CPU, supporting RV64GC ISA PoE Header HDMI 2.0 Port...
• Power adapter • USB Type-C cable Note: During the use of VisionFive 2, avoid contact with hard objects that may cause damage. Thus, StarFive recommends that you use spacers for the following NPTHs (Non Plating Through Hole): Figure 3-1 NPTHs on VisionFive 2...
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.
Perform the following steps to log 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. Enter the credentials as follows: • Username: root •...
Manual. 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.
You will see the following interface: Figure 3-7 Debian Interface 3.4.2. Using SSH over Ethernet After installing Debian, you can log in to Debian OS on VisionFive 2 through an SSH connection over the local network. 1. Enable SSH root login as described in Enable SSH Root Login (on page 32).
| 3 - Getting Started Tip: You can easily find the IP address of the VisionFive 2 by referring to its host name, starfive 3. Download and install Putty by visiting this link. Tip: Putty is an SSH and telnet client through which you can connect to the Carrier Board.
2. Go to DHCP configuration and find the IP address of the VisionFive 2. Tip: You can easily find the IP address of the VisionFive 2 by referring to its host name, starfive. 3. Open a terminal window and type the following: ssh root@192.168.1.xxx...
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.
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.
| 3 - Getting Started 3. Connect the jumper wires between the USB-to-Serial converter and the 40-Pin GPIO header of the VisionFive 2 as follows. Figure 3-14 Connecting Jumper Wires 5V Power 3.3V Power 5V Power GPIO58 (I2C SDA) GPIO57 (I2C SCL)
Result: $ ssh root@192.168.1.172 root@192.168.1.172's password: Linux starfive 5.15.0-starfive #1 SMP Fri Feb 24 03:26:44 EST 2023 riscv64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
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...
Tip: <X>: The application value is for SD card and for eMMC. Example command and output: root@starfive:~# dd if=u-boot-spl.bin.normal.out of=/dev/mmcblk1p1 conv=fsync 255+1 records in 255+1 records out 130688 bytes (131 kB, 128 KiB) copied, 0.033136 s, 3.9 MB/s root@starfive:~# dd if=visionfive2_fw_payload.img of=/dev/mmcblk1p2...
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...
OpenSBI master Debian Debian 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 Boot Mode RGPIO_0 RGPIO_1 1-bit QSPI Nor Flash SDIO3.0...
Need help?
Do you have a question about the VisionFive 2 and is the answer not in the manual?
Questions and answers