Kodi on an Odroid C1+

This wiki is describing how to get a working kodi on the framebuffer with video acceleration to work on an Odroid C1+

Prepare the SD card an boot the system
At first you must install a linux image to sdcard to boot the odroid. I'm recommending the ARM Image. Follow the instructions on this site. I'm descriping how to install Gentoo on an USB hard disc.

I'm describing here the base steps. For more information see the Handbook.

Preparing the disk
At first you must prepare the USB disc at which we install gentoo. You need 2 partitions. A swap an a root partition.

Now you need a filesystem.

Mounting the USB disk and installing the stage archive
Now download the stage3 archive and extract it.

Entering the new environment
No we enter the new environment.

Downloading the portage-tree and adding some overlays
To download the portage-tree, type in:

Now we add 2 overlays which we need for our odroid c1+.

The odroidc1 overlay and the dsiggis-gentoo-overlay containing the necessary files.

To add the overlays edit.

Now create the directories for the overlays and sync them

Editing make.conf
Here is my sample make.conf. This on should work for you but you can change it your choice.

Installing the kernel sources and necessary packages
Now you can install the kernel, u-boot-tools and dracut.

Build the kernel
Do the following:

Now you have a standard config for your odroid c1+. If you wish you can configure the kernel like you want.

To build the kernel do the following:

Install the kernel
To install the kernel you must do the following.

No edit and change the variable "bootargs" to match to your root device. Then also change the 2 lines unter "# Booting" to match to your uImage and uImagerd.

Finish installation
At first you must install a small script to get and output on your screen.

To get the script to work you must install fbset:

No we need an init.d-script for it:

Activating the script:

Now do all the remaining steps from the Handbook, eg install an cron daemon an editing the config files. Then you can reboot your system.

Java
Java is required to install Kodi. The official Java implementation was used in this guide, although it may be possible to use icedtea with the odroid:

Kodi
When using ALSA audio output can be directed to a HDMI sound output or a USB soundcard. To use both  must be enabled.

Add the  or   USE flag values to the  file.

To be able to shutdown the odroid from kodi and use a keyboard as input device the,  ,  , and   USE flags should be enabled. After setting the flags as desired, emerge Kodi:

The  USE flag is necessary to add odroidc1 compatibility.