User:Laumann

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:

Ask the kernel to create a serial console for you:

The kernel parameters should be added to the existing parameters.

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

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.

/boot/config.txt
The full contents of /boot/config.txt:

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.

media-libs/openjpeg
For updates:


 * Build
 * Build

TODO

 * IN PROGRESS Upstream patch that switches to GNUInstallDirs: https://github.com/uclouvain/openjpeg/pull/1165 (see https://github.com/uclouvain/openjpeg/pull/1424)

dev-{libs,python}/tlsh
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.