Jump to content

Recommended Posts

Posted

I just got one so I have modified my version of htop for the Raspberry Pi to work on the AML-S905X-CC (Le Potato) that shows cpu temp and current frequency in case anyone is interested.

 

Here's the GitHub : https://github.com/leeadama/htop/tree/lepotato

 

See the Readme for Build Instructions.

 

Once you have it built and installed, you add the temp and frequency display like any other meter.  I.E. press F2, arrow all the way to the right and choose Temperature Sensors, press Enter to add it and Enter to confirm.

 

Then just repeat the process for the FreqMeter.

 

Tested on Ubuntu Desktop - Mainline Kernel

Linux lepotato 4.14.32-meson64 #2 SMP PREEMPT Thu Apr 5 19:31:23 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux

 

Thanks

 

Lee

 

2018-04-10.png?psid=1

Posted
On 10.4.2018 at 8:56 AM, LeeAdama said:

my version of htop for the Raspberry Pi to work on the AML-S905X-CC (Le Potato) that shows cpu temp and current frequency

 

The latter is impossible since the kernel has no control over cpurfreq: https://forum.armbian.com/topic/7042-amlogic-still-cheating-with-clockspeeds/

 

You can not rely on sysfs cpufreq values with Amlogic just like with Raspberries since cpufreq/DVFS is under control of a proprietary firmware running on an own Cortex-M (on the Raspberries this runs on the VC4 instead). You would need an algorithm that actually measures cpufreq, see Willy Tarreau's mhz utility that works correctly: http://forum.khadas.com/t/cpu-frequency-up-to-2ghz/2010/5?u=tkaiser

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines