<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10426</bug_id>
          
          <creation_ts>2016-10-13 12:57:06 +0000</creation_ts>
          <short_desc>Kernel config warnings while building linux-yocto-4.8 for intel-corei7-64</short_desc>
          <delta_ts>2016-12-14 21:24:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>2.2</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          <dependson>10408</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Maxin B. John">maxin.john</reporter>
          <assigned_to name="California Sullivan">california.l.sullivan</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67205</commentid>
    <comment_count>0</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-10-13 12:57:06 +0000</bug_when>
    <thetext>In conf/bblayers.conf, include meta-intel:

In conf/local.conf:
MACHINE ??= &quot;intel-corei7-64&quot;

#bitbake core-image-sato

Parsing recipes: 100% |#################################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:11
Parsing of 883 .bb files complete (0 cached, 883 parsed). 1338 targets, 52 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.32.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;universal&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;intel-corei7-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.2&quot;
TUNE_FEATURES     = &quot;m64 corei7&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-poky         
meta-yocto-bsp    = &quot;master:371ab635086e2878ada1f00a59c7ec826481ba0a&quot;
meta-intel        = &quot;master:9052773016727a9398d1e6b6830dc94f3203f754&quot;

Initialising tasks: 100% |##############################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:12
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-yocto-4.8+gitAUTOINC+6128a9e47c_67813e7efa-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel&apos;s final configuration:

---------- CONFIG_NFC_PN533 -----------------
Config: CONFIG_NFC_PN533
From: /home/maxin/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/standard/intel/features/nfc/nfc-vendor.cfg
Requested value:  CONFIG_NFC_PN533=m
Actual value:     

Config &apos;NFC_PN533&apos; has the following conditionals: 
  
Dependency values are: 
 

---------- CONFIG_INV_MPU6050_IIO -----------------
Config: CONFIG_INV_MPU6050_IIO
From: /home/maxin/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/standard/intel/features/iio/iio.cfg
Requested value:  CONFIG_INV_MPU6050_IIO=m
Actual value:     

Config &apos;INV_MPU6050_IIO&apos; has the following conditionals: 
  
Dependency values are: 
 

---------- CONFIG_MPL115 -----------------
Config: CONFIG_MPL115
From: /home/maxin/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/standard/intel/features/iio/iio.cfg
Requested value:  CONFIG_MPL115=m
Actual value:     

Config &apos;MPL115&apos; has the following conditionals: 
  
Dependency values are: 
 

---------- CONFIG_IOSF_MBI -----------------
Config: CONFIG_IOSF_MBI
From: /home/maxin/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/standard/intel/features/thermal/coretemp.cfg
Requested value:  CONFIG_IOSF_MBI=m
Actual value:     CONFIG_IOSF_MBI=y

Config &apos;IOSF_MBI&apos; has the following conditionals: 
  PCI (value: &quot;y&quot;)
Dependency values are: 
  PCI [y]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67213</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-10-13 14:42:38 +0000</bug_when>
    <thetext>Patch is pending with the yocto-kernel-cache and this will be fixed for the meta-intel release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67244</commentid>
    <comment_count>2</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2016-10-13 21:58:30 +0000</bug_when>
    <thetext>I sent a patch to meta-intel updating the yocto-kernel-cache SRCREVs to include my changes, which fixes these errors and a few others in different configurations.

Still remaining are the following:

With intel-quark builds we get:

Config: CONFIG_INV_MPU6050_I2C
Requested value:  CONFIG_INV_MPU6050_I2C=m
Actual value:     

This occurs due to a missing I2C_MUX dependency on a driver enabled in iio.cfg. In other BSPs this dependency is satisfied automatically through a select, and I just haven&apos;t decided the appropriate place to add the I2C_MUX configuration yet.

Config: CONFIG_BMP280
Requested value:  # CONFIG_BMP280 is not set
Actual value:     

CONFIG_BMP280 depends on !BMP085. BMP085 is used by the galileo (target device for intel-quark), so the option for BMP280 is not available, but its requested in iio.cfg. I added &quot;# CONFIG_BMP280 is not set&quot; because requesting is not set and getting no configuration is preferable to requesting the driver and getting no configuration. Might reiterate back on this one.

With intel-core2-32 or intel-corei7-64 preempt-rt builds we get:

Config: CONFIG_LEDS_TRIGGER_CPU
Requested value:  CONFIG_LEDS_TRIGGER_CPU=y
Actual value: 

This one occurs because the leds feature is in intel-common-drivers, leds.cfg includes CONFIG_LEDS_TRIGGER_CPU=y, and LEDS_TRIGGER_CPU depends on !PREEMPT_RT_BASE, which makes the option unavailable to set. It will be difficult to fix this one without a fairly hefty reorganization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68821</commentid>
    <comment_count>3</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2016-12-03 00:25:37 +0000</bug_when>
    <thetext>Patches submitted addressing the remaining issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69008</commentid>
    <comment_count>4</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2016-12-09 21:41:18 +0000</bug_when>
    <thetext>Merged: https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=ce143f5ae7614590590fa6617e2058bda7de54cb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>