edupv
-
Posts
30 -
Joined
-
Last visited
Reputation Activity
-
edupv got a reaction from Igor in Nanopi-M4 mainline kernel nighty : MAC address changes on every reboot
Yes, I understand. I just want to report the bug.
-
edupv got a reaction from rusatch in Hardware line is missing on /proc/cpuinfo
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 :
int isH5(void) { return 1; } 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 PORT=7 gpio mode $PORT out gpio write $PORT 0; ## LED on gpio write $PORT 1; ## LED off
-
edupv got a reaction from znoxx in Armbian for OrangePi PC2, AllWinner H5
Are you using the default schedutil governor ?
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.