Installing Gentoo on the SolidRun HoneyComb LX2

I got Gentoo installed on the HoneyComb LX2. It’s an upgrade compared to Void Linux for me.

  1. I recommend the bottom of this website, which will get you up and running with Gentoo: HoneyComb / ClearFog CX Installation and Tips - SolidRun

LLVM_TARGETS=“ARM AMDGPU AArch64 BPF”
L10N=“de en”
LC_MESSAGES=C
CPU_FLAGS_ARM64=“neon”
VIDEO_CARDS=“amdgpu radeonsi”
COMMON_FLAGS="-march=native -O2 -pipe"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
CHOST=“aarch64-unknown-linux-gnu”
FEATURES=“buildpkg parallel-fetch parallel-install”
USE=“X vulkan elogind dbus opengl cups persist -systemd -kde -gnome -bluetooth”
EMERGE_DEFAULT_OPTS="–ask --jobs 2 --keep-going=y --autounmask=y --autounmask-continue"
MAKEOPTS="-j10"
ACCEPT_KEYWORDS="~arm64"
ACCEPT_LICENSE="*"
PORTAGE_NICENESS=“16”
GENTOO_MIRRORS=https://mirror.leaseweb.com/gentoo/

You might want to change the GENTOO_MIRRORS variable to match your region aswell as the USE flags on wheter you use wayland, opendoas… etc… or not. I have 16GiB of RAM, If you have more than that, you can set the MAKEOPTS="-j" flag higher.

  1. If you want mesa to work properly on Gentoo, you will have to patch mesa with this patch, by Jon Nettleton - thank you Jon! :void-packages/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch at master · void-linux/void-packages · GitHub

!!!This patch is for mesa-21.2.1!!!

Therefore: sudo mkdir -p /etc/portage/patches/media-libs/mesa/
wget https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch

sudo cp 0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch /etc/portage/patches/media-libs/mesa/

For topics like synchronizing the time, setting the keymap and locale view:
for time:
https://wiki.gentoo.org/wiki/OpenNTPD

for the keymap:
https://wiki.gentoo.org/wiki/Keyboard_layout_switching

for the locale:
https://wiki.gentoo.org/wiki/Localization/Guide

1 Like