From Gentoo Wiki
Jump to:navigation Jump to:search
Community member
Name Thomas Bracht Laumann Jespersen
Nickname laumann
PGP fingerprint

I love to help! If you have an issue, I can always be pinged on irc. I like building packages

Notes for packages I maintain


For updates:

  • Build app-text/poppler
  • Build media-libs/leptonica



Fuzzy matching library written in C++ with a Python extension. The python extension can be picked up by dev-util/diffoscope to fuzzily matching file paths.

Contact info
laumann (IRC)

User info
Gentoo user since 2010
en-5This user is able to contribute with a professional level of English.

Gentoo w/musl on Raspberry Pi 3B+

Some notes from setting up and getting Gentoo (hardened + musl) running on a Raspberry Pi 3B+ (aarch64).

Generally, I could follow the instructions on Raspberry Pi 3 64 bit Install using crossdev to build the kernel, and using the aarch64 musl hardened stage3 (from the Gentoo downloads page).

I didn't (yet) bother setting up bluetooth, but I did download the binary blob for the Wi-Fi card.

Setting up serial console

In config.txt, make sure to enable UART:

FILE /boot/config.txt

Ask the kernel to create a serial console for you:

FILE /boot/cmdline.txt
console=serial0,115200 console=tty1

The kernel parameters should be added to the existing parameters.

Finally, edit /etc/inittab to create the serial console:

FILE /etc/inittab
s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100

There should already be a line commented out for s0, but note that it has baudrate 9600, not 115200 which we've configured in cmdline.txt.


The full contents of /boot/config.txt:

FILE /boot/config.txt
# have a properly sized image

# lets have the VC4 hardware accelerated video

# for sound over HDMI

# Enable audio (loads snd_bcm2835)

# gpu_mem is for closed-source driver only; since we are only using the
# open-source driver here, set low

# Force booting in 64bit mode

# Enable UART

I don't plan to have the HDMI monitor plugged in when using the Pi, so I might make some changes to this config later.