All the github repos that I found throw errors while compiling, including Codyle's.
I've been on it for quite some hours every day last week and managed to port the bitmain-c5 drivers to kcolivas's Cgminer 4.10.0, including clement-bitmain-c5.
Just look for "S9-bmm" branch and read Mreadme.txt.
This one compiles cgminer with "--enable-bitmain-c5" without any warning on a Debian-jessie armhf beaglebone black.
Basicly, it is the Bmminer-mix files with Cgminer makefile...
There are no mods in it, but it is a verry good starting point.
I cannot make "cgminer-api" succesfully but makes "api-example" without errors.(I wonder if it is neccesarry anyway).
Also Codyle's upgrade/downgrade scripts are here.
I would love to test it out , but I managed to burn my S9 controller by dropping a metal on it while it was powered on... I got to see "magic smoke" from the proccesor...
. Oh well, I have an S7 controller on the way, maybe I will be able to use that one on S9 hashblades... If not, I will be searching for another S9 controller.
Oh, I also made another branch called "S9" where I used files that were found on Codyle's, JamesHillard, and UBI (don't remember exactly wich file came from where)...
This one also compiles succesfully, but with some warnings.
Check them out.
So then, next up: Crosscompiling... When I have time...
Maybe some of you can look into it...
Regards,
Mihail