Odroid N2

This Page describes the necessary steps to take to install gentoo on an ODROID-N2 by Hardkernel Co., LTD.. It's a small ARM based single board computer with 6 cores and 2 or 4 GB of RAM.

Prerequisites

 * Computer running linux (gentoo)
 * Option to access the SD-Card from this computer

Micro SD-Card preparation
The boot process of the N2 is described in the ODROID-N2 wiki and requires a certain partition structure of the micro SD-Card. First the boot software loads U-Boot, which as to be a specific location, which then loads the actual kernel from the boot partition.

Partition Table
The desired partition tables looks like this:

The swap partition is optional an depends on the use case.

Option 1 - Extract from Image
In this section, the desired partition table is acquired by using an available ubuntu boot image. This has the advantage of not needing to build U-Boot.

...

Option 2 - Building u-boot
todo

Building the Kernel
File systems -> Btrfs filesystem support must be changed from module to build in.

Ressources

 * Official ORDOID-N2 wiki