This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU temperature
#1
I have my ASUS TinkerBoard with the heat sink running using a raspberry pi 2 case that has a fan.  The fan is a bit noisy and I'd like to see how hot the the CPU is getting with and without the fan running but vcgencmd isn't found and lm-sensors can't find any sensors.  File /sys/class/thermal/thermal_zone0/temp exist but is empty.

Anyone know what can be used?  I'm not a linux expert.

Thanks,
Don
[Image: R7fy5H2vEsiv43HH6]
Reply
#2
You were close..

try thermal_zone1 and 2

One CPU , the other GPU temp ? they are close to each other and both rise with cpu load:


Code:
cat  /sys/class/thermal/thermal_zone1/temp
which returns something like 
37070 (for 37.070 degrees)
Reply
#3
I'm trying to figure out how to overclock mine so while I'm figuring it out I wanted to make sure I had proper Cooling so I got a Raspberry Pi 3 aluminum case on Amazon that came with an exhaust fan that pushed a pathetic 2.3 cubic feet per minute of air ( more than good enough for right now but I plan on figuring out how to push this thing to the absolute Max) so I kept it as an exhaust fan in real life at the bottom of the case had risers on it and they were perfect for mounting a 50 by 50 by 20 millimeter 5volt fan to the other 5 volt gpio pin on the board (requiring me to modify the fan connector a little bit very easy to do), that active cooling combined with solid copper heatsink on both RAM chips as well as the SOC as well as the wireless chip I was able to get these results on stock clock speeds:
No passive or active cooling
(ambient temperatures in all of these tests were 24 degrees Celsius) 75% load 30 min. = 68 C.
Passive Cooling no active Cooling=53 C. And by the way keys or not cheap hollow fake copper heatsink these are genuine solid copper oversized in double stacked on the SOC space being a limiting factor I was only able to put one heatsink per Ram chip.
Passive and active cooling = 38 Degrees Celsius! Totally worth the little bit of noise that the fans make I mean it's really not that bad we talking about 26 decibelles in exchange for 16 cubic feet per minute of air for the big fan and 2.9 cfm little fan.
Bounus- okay I was really impressed with how the last test went so what I did next was I ran a script that pushed the CPU 95% and I left it for 36 hours and it did not go above 42 degrees Celsius. I'm confident I can get this thing overclock like a beast if anyone has any idea how to do that please let me know honestly my phone number is 602-737-6910 if you know how to overclock this thing give me a call shoot me a text I'm dying to figure this out.
Reply
#4
Is there any way to find out, what thermal_zone1 and 2 are? E.g. one could (!) be the CPU and one the GPU. Is there a way to find this out by ourselves, or do we have to aks Asus? I tried looking into some of the links/files in the same directories, but it didn't give me  a clue.
Reply
#5
Please find the reference for pushing a CPU to the envelope here: https://github.com/ssvb/cpuburn-arm

Clone the github repo, then use gcc to compile cpuburn-a9 (RK3288 is Cortex-A17 but you can/should use optimizations for A9, see here for reasons why, also how to overclock RK3288). If you then run cpuburn-a9 you get an idea how efficient your heat dissipation is. And you might also get an idea how stupid the choice of Micro USB for powering the board was since most probably your Tinker Board will simply power off when you start cpuburn-a9. Reasons why: https://forum.mqmaker.com/t/miqi-based-b...ning/605/8

(02-27-2017, 10:07 PM)KokoMcNeal Wrote: Is there any way to find out, what thermal_zone1 and 2 are?

What about checking 
Code:
cat /sys/devices/virtual/thermal/thermal_zone1/type
cat /sys/devices/virtual/thermal/thermal_zone2/type

I don't know which kernel sources ASUS currently uses but for the pretty similar MiQi board we (Armbian team) currently use this https://github.com/mqmaker/linux-rockchi...elease-4.4  (so there you could have a look in the sources how thermal zones are defined, should also be possible by looking into .dts/.dtb)

BTW: Can any of you Tinkerboard owners run and post the URL:
Code:
dmesg | curl -F 'sprunge=<-' http://sprunge.us

This puts dmesg output to an online pasteboard so we could see which kernel TinkerOS is using and also which Wi-Fi/BT chip is used. Background: https://forum.armbian.com/index.php/topi...entry26607
Reply
#6
Here you go:
http://sprunge.us/JYcg
Reply
#7
(02-28-2017, 10:08 PM)KokoMcNeal Wrote: Here you go:
http://sprunge.us/JYcg

Thank you! https://forum.armbian.com/index.php?/top...ment=26673
Reply
#8
Regarding both thermal zones (and overclocking) please see Willy's explanation in his patch descriptions to squeeze out the max from RK3288: https://github.com/igorpecovnik/lib/blob...tch#L6-L25
Reply
#9
Thanks for this information. So it seems, that thermal_zone1 ist the CPU and the other the GPU. I will test it later with a CPU intensive task.
It will be intersting to see, if the CPU and GPU temperatures really differ that much.

With the Raspberry Pi, there are also 2 possibilities to get a temperature out of the silicone. Nobody could tell me back then, if it reads both the same temperature or if it is really the CPU and GPU. I tried to load the CPU with work and both temperatures rose. When decoding video, also both rose more or less to the same temp (+/- a degree or so).
[-] The following 1 user Likes KokoMcNeal's post:
  • Jay.G
Reply
#10
(03-02-2017, 07:49 AM)KokoMcNeal Wrote: It will be intersting to see, if the CPU and GPU temperatures really differ that much.

I found it always really helpful to get graphs of such values (especially when optimizing settings, last year we tweaked THS/throttling/performance settings for a few Allwinner SoCs since vendor defaults horribly sucked and so I came up with a bunch of RPi-Monitor templates for various SoCs and kernel variants): http://www.cnx-software.com/2016/03/17/r...orange-pi/

IMO it's pretty easy to adopt templates to your own needs once you got the idea how everything works. Running Armbian it's also as easy as 'sudo armbianmonitor -r' to get RPi-Monitor installed. No idea still whether Armbian's MiQi OS images already run on Tinker Board or not.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)