-
Notifications
You must be signed in to change notification settings - Fork 1
CPU frequency #4
Copy link
Copy link
Open
Description
I have been experimenting with "Orange Pi PC" and "TV box v88 mini" with AllWinner H3 and noticed that on the RX and LT builds there are no CPU frequency utilization statistics in the CPU properties, which is available in the Armbian builds for similar devices:
/sys/devices/system/cpu/cpu0/.
In addition, in the log via UART I saw the following lines:
Starting kernel ...
[ 0.001938] /cpus/cpu@0 missing clock-frequency property
[ 0.001974] /cpus/cpu@1 missing clock-frequency property
[ 0.002004] /cpus/cpu@2 missing clock-frequency property
[ 0.002034] /cpus/cpu@3 missing clock-frequency property
[ 0.108006] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
Starting syslogd: OK
I'm not sure, but it seems to me that the BASIC Engine is running at the minimum frequency.
I analyzed the original Device Tree of v88 mini. As a result, I tweaked sun8i-h3.dtsi by adding lines to each core:
clock-frequency = <1008000000>; (1,008 GHz)
That is:
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
compatible = “arm,cortex-a7”;
device_type = “cpu”;
reg = <0>;
clocks = <&ccu CLK_CPUX>;
clock-names = “cpu”;
operating-points-v2 = <&cpu0_opp_table>;
clock-frequency = <1008000000>;
#cooling-cells = <2>;
};
After that, at least the error missing clock-frequency property disappeared. But still no statistics on CPU frequency utilization appeared.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels