Hey Guys,
I need some expert level help here. I am committed to overclocking my H6, went down a rabbits hole the past few weeks of different builds, tools (Yes tried them all) with no real success. Lets get to the good stuff.....
Here is where I am Experts who can help!
I decompiled the DTB file for the Kernal I am using and I want to directly modify/update the OPP table to run a higher frequency. From the research I have done if I can pull it off, after re-compiling the new DTB I should be forcing it to run faster. Is this feasible?
I have found the OPP table (pretty easy) and know that the values are in HEX so I converted to Base 10, and wouldn't you know it. 1,800,000,000 hz or 1.8hz. The max CPU freq setup for this process in the kernal I am using.
So see below for what I am proposing to change, and some questions related to this change.
BTW thank you for anyones help in advance! I am determined to keep self teaching myself linux, luckily there is a great community supporting us.
GENERAL NOTES:
BUILD IS BASED ON ARMBIAN for TX6 TV Box Running Allwinner H6 A53 Precessor
Heavily modified aftermarket cooler installed
Full load stress test max temp 40-41°C at stock 1.8ghz
Potential to overload PSU, wire directly to test bench if becomes a problem
Questions:
1- Can I modify the OPP table like this?
2 - Is it possible to modify the OPP table to include an additional CPUFreq step instead of "trying to hijack" the existing max freq. setting?
3 - Do I need to change the clock-latency?
4- Should I change the microvolt-speed 0,1,2? I know from my general CPU overlocking experience that usually you undervolt a bit. What does speed 0,1,2 refere too? Is speed 0 max at max freq (1.16V)?
DEFAULT OPP TABLE DECOMPILED FROM DTB, FINAL STOCK FREQ STEP 1.8ghz
OPP@1800000000 {
clock-latency-ns= <0x3b9b0>;
opp-hz = <0x0 0x6b49d200>;
opp-microvolt-speed0 = <0x11b340>;
opp-microvolt-speed1 = <0x10c8e0>;
opp-microvolt-speed2 = <0x10c8e0>;
};
CONVERTED HEX TO BASE 10
OPP@1800000000 {
clock-latency-ns= <244144>;
opp-hz = <1800000000>;
opp-microvolt-speed0 = <1160000>;
opp-microvolt-speed1 = <1100000>;
opp-microvolt-speed2 = <1100000>;
};
NEW FREQUENCY MUST BE IN MULTIPLES OF 24
85,000,000 X 24 = 2,040,000,000 HZ OR 2.04 GHZ
REVISED OPP TABLE TOO....
OPP@2040000000 {
clock-latency-ns= <244144>;
opp-hz = <2040000000>;
opp-microvolt-speed0 = <1160000>;
opp-microvolt-speed1 = <1100000>;
opp-microvolt-speed2 = <1100000>;
};
CONVERTED BACK FROM BASE 10 TO HEX
OPP@2040000000 {
clock-latency-ns= <0x3b9b0>;
opp-hz = <7997EE00>;
opp-microvolt-speed0 = <0x11b340>;
opp-microvolt-speed1 = <0x10c8e0>;
opp-microvolt-speed2 = <0x10c8e0>;
};