I tried to use wiringPi under CE to make use of the Odroid’s gpio. I cross compiled it and obviously got a working binary. At least it launches and displays version info, help, etc.
Still it won’t access the gpio. This seems to be the case as the data under /proc/cpuinfo do not contain a line labeled „Revision“ which I guess is present in other operating systems. Is there a reason why this line is missing in CE? Any way to add it?
Also I tried forcing the program to just ignore the line and use „Revision : 0200“, which I think should be the correct entry for a C2. Unfortunately that only gets me the next error „Segmentation fault“ and still no working program.
Here’s what I changed in ./wiringPi/wiringPi/wiringPi.c in Hardkernel’s wiringPi on github
added in line 304: fgets ( line, 120, "Revision : 0200\n");