← Back to VisionFive 2
gentoo on VisionFive 2

System Version

2.13

Status

basic

Last Update

2024-06-21

Gentoo VisionFive 2 Test Report

Test Environment

Operating System Information

This image is provided by community developers and is not an official release.

Hardware Information

  • StarFive VisionFive 2
  • A USB power adapter
  • A USB-A to C or C to C cable
  • A microSD card
  • A USB to UART debugger (e.g., CH340, CH341, FT2232, etc.)
  • Three Dupont wires

Installation Steps

Decompress and Flash the Image to the microSD Card

Assuming /dev/sdc is the storage card.

bzcat gentoo.img.bz2 | sudo dd of=/dev/sdc iflag=fullblock bs=4M status=progress

Boot Mode Selection

StarFive VisionFive 2 offers various boot modes, configurable via onboard dip switches before powering on. The specific modes are labeled on the development board.

To boot the Gentoo image, select the 1-bit QSPI Nor Flash mode (i.e., RGPIO_0 = 0, RGPIO_1 = 0). Note that this mode may require prior firmware updates in the Flash. If the boot is unsuccessful, refer to the official documentation for firmware updates: Update SPL and U-Boot

Logging into the System

Logging into the system via the serial port.

Username: root No password.

Expected Results

The system should boot normally and allow login via the serial port.

Actual Results

The system booted successfully and login via the serial port was successful.

Boot Log

root@StarFive ~ # uname -a                                                                                                          
Linux StarFive 5.15.0-starfive #1 SMP Mon Feb 27 14:03:14 EST 2023 riscv64 GNU/Linux                                                
root@StarFive ~ # cat /etc/os-release                                                                                               
NAME=Gentoo                                                                                                                         
ID=gentoo                                                                                                                           
PRETTY_NAME="Gentoo Linux"                                                                                                          
ANSI_COLOR="1;32"                                                                                                                   
HOME_URL="https://www.gentoo.org/"                                                                                                  
SUPPORT_URL="https://www.gentoo.org/support/"                                                                                       
BUG_REPORT_URL="https://bugs.gentoo.org/"                                                                                           
VERSION_ID="2.13"                                                                                                                   
root@StarFive ~ #

Screen recording (from flashing the image to logging into the system):

asciicast

Test Criteria

Successful: The actual result matches the expected result.

Failed: The actual result does not match the expected result.

Test Conclusion

Test successful.