I have a c0 board and plan to use it on an embedded project. I have used the ubuntu-16.04 core rootfs to build up my own customized minimum xfce4 desktop environment, where I can save more than 2.5GB storage space compared with official ubuntu-mate release from Hardkernel.
I have followed the wiki page to build the kernel:
https://wiki.odroid.com/odroid-c1/softw ... ing_kernel
Code: Select all
$ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc-3.10.y
$ cd linux
$ make odroidc_defconfig
$ make <-j4>
$ make <-j4> modules
$ make uImage
https://wiki.odroid.com/odroid-c1/os_im ... tu/minimal
Code: Select all
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D986B59D
echo "deb http://deb.odroid.in/c1/ xenial main" > /etc/apt/sources.list.d/odroid.list
apt-get update
apt-get install mali-x11 xserver-xorg-video-mali
mali-x11: Version: 20160906-r6p2-ceeaf8a-23
xserver-xorg-video-mali: Version: 20160712-fa6394b-5
After some tweaks to make mali driver work instead of mesa-egl:
1. move mesa-egl out of the way
Code: Select all
sudo mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl
Code: Select all
sudo usermod -a -G video odroid
Code: Select all
KERNEL=="mali",SUBSYSTEM=="misc",MODE="0777",GROUP="video"
KERNEL=="ump",SUBSYSTEM=="ump",MODE="0777",GROUP="video"
Code: Select all
sudo apt-get install glmark2-es2
Code: Select all
glmark2-es2 -s 480x272
glmark2 Score: 108
=================
compared with official ubuntu mate image performance
glmark2 Score: 221
=================
ubuntu-mate official image kernel version is at 3.10.96, and mali-x11 is at 20160712-r5p0-61d4e9c-21
compared with the build from the 3.10.y kernel source and installed from the repo, kernel is at 3.10.107, and mali-x11 is at 20160906-r6p2-ceeaf8a-23
When I paired my built kernel 3.10.107 and installed mali-x11 r6p2 with the rest of the ubuntu-mate image, glmark2-es2 achieved a bit higher score at 184, which indicates something else within the ubuntu-mate image also play a role and make a difference.
Questions: what should I do to reproduce the full mali performance within official ubuntu-mate image? do I miss any packages? do I miss any configurations? or anything else.
Thank you for your help,
Hunter