Download Latest Version rpi3-stag4-25112017.tar.bz2 (486.1 MB)
Email in envelope

Get an email when there's a new version of Gentoo Raspberrypi3 64bit img

Home
Name Modified Size InfoDownloads / Week
Releases 2017-11-26
README.txt 2017-11-26 2.8 kB
Totals: 2 Items   2.8 kB 0
This project initially came up as self education purpose and because I do like running Gentoo whenever and wherever I can. 

I have never planned or thought to create a Gentoo image for the RPI3 and for the general public, especially because there are other images publicly available and from 
well respected developers.

However, among the ones already available, none of them would provide me sudo, vi, git portage, OpenVPN and few other much needed (at least for me) tools out of the box. 
Instead, some of those do come with X and a DE preset, all stuff which I have no need for.

If you do want to use your RPI3 as desktop environment and don't want to spend much time tweaking it around, stop reading and look somewhere else, this is not for you.
Instead, if what you are looking for is a stable environment you can remote from the office, with git portage, gcc, vim, KVM, NFS and few other tools, and from there build the system the way you like it, than this might be right for you.

There are no secrets around. This image was primarily built with the knowledge found in:
https://wiki.gentoo.org/wiki/Embedded_Handbook/General/Compiling_with_qemu_user_chroot
https://wiki.gentoo.org/wiki/Raspberry_Pi_3_64_bit_Install
https://github.com/sakaki-/gentoo-on-rpi3-64bit#kernelbuild
and google.co.uk

The kernel is built using crossdev, while @world as well as most of the additional packages are built from a chrooted qemu environment.

System is than configured as per https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation

Everything should work out of the box. What is left to do for the user is changing the root password, creating a user, securing sshd, configuring wpa_supplicant.conf if wireless is needed, and setting up a logging system.

As far as portage is concerned, it has been configured to work with git out of the box. A emerge --sync will download and syncup the latest updated portage tree. 
Another option is mounting /usr/portage from a NFS share, reason why nfs-utils is there.

Since my initial setup is swapless (doesn't mean yours has to be like that), I made a script that will create a 50MB Zram disk at boot,
and another one which resets and umount the disk during reboot / poweroff. 

Scripts are found in /etc/local.d/, feel free to remove them if you don't need it. I would not recommend using more than 50M of Zram disk, 
and if you are going to get X, a DE and ultimately a browser, a swap partition is very much needed.

Locale is set to en_GB.UTF-8 UTF-8 and timezone to Europe/London. Change them accordingly.

Also since I do use channel 13, regulatory domain was set to CN. Please change it according to your country's regulation. 
Config file is found in /etc/modprobe.d/cfg80211.conf .

Any feedback, suggestions and requests, please let me know.
Source: README.txt, updated 2017-11-26