Plug's temperature

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Plug's temperature

Postby john3voltas » Mon Aug 18, 2014 2:18 pm

Not being able to quote is really driving me nuts :evil:

@moonman
Yep, I already have the mainline uboot on my dockstar.
Nevertheless I'll double check with that fw_printenv that you posted. Thanks :)

@bodhi
Oh man! That's a really nice case :)
I guess I'll give it a thought. Maybe I could have one made for me with some extra space to connect a couple of hdd's inside. :P
I have 1 doubt though: what is the "spanning support" for?

Cheers
Seagate Dockstar
128MB RAM - 256 NAND
U-Boot 2016.09.01-1
john3voltas
 
Posts: 32
Joined: Mon Aug 16, 2010 3:42 pm

Re: Plug's temperature

Postby john3voltas » Mon Aug 18, 2014 8:46 pm

@moonman
Check. It's got the mainline uboot.
Already changed kernel to DT.
Now, this is kind of embarrassing but, could you please point me to a wiki page or tutorial where I can learn how to set the governor?
I've been reading this one https://wiki.archlinux.org/index.php/CPU_frequency_scaling but I'm not entirely sure if it's valid for kirkwood too.
Cheers
Seagate Dockstar
128MB RAM - 256 NAND
U-Boot 2016.09.01-1
john3voltas
 
Posts: 32
Joined: Mon Aug 16, 2010 3:42 pm

Re: Plug's temperature

Postby moonman » Mon Aug 18, 2014 8:59 pm

That wiki page still applies. Use cpupower. I have a systemd service that does it boot. Ill post it here when i get home.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug's temperature

Postby john3voltas » Mon Aug 18, 2014 11:40 pm

Great. Can't wait to start using a governor to lower the cpu frequency. Sheeva says it works at 1GHz, 1.2GHz and 1.5GHz.
Does that mean that the most I'll be able to achieve is 1GHz?
Oh, and almost forgot to ask: governor will lower the frequency when not needed but how do I check the cpu temperature? Thermometer? Or is there an app that will tell me how hot it's running?
Thanks in advance
Seagate Dockstar
128MB RAM - 256 NAND
U-Boot 2016.09.01-1
john3voltas
 
Posts: 32
Joined: Mon Aug 16, 2010 3:42 pm

Re: Plug's temperature

Postby moonman » Tue Aug 19, 2014 3:43 am

It will only do 400 or 1.2. There is no hardware sensors built in so no app will show you the temp.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug's temperature

Postby moonman » Tue Aug 19, 2014 5:05 am

Here you go:
$this->bbcode_second_pass_code('', ' cat /etc/systemd/system/cpuscaling.service
[Unit]
Description=change cpu governor

[Service]
User=root
Type=oneshot
ExecStart=/usr/bin/cpupower frequency-set -g ondemand

[Install]
WantedBy=multi-user.target')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug's temperature

Postby john3voltas » Tue Aug 19, 2014 11:04 am

Hi moonman.
Thanks for all your support. :)
So I will use a thermometer to at least get the temperature readings inside the case around the cpu.
I'm not sure but maybe my first guess of 50~60ºC was a bit optimistic. I mean, I can only put my hand on top of the "rubber-like" heat sink that comes with it for a couple of seconds. More than that becomes unbearable.

Also, is there a way to check the cpu clock being used at a given time? lshw and cat /proc/cpuinfo don't seem to work on kirkwoods. I'd like to make sure that the clock has gone down to 400MHz to see if it has any effect on the cpu/case temperature.
It may seem very picky of me but I am really very concerned about the dockstar temperature, even with the case fully open.
Seagate Dockstar
128MB RAM - 256 NAND
U-Boot 2016.09.01-1
john3voltas
 
Posts: 32
Joined: Mon Aug 16, 2010 3:42 pm

Re: Plug's temperature

Postby moonman » Tue Aug 19, 2014 11:52 am

$this->bbcode_second_pass_code('', 'cpupower frequency-info')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug's temperature

Postby john3voltas » Tue Aug 19, 2014 7:20 pm

$this->bbcode_second_pass_code('', '[root@alarm ~]# cpupower frequency-info
analyzing CPU 0:
driver: kirkwood-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 5.0 us.
hardware limits: 400 MHz - 1.20 GHz
available frequency steps: 1.20 GHz, 400 MHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 400 MHz and 1.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz (asserted by call to hardware).
cpufreq stats: 1.20 GHz:0.06%, 400 MHz:99.94% (296)')

So, it's working as expectd but unfortunately it's still hot, veeery hot. :(
And the worst thing is I can't find a tutorial on how to change the heat sink on this beauty.
Thanks a bunch for your help moonman. :)
Seagate Dockstar
128MB RAM - 256 NAND
U-Boot 2016.09.01-1
john3voltas
 
Posts: 32
Joined: Mon Aug 16, 2010 3:42 pm

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 19 guests