You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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)
Looking at the H3 config, it would seem that CONFIG_CPU_FREQ isn't enabled. I don't precisely remember the reason for that, but generally speaking, I am very conservative with this stuff:
More performance is rarely required. We're running a BASIC interpreter that was developed for a 72 MHz MCU on >1 GHz machines...
There were issues with Allwinner CPU frequency scaling that introduced unacceptable latencies when switching frequencies. That manifested itself in stutters when scrolling, for instance, so switching frequencies automatically was out.
Higher frequencies mean more heat; the default config runs the Orange Pis with the GPIO-controlled voltage regulator (forgot which ones those are) at 1.3 volts, making them super-hot and eventually triggering a shutdown if you don't have a large(!) heatsink installed. I therefore added a patch ("[PATCH] HACK: enable 1.08 GHz on 1.1 volts") that allows running H3s at 1.08 GHz at 1.1 volts to fix that.
I am not categorically against enabling CPU frequency scaling, but I would still set it to default to a conservative frequency with manual frequency governor.
Activity
uli commentedon May 27, 2024
Looking at the H3 config, it would seem that CONFIG_CPU_FREQ isn't enabled. I don't precisely remember the reason for that, but generally speaking, I am very conservative with this stuff:
I am not categorically against enabling CPU frequency scaling, but I would still set it to default to a conservative frequency with manual frequency governor.
CityAceE commentedon Jun 11, 2024
Here is the patch for fixing this warning: https://lists.infradead.org/pipermail/linux-arm-kernel/2023-November/879386.html