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.
- 1.1 Gentoo - Initial Stage3 Setup
- 1.2 Gentoo - Setup of chroot
- 1.3 Gentoo - Setup of Bootloader
- 1.4 Gentoo - Post Boot Setup
- 1.5 Gentoo - Additional Packages
- 1.6 Gentoo - Desktop Managers
Post Install Setup
- 2.1 Boot Process
- 2.2 Video Output
- 2.3 Cross Compiling
- 2.4 Overclocking
- 2.5 Custom Kernel
- 2.6 Custom Overlays
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:
- RPI1 = BCM2835
- RPI2 = BCM2836
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
- Update the ebuilds for latest kde plasma etc
- Re-try this out on a Rpi2 with a fresh build and a 2.5" USB Hard Disk