Bug 10426 - Kernel config warnings while building linux-yocto-4.8 for intel-corei7-64
Summary: Kernel config warnings while building linux-yocto-4.8 for intel-corei7-64
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.2
Hardware: NUC x86_64
: Medium+ normal
Target Milestone: 2.3 M1
Assignee: California Sullivan
QA Contact: David Lopez Barriba
URL:
Whiteboard:
Depends on: 10408
Blocks:
  Show dependency tree
 
Reported: 2016-10-13 12:57 UTC by Maxin B. John
Modified: 2016-12-14 21:24 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxin B. John 2016-10-13 12:57:06 UTC
In conf/bblayers.conf, include meta-intel:

In conf/local.conf:
MACHINE ??= "intel-corei7-64"

#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        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:371ab635086e2878ada1f00a59c7ec826481ba0a"
meta-intel        = "master:9052773016727a9398d1e6b6830dc94f3203f754"

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'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 'NFC_PN533' 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 'INV_MPU6050_IIO' 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 'MPL115' 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 'IOSF_MBI' has the following conditionals: 
  PCI (value: "y")
Dependency values are: 
  PCI [y]
Comment 1 Saul Wold 2016-10-13 14:42:38 UTC
Patch is pending with the yocto-kernel-cache and this will be fixed for the meta-intel release.
Comment 2 California Sullivan 2016-10-13 21:58:30 UTC
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'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 "# CONFIG_BMP280 is not set" 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.
Comment 3 California Sullivan 2016-12-03 00:25:37 UTC
Patches submitted addressing the remaining issues.