User:Rivnakm/VisionFive

Summary
I'm working on getting an outline for installing Gentoo on a StarFive VisionFive V1. I'm still relatively new to this so I'm open to feedback and improvement, and errors are definitely possible.

I'm basing this off of documentation from the Debian Wiki for installing on the VisionFive

Setting up Partitions
Mount the partitions

Installing the Stage 3 Archive
Download the stage 3 archive of your choice (openrc/systemd) from your closest mirror. I'll be using systemd

Building the Kernel
Clone the kernel source repositoryConfigure and the kernelFinally, build the kernel

Install QEMU Static
Set static-user USE flag for QEMU

Set QEMU arch build flags

Install QEMU

Register binary format handlers
For systemd systems

Start binfmt service
or

Set up chroot
Mount the required directories:Chroot into the environment:

Configuring the system
Install the Kernel

Set the root password so we can login to the system

Configure fstab

Configure the network interface

Final Steps
Sync and unmount partitions