This is an overlay voor the Gentoo Linux distribution, it is intended for owners of the SiFive HiFive Unmatched RISC-V PC.
Running Gentoo Linux on the Unmatched requires some modifications to some packages. Some are specific to this specific board, others are for RISC-V in general.
Instead of keeping all those patches for myself I decided to share and hope it will help someone else too. This is actually the first overlay I'm sharing, so feedback is appreciated. You're quite likely to find me on the Gentoo forums or the SiFive forums.
This overlay contains a few packages:
First you'll have to clone this overlay on a place you like, a common place these days is /var/db/repos. So cd into that directory and use git clone https://code.pa4wdh.nl.eu.org/gentoo/unmatched-patchwork, this will create a directory called unmatched-patchwork with the overlay in it.
Next you have to make portage aware of the repo, for that you'll have to create a config file under /etc/portage/repos.conf. Create a file called unmatched-patchwork.conf and give it these contents:
[unmatched-patchwork] location = /var/db/repos/unmatched-patchwork sync-type = git sync-uri = https://code.pa4wdh.nl.eu.org/gentoo/unmatched-patchwork
If you placed the overlay on a different place than /var/db/repos make sure to adapt the location line to your needs.
For me booting with grub has great value, it allows me to boot different kernels via it's menu. This allows me to experiment with different kernel versions and configurations, and i don't run into problems if it somehow doesn't boot.
Mplayer is my favorite media player and is nice to get quick results. Even if you don't have a GPU you can test video with aalib :-).
Have fun!