The image contains a full Portage tree (and /etc/portage/ set) so that you can run emerge operations immediately.
Leveraging recently improved 64-bit support in the official Raspberry Pi kernel tree, the image supports:
Those interested in trying 64-bit Gentoo on their RPi3 (model B or B+) or RPi4 (model B) may wish to check out the (unofficial) bootable image available here, from which the above screenshot has been taken (see also this forum thread). Screenshot of RPi4 running 64-bit Gentoo image (Xfce) Assuming the Raspberry Pi root partition device is /dev/sdd3, run: LOGFILE = "/var/log/genkernel.log"Īfter saving the configuration file (for example to /etc/nf), mount the RaspberryPi SD card to the INSTALL_MOD_PATH configured above. Without this present, # you'll see "ambiguous redirect" printed out many times between legitimate # messages. GK_SHARE = " $ /distfiles" # Genkernel also needs to have a logfile to write to. INSTALL_MOD_PATH = "/mnt/raspberrypiroot" # Genkernel needs access so /usr/share/genkernel (This folder contains default # environment variables, scripts and source tarballs that enable genkernel to # work). # Note that the location needs to be mounted manually before running genkernel. # For example: ln -s /usr/src/linux-3.6.11-raspberrypi /usr/src/linux-rpi DEFAULT_KERNEL_SOURCE = "/usr/src/linux-rpi" # Point this variable to the directory where the SD card is mounted. # It is possible to make this a symlink pointing to the # /usr/src/linux-rpi like it's done with a normal kernel. MAKEOPTS = "-j3" # For Raspberry Pi A, A+, B, B+ UTILS_CROSS_COMPILE = "armv6j-unknown-linux-gnueabihf-" KERNEL_CROSS_COMPILE = "armv6j-unknown-linux-gnueabihf-" KERNEL_CC = "armv6j-unknown-linux-gnueabihf-gcc" KERNEL_AS = "armv6j-unknown-linux-gnueabihf-as" KERNEL_LD = "armv6j-unknown-linux-gnueabihf-ld" # For Raspberry Pi 2, or Raspberry Pi 3 B in 32-bit mode UTILS_CROSS_COMPILE = "armv7a-unknown-linux-gnueabihf-" KERNEL_CROSS_COMPILE = "armv7a-unknown-linux-gnueabihf-" KERNEL_CC = "armv7a-unknown-linux-gnueabihf-gcc" KERNEL_AS = "armv7a-unknown-linux-gnueabihf-as" KERNEL_LD = "armv7a-unknown-linux-gnueabihf-ld" # Change this to the path of raspberrypi linux kernel sources.
# install kernel manually INSTALL = "no" # Set arch to arm ARCH_OVERRIDE = "arm" # No need to mount BOOTDIR and make symlink as the kernel is # installed manually MOUNTBOOT = "no" SYMLINK = "no" # Adjust this as needed for the machine.