[MinnowBoard] Problem reading CPU temp in linux (yocto build)

Darren Hart dvhart at linux.intel.com
Thu Apr 30 15:17:49 UTC 2015


Gerard - specifically, could you report your firmware version to the
bugzilla entry I opened for this:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7682

Thanks,

Darren


On 4/29/15, 1:24 PM, "nb" <nb at dagami.org> wrote:

>Hi Gerard,
>
>On my Debian:
>
>sensors
>acpitz-virtual-0
>Adapter: Virtual device
>temp1:        +26.8°C  (crit = +90.0°C)
>
>coretemp-isa-0000
>Adapter: ISA adapter
>Core 0:       +50.0°C  (high = +110.0°C, crit = +110.0°C)
>Core 2:       +51.0°C  (high = +110.0°C, crit = +110.0°C)
>
>So it¹s the same (sensors is in lm-sensors package)
>
>Regards
>
>nb
>
>
>> Le 29 avr. 2015 à 22:04, Gerard Bucas <gerard.b at tekmagic.net> a écrit :
>> 
>> Hi Everyone,
>> 
>> We use linux (custom built with yocto project) on minnowBoard MAX.
>>Works great!
>> 
>> However, I have a problem reading the CPU core temperature of the
>>E3825. 
>> When I use this command line:
>> 
>> cat /sys/class/thermal/thermal_zone0/temp
>> 
>> It ALWAYS returns the value: 26800 (= 26.8C)
>> 
>> Linux kernel version: 3.19.2-yocto-standard
>> 
>> Build Configuration:
>> BB_VERSION        = "1.27.0"
>> BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "Ubuntu-14.04"
>> TARGET_SYS        = "x86_64-poky-linux"
>> MACHINE           = "intel-corei7-64" (recommended by Intel for Atom
>>E38XX SoC & minnowBoard MAX)
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.8+snapshot-20150429"
>> 
>> It looks like this value is hard-coded in the kernel! In researching
>>this on the internet it seems that many people have this problem with a
>>variety of Intel based CPU's/SoC's on a variety of different linux
>>distributions. 
>> 
>> Has anyone else solved this problem or do you know of another linux
>>command line that would give me the CPU (chip) temperature?
>> 
>> I have tried to add the "lm-sensors" package but have had problems
>>adding it to my yocto build as I can't seem to find the right "package
>>group" that includes lm-sensors.
>> Any ideas/help would be MUCH appreciated!
>> 
>> Thanks
>> Gerard
>> 
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
>_______________________________________________
>elinux-MinnowBoard mailing list
>elinux-MinnowBoard at lists.elinux.org
>http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>


-- 
Darren Hart
Intel Open Source Technology Center





More information about the elinux-MinnowBoard mailing list