The Banana Pi embedded system is very similar to the Raspberry Pi.
Lemakers Gentoo Image
Download the compressed image file from http://www.lemaker.org/mirror and extract it.
tar xfzv Gentoo_For_BananaPro_v1412.tgz
Connect a compatible SD card, or a SATA 2.5" harddisc with your computer. Lets assume the device is named /dev/sdx. Write the image to the media with dd
sudo dd if=Gentoo_For_BananaPro_v1412.img of=/dev/sdx bs=1M
Manual Gentoo installation on SDD
Boot a Gentoo system (for example the Lemaker image) from SD card. Follow to the installation procedure in the amd64 manual but download and use an ARMv7a stage3 file from https://www.gentoo.org/downloads/ instead of the amd64 version.
Build the Kernel for a Banana Pi
Installation of U-Boot
See the instructions on this Gentoo wiki page.
On the Banana Pi Pro load the following module
sudo modprobe ap6210
- Distcc/Cross-Compiling — shows the reader how to set up distcc for cross-compiling across different processor architectures.
- Banana Pi the Gentoo Way — provides details on how to install Gentoo with a user compiled kernel and a Gentoo stage 3 on the Banana Pi