View on GitHub


Download this project as a .zip file Download this project as a tar.gz file



This is a custom Gentoo portage overlay for my own experimentation with putting gentoo onto a Raspberry Pi 2. Feel free to use the notes I've put together for installation, but there's no support included. This is intended more as a command reference / list of things to do for the setup. I'd recomend reading more of the official gentoo documentation if you've never installed gentoo before.

The information here is a little rough, some of it is a duplication of the official gentoo docs. But it should be enough to get you going with the RPi2 and gentoo.

In my case I'm using a 500Gb USB Hard disk, with raspian installed onto the SD Card as a starting point. I'm using a hard disk here for the install because of the swap space and size of the install (and to keep raspian intact). Also gentoo is likley to thrash the disk while compiling apps and code, which isn't something you generally want to happen on an SD Card.

Initial Installation

Post Install Setup

CPU Info

All RPI CPU's fall under the family of BCM2708 this is sort of the family / chip group name. But the more specific model name of the CPU is:

The original Rpi only had support for ARM6 but the RPI 2 now has support for ARM7 along with hard float calculations for additional performance. With raspian I found the build tools to be a bit older than I liked, so I decided to have a go with gentoo. This way I can recompile everything with hard float support, and get the newer versions of the build tools I'm after

I'd imagine at some stage there will be a debian hardfloat version for the RPI2, or a more official gentoo release setup for it. I'm just using this as a stop gap untill that's released

Original Links / Sources of Information