A dirty hack to make it working in orangepi PC2 immediately :
Edit the file WiringOP/wiringPi/wiringPi.c (https://github.com/tumugin/WiringOP), change the function isH5(void) to :
then "sudo ./build".
I don't know C language, so there is no better way for me.
Edit : I have verified the following is working, other pins/functions are not tested :
## Tested with LED + resistor across physical pin 1 (3.3V) and pin 7
gpio mode $PORT out
gpio write $PORT 0; ## LED on
gpio write $PORT 1; ## LED off
I am using my PC2 started from 170215 build, the behavior of schedutil governor was strange. It ramp up to 1296MHz when idle, but it went down to 480MHz under light load (e.g. apt-get update). Sometimes, after some loading, it became more normal - More 480MHz and less 1296MHz.
Then, I changed the governor to ondemand. ondemand is "lazy" by default, and needs tuning to make it responsive :
echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 50880 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
I am happy with the ondemand governor and have not tried schedutil again.