User:Jonkerj

= Personal Hardware =
 * 2x Xunlong Orange Pi Plus
 * 1x Xunlong Orange Pi PC (in transit)
 * the Remote_Reboot_Jig

= Hardware accelerated graphics = I'll try to document my progress on getting "kodi" working with bells and whistles on mainline. If I get there, it will be documented here.

Graphics on H3
This is yet unresolved, as there seems to be no proper way to get graphics with DRM and HDMI working on H3. Some pointers:


 * Jeff Moine's patches

Mali on H3
WARNING: this is all quite useless, until:
 * 1) there is a working DRM/prime display driver for your board
 * 2) either:
 * 3) * someone finds a way to make libGLES working with DRM/prime
 * 4) * someone creates a UMP/prime, so allwinner's GLES is going to work with prime

I found it very hard to get Mali to compile for a recent kernel, and I was not very successful in finding documentation on the subject. I did some guesswork, read a lot of source code, and got mali to at least compile for me.

I assume the presence of a kernel source, a cross-compiler (arm-linux-gnueabihf-gcc), etc.

Kernel
First of all, compile a kernel. Make sure the following options are set, these are needed to get TRACEPOINTS, which is needed by ump/mali later on. CONFIG_PROFILING=y CONFIG_FTRACE=y CONFIG_ENABLE_DEFAULT_TRACERS=y

Mali
Then, get, patch and compile mali: export KDIR=/media/scratch/linux-4.7-rc7/ export CROSS_COMPILE=arm-linux-gnueabihf- wget -P /tmp http://malideveloper.arm.com/downloads/drivers/DX910/r6p2-01rel0/DX910-SW-99002-r6p2-01rel0.tgz wget -P /tmp https://gist.githubusercontent.com/jonkerj/15bd5a793c0f157b5d7e43b019efccb4/raw/b6c83bb396d3b4e6463b12f52f51e4181ad029ad/fix-mali-sunxi-4.5.patch tar zxf /tmp/DX910-SW-99002-r6p2-01rel0.tgz cd DX910-SW-99002-r6p2-01rel0 patch -p1 < /tmp/fix-mali-sunxi-4.5.patch cd driver/src/devicedrv/ump CONFIG=ca8-virtex820-m400-1 BUILD=release make cd ../mali USING_DT=1 USING_UMP=1 MALI_SHARED_INTERRUPTS=1 MALI_PLATFORM=arm make

This yields the needed kernel modules