[meta-intel] [yocto] Where's my 'thermal_zone'?

Selvaraj, Sreeju ArmughanX sreeju.armughanx.selvaraj at intel.com
Wed Mar 19 02:26:46 PDT 2014


Hi Chris,

I have not changed anything on the kernel configuration side.
and these are the commits I have used to bitbake the image:

poky (danny branch), meta, meta-yocto, meta-yocto-bsp: e52a74755b72038def2f093d18212d033d3d862d
meta-intel, meta-cedartrail: 98342e9e685ac8066f7fe2517fd382127a286648

You can checkout those commits and build, will be able to generate the same image what I have.

Thanks,
-Sreeju

From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Wednesday, March 19, 2014 4:46 PM
To: Selvaraj, Sreeju ArmughanX
Cc: meta-intel at yoctoproject.org; Ong, Boon Leong; Chan, Wei Sern
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 18 Mar 2014, at 04:05, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:


Hi Chris,

Micro code revision on my bios is 10d which is higher than what you have.

For Enabling Thermal zone, it need support in both BIOS level and kernel level, and we have confirmed it is enabled in the provided kernel configuration,
and can see the thermal zone in intel CRB. So what I am seeing is he different boards in both sides along with that BIOS can also contributes to this issue.

You can check with the hardware vendor for any BIOS update. Can you upgrade the BIOS and see the issue still there.

They've produced a new BIOS for me with micro code version 10D. Using this I still have no thermal zone. Do you have a kernel image you know works that I can try here?


Note: Please keep the cc list always while reply.

Good point. I use a range of mailing lists, and I keep forgetting that this one doesn't 'reply to' the list!



Thanks,
-Sreeju



From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Friday, March 14, 2014 1:23 AM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 11 Mar 2014, at 06:19, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:



Hi Chris,

I just want to clarify the Silicon stepping on your target.

To see this, you can go to BIOS main menu, then under "platform Information" check against "CDV version"

The BIOS doesn't have that menu item, but I've been able to find something which reports:

Microcode update 30661/10C.

Chris




Thanks,
-Sreeju

From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Monday, March 10, 2014 9:54 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 10 Mar 2014, at 13:26, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:




Hi Chris,

Can you upgrade the BIOS on Intel board DN2800MT to the latest version and check

Unfortunately not, as this board is no longer available and I don't have any here.

As I said, I tested with the Intel board to see if the problem was the same as with the ASRock board that we are now using (and which is a direct replacement for the one Intel dropped last year).





You can get the latest BIOS from here:

https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Desktop+Boards&ProductLine=Intel%C2%AE+NM10+Chipset+Family+Boards&ProductProduct=Intel%C2%AE+Desktop+Board+DN2800MT

Thanks,
-Sreeju


From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Wednesday, March 05, 2014 5:11 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 4 Mar 2014, at 04:36, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:





Hi Chris,

I would like to know the BIOS detail of Intel DN2800MT, where you have reproduced the issue.

BIOS Vendor
Core Version
Project Version
Build Date

All that I can get from the BIOS screens on the Intel board is:

MTCDT10N.86A.0167.2013.0619.1130

-Thanks,
Sreeju

From: Selvaraj, Sreeju ArmughanX
Sent: Monday, March 03, 2014 10:01 AM
To: Chris Tapp
Subject: RE: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Chris,

You can press F2 or Delete button at start of system booting to enter in to BIOS menu.

Thanks,
Sreeju

From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Thursday, February 27, 2014 4:37 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 27 Feb 2014, at 03:26, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:

Hi Chris,

Is there any local changes has been made ?
especially at kernel side drivers/acpi/ and driver/thermal

I do have a /bbappend for the kernel. This adds one .cfg fragment which contains:

CONFIG_HID_APPLE=y

to enable support for Apple USB keyboards.

That is the only change.

 Thanks,
Sreeju

From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Wednesday, February 26, 2014 8:53 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 26 Feb 2014, at 12:36, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:






I have thermal related configuration at

Advance tab:
CPU Configuration->
TM1->Enabled
TM2->Enabled
DTS->Enabled

And "Thermal Configuration" under "Advance" tab

But changing of these configuration(Disabling) doesn't create any difference for me.

I've also tried booting on an Intel DN2800MT. That also has no thermal zone showing, so it looks as if the BIOS isn't the issue.

Another thing is command line argument "thermal.off", by default it is 0
if you are not passing  thermal.off=1 as command line argument, then it is ok.

I'm not passing this, so we should be ok.






 Can you paste the content of meta-intel/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_cedartrail = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta,yocto/pvr;name=machine,meta,pvr<git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=$%7bKBRANCH%7d,meta,yocto/pvr;name=machine,meta,pvr>"

SRC_URI_cedartrail-nopvr = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta<git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=$%7bKBRANCH%7d,meta;name=machine,meta>"

COMPATIBLE_MACHINE_cedartrail = "cedartrail"
KMACHINE_cedartrail  = "cedartrail"
KBRANCH_cedartrail  = "yocto/standard/cedartrail"
KERNEL_FEATURES_append_cedartrail += "bsp/cedartrail/cedartrail-pvr-merge.scc"
KERNEL_FEATURES_append_cedartrail += "cfg/efi-ext.scc"

COMPATIBLE_MACHINE_cedartrail-nopvr = "cedartrail"
KMACHINE_cedartrail-nopvr  = "cedartrail"
KBRANCH_cedartrail-nopvr  = "yocto/standard/cedartrail"
KERNEL_FEATURES_append_cedartrail-nopvr += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_cedartrail ?= "1e79e03d115ed177882ab53909a4f3555e434833"
SRCREV_meta_pn-linux-yocto_cedartrail ?= "bf5ee4945ee6d748e6abe16356f2357f76b5e2f0"
SRCREV_pvr_pn-linux-yocto_cedartrail ?= "7828ab82533828b924dbfad5158e274a8bb04df3"

SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= "1e79e03d115ed177882ab53909a4f3555e434833"
SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= "bf5ee4945ee6d748e6abe16356f2357f76b5e2f0"






From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Wednesday, February 26, 2014 7:13 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

On 26 Feb 2014, at 10:51, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:







I checked the kernel configuration, fine with respect to enabling thermal zone.
And verified, after built with the config you have provided.

Can I get some info:

Once boot up the image, can you run the below commands and provide the output.

# dmesg | grep Thermal
# dmesg | grep thermal

These both report nothing.







# dmesg | cooling

This gives:
  acpi device:1f: registered as cooling_device4







 What is the BIOS version on your target ?

The board is an ASRock DN2800MT (the Intel board is no longer available) and has an AMI BIOS, version 1.20.

Does something need to be enabled in the BIOS for the thermal zone to appear? ASRock have been happy to make simple configuration changes to the BIOS for me in the past if this is needed.

The BIOS has a few ACPI settings, but nothing related to thermal. I suspect other settings exist, but they are not exposed to the user.







And want to check syslinux.cfg on your target.

The board is being network booted over iPXE, so there is no syslinux.cfg. The boot simply uses the kernel, initramfs and rootfs images produced by Yocto. The kernel command line is:

root=/dev/ram0 script=runme mac=bc:5f:f4:d6:eb:66 ip=192.168.1.58 dhcp netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1 serverurl=http://sjs-server<http://sjs-server/> console=ttyS0,115200 quiet video=1280x1024-32 at 60 video=LVDS-1:d video=VGA-1:e







Thanks,
Sreeju

From: Chris Tapp [mailto:opensource at keylevel.com]
Sent: Friday, February 21, 2014 8:02 PM
To: Selvaraj, Sreeju ArmughanX
Subject: Re: [meta-intel] [yocto] Where's my 'thermal_zone'?

Hi Sreeju,

Thanks for getting back to me on this. Answers below...

On 21 Feb 2014, at 11:43, Selvaraj, Sreeju ArmughanX <sreeju.armughanx.selvaraj at intel.com<mailto:sreeju.armughanx.selvaraj at intel.com>> wrote:








This is what I have tried.

built the core-image-sato for cedartrail under danny.

build configuration:

BB_VERSION        = "1.16.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "cedartrail"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3.2"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "b-danny-8.0.2:e52a74755b72038def2f093d18212d033d3d862d"
meta-intel
meta-cedartrail   = " b-danny-8.0.2:98342e9e685ac8066f7fe2517fd382127a286648"

Once boot up the image, I can see the "thermal_zone0" entry under /sys/class/thermal/

I only have sym-links for cooling_device0 to cooling_device4 showing there.








 I just wanted to clarify your config, What configuration is used to build the kernel ? you can find .config file inside the folder
tmp/work/cedartrail-poky-linux/linux-yocto-3.0.32+git1+bf5ee494...../linux-cedartrail-standard-build/

I've attached the config file used for the build.


Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com/>

Chris Tapp

opensource at keylevel.com<mailto:opensource at keylevel.com>
www.keylevel.com<http://www.keylevel.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140319/49a90639/attachment.html>


More information about the meta-intel mailing list