Good work John,|
I see you made a new layer for the LeMaker adjustments, whereas I made a fork of meta-sunxi and put everything there. I wonder which way is better...yours seems clearer, but then you made adjustments to meta-sunxi as well...
Anyway, I also have a recipe for RPi.GPIO...but I didn't put so much effort in graphics/GLES.
One important notice because I spend a lot of time scratching my head on this one...the README in meta-sunxi says you should set DEFAULTTUNE to enable optimizations for A20, actually this didn't work for me, it had to be DEFAULTTUNE_<machinenname> (DEFAULTTUNE_bananapi).
Also my oe-core didn't know about the "v4" (the version included by sunxi/setup-scripts is not the newest one apparently), so while I was on this I dug a little deeper and it turned out that even setting this option doesn't do what it's supposed to do, because if you enable the neon engine, you would also have to add "-funsafe-math-optimizations" to the gcc command-line (see http://wits-hep.blogspot.de/2013 ... -allwinner-a20.html) which for me breaks compiling already at library level. So you're probably better off with "-mfpu=vfpv4-d16". I did include conf files for this in my version of meta-sunxi as well.
I hope I didn't confuse everybody too much with this...