Hi, i have made it work on my x96(S905x based) box, but the original emulationstation package is always crash with the following error message: (https://gist.github.com/anonymous/3f83908b7bcf550f7d66b37d15002eb1)
[ 1925.094437@2] emulationstatio[3236]: unhandled level 2 translation fault (11) at 0x00000018, esr 0x92000006
[ 1925.094442@2] pgd = ffffffc0549d7000
[ 1925.094446@2] [00000018] pgd=000000005406a003, pmd=0000000000000000
[ 1925.094447@2]
[ 1925.094453@2] CPU: 2 PID: 3236 Comm: emulationstatio Tainted: G O 3.14.29 #1
[ 1925.094456@2] task: ffffffc064b54000 ti: ffffffc064384000 task.ti: ffffffc064384000
[ 1925.094464@2] PC is at 0x5b0750
[ 1925.094466@2] LR is at 0x49f604
[ 1925.094468@2] pc : [<00000000005b0750>] lr : [<000000000049f604>] pstate: 60000000
[ 1925.094469@2] sp : 0000007fce58b9e0
[ 1925.094472@2] x29: 0000007fce58b9f0 x28: 0000000000000000
[ 1925.094474@2] x27: 0000000000000000 x26: 0000000000000000
[ 1925.094477@2] x25: 0000000000000000 x24: 0000000000000000
[ 1925.094480@2] x23: 0000000000000000 x22: 0000007fce58bfe0
[ 1925.094482@2] x21: 0000007fce58c5f0 x20: 0000000000000001
[ 1925.094485@2] x19: 0000000000970000 x18: 0000000000000000
[ 1925.094487@2] x17: 0000007f7de5f670 x16: 00000000008f8c90
[ 1925.094490@2] x15: 0000000000000000 x14: 000000000000002f
[ 1925.094492@2] x13: 0a2173646e756f53 x12: 0000000000000001
[ 1925.094496@2] x11: 0000000000000007 x10: 65736e7520657375
[ 1925.094498@2] x9 : 000000000dfa86b0 x8 : 0000000000000000
[ 1925.094501@2] x7 : 0232172a15001c01 x6 : 0000000000000001
[ 1925.094503@2] x5 : 000000000db43690 x4 : 000000000db419b0
[ 1925.094506@2] x3 : 000000000db3c648 x2 : 0000007fce58b9d0
[ 1925.094508@2] x1 : 0000007fce58b9d0 x0 : 0000000000000000
So I change it to https://github.com/RetroPie/EmulationStation/archive/2decb2b.tar.gz, and it works.
The working kernel and mali driver souces are taken from:
https://github.com/kszaq/linux-amlogic-le & gpu-aml-r6p1-01rel0-2364187.tar.xz
It is still a little bit of chaos here, it would take me some time to sort it out.
Here is the boot log: https://gist.github.com/suzuke/89fe129736c6d9b00d8be830722818ee