http://seafile.servator.de/sbc/odroid/build/
Ready to use linux image for Debian/Ubuntu:
http://seafile.servator.de/sbc/odroid/kernel/
Alternative xorg driver:
http://seafile.servator.de/sbc/odroid/fbturbo/
# info
As 3.14 does not get security patches anymore an 4.14 has a different driver architecture and needs a new uboot I decied to integrate the hardkernel drivers into kernel 3.16.
Why 3.16? It is close enough to 3.14 so the patches to be made are small and we can just copy the missing drivers into the kernel tree.
Th second reason 3.16 has longterm support by linux mainline (currently longer than 4.9) and Debian.
The prepare script downloads and unpacks the latest debian 3.16 kernel and fetches the latest hardkernel odroidc2-3.14.y from github.
In the next step c2 drivers (drivers/amlogic, drivers/gpu/arm, drivers/gpu/drm/mali, drivers/hardkernel and others) will be copied into the 3.16 kernel and patches applied.
The patchset is divided into the main and the optional part.
To enable the optional part just open prepare-linux.sh and change the line doOptional=false to doOptional=true
Contains refreshed patches of my earlier work (optional):
viewtopic.php?f=139&t=23361
viewtopic.php?f=139&t=23765
You can run the prepare script on any current Debian or Ubuntu with bash and use your own build environment, but the build scripts are made to work directly on Odroid C2.
# 1. prepare
Code: Select all
wget http://seafile.servator.de/sbc/odroid/build/linux-3.16-odroidc2-build.tar.gz
mkdir linux-c2
cd linux-c2
tar xzf ../linux-3.16-odroidc2-build.tar.gz
sudo ./build-deps.sh
./update-debian-linux.sh
bash -e prepare-linux.sh
Code: Select all
./build-debian-linux.sh
sudo ./install-debian-linux.sh
Code: Select all
./config-linux.sh
./build-linux.sh
sudo ./install-linux.sh
Test setup:
- Odroid C2
- Class 10 micro SD card
- LG FHD TV (HDMI) and HP 1600x1200 LCD (via passive DVI to HDMI adapter)
- Tested with 720p50, 1080p60, 1600x900, 1600x1200
- USB keyboard and mouse
- 2.5" USB HDD (only for kernel build)
- Network Port connected to gigabit switch
- Debian 9 XFCE
- Partitions
/dev/mmcblk0p1 /media/boot vfat
/dev/mmcblk0p2 / ext4
Test software:
- fbset
- glmark2-es2
- mpv
- xfce4-sensors-plugin
- freerdp and others in daily use