[meta-intel] [jethro] [PATCHv2 2/2] linux-yocto_4.1: use bb.utils.contains for KERNEL_FEATURES selection

2016-09-08 Thread Rebecca Chang Swee Fun
Using bb.utils.contains() enable selection of source revision on
machine branch, KBRANCH and KMACHINE in kernel recipe.

leafhill is new bsp type setup in yocto-kernel-cache. This bsp will
build kernel from standard/intel/4.1.27/leaf-hill with a fixed kernel
base version of v4.1.27.

This commit includes update on yocto-kernel-cache meta SRCREV.

Signed-off-by: Rebecca Chang Swee Fun 
---
 common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend 
b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
index c87a7e2..5c5c96e 100644
--- a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -10,12 +10,12 @@ SRCREV_meta_core2-32-intel-common ?= 
"20edcbf4e42dd4cef7213a0ce2a4481d8d296f5d"
 SRCREV_machine_core2-32-intel-common ?= 
"9195020e5747fba069c19996fab079931584a7fb"
 KERNEL_FEATURES_append_core2-32-intel-common = 
"${KERNEL_FEATURES_INTEL_COMMON}"
 
-LINUX_VERSION_corei7-64-intel-common = "4.1.26"
+LINUX_VERSION_corei7-64-intel-common = 
"${@bb.utils.contains('KERNEL_FEATURES', 'leafhill', '4.1.27', '4.1.26', d)}"
 COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
-KMACHINE_corei7-64-intel-common = "intel-corei7-64"
-KBRANCH_corei7-64-intel-common = "standard/intel/base"
-SRCREV_meta_corei7-64-intel-common ?= 
"20edcbf4e42dd4cef7213a0ce2a4481d8d296f5d"
-SRCREV_machine_corei7-64-intel-common ?= 
"9195020e5747fba069c19996fab079931584a7fb"
+KMACHINE_corei7-64-intel-common = "${@bb.utils.contains('KERNEL_FEATURES', 
'leafhill', 'leafhill', 'intel-corei7-64', d)}"
+KBRANCH_corei7-64-intel-common = "${@bb.utils.contains('KERNEL_FEATURES', 
'leafhill', 'standard/intel/4.1.27/leaf-hill', 'standard/intel/base', d)}"
+SRCREV_meta_corei7-64-intel-common ?= 
"cf6d9876629270e8ed99541db252840291d03f5a"
+SRCREV_machine_corei7-64-intel-common ?= 
"${@bb.utils.contains('KERNEL_FEATURES', 'leafhill', 
'41fc98f785ad56f0df1b85ac039bd5e391697842', 
'9195020e5747fba069c19996fab079931584a7fb', d)}"
 KERNEL_FEATURES_append_corei7-64-intel-common = 
"${KERNEL_FEATURES_INTEL_COMMON}"
 
 # Quark / X1000 BSP Info
@@ -27,7 +27,6 @@ SRCREV_meta_i586-nlp-32-intel-common ?= 
"20edcbf4e42dd4cef7213a0ce2a4481d8d296f5
 SRCREV_machine_i586-nlp-32-intel-common ?= 
"9195020e5747fba069c19996fab079931584a7fb"
 KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
 
-
 # For Crystalforest and Romley
 KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
 KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [jethro] [PATCHv2 1/2] intel-corei7-64: add machine configurations specific to leafhill bsp

2016-09-08 Thread Rebecca Chang Swee Fun
We would like to enable new BSP for Intel Atom E3900 SoC based platforms.
This will help us to consolidate BSP into intel-common and we can use
KERNEL_FEATURES to select target BSP to compile.

Leaf Hill uses different serial console port setup. Hence this
mechanism are in place to enable new bsp with existing machine
configurations file.

Signed-off-by: Rebecca Chang Swee Fun 
---
 conf/machine/intel-corei7-64.conf | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/conf/machine/intel-corei7-64.conf 
b/conf/machine/intel-corei7-64.conf
index cc16d62..aac14d1 100644
--- a/conf/machine/intel-corei7-64.conf
+++ b/conf/machine/intel-corei7-64.conf
@@ -30,5 +30,7 @@ XSERVER ?= "${XSERVER_X86_BASE} \
"
 
 SYSLINUX_OPTS = "serial 0 115200"
-SERIAL_CONSOLE = "115200 ttyS0"
-APPEND += "console=ttyS0,115200 console=tty0"
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0"
+SERIAL_CONSOLES_CHECK = "ttyS2 ttyS0"
+APPEND += "console=ttyS2,115200n8 console=ttyS0,115200 console=tty0"
+APPEND += "${@bb.utils.contains('KERNEL_FEATURES', 'leafhill', '3 reboot=efi 
kmemleak=off i915.enable_ipc=1', '', d)}"
-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [jethro] [PATCHv2 0/2] Add new bsp consolidated with Intel Common BSP

2016-09-08 Thread Rebecca Chang Swee Fun
Hi,

PATCHv2 Change log:
- Changed machine configuration settings based on reviewers' feedback
  and comments.
- Append more console settings to SERIAL_CONSOLES
- Added SERIAL_CONSOLES_CHECK to stop getty from trying to enable
  non-existent serial consoles.

The v2 changes are tested working on both Leaf Hill (Broxton) and
Cherry Hill (Braswell) that has different console port setup.

Regards,
Rebecca

PATCHv1 Cover Letter:
This is to add leafhill as one of the BSP supported by Intel Common.
Since we need leafhill bsp to have a fixed kernel version base, we
have setup a kernel branch in linux-yocto-4.1 dedicated for leafhill.

On the meta recipe side, we have used bb.utils.contains() to enable
leafhill as KERNEL_FEATURES which to be set in local.conf by leaf hill
BSP users.

This implementation has allow us to enable more settings without
creating new machines conf file.

This change has been verified with build test and boot up test on Leaf
Hill boards.

Please review and provide feedback if you have any.
The patches are targeted for merging into meta-intel Jethro branch.

Thanks and regards,
Rebecca

Rebecca Chang Swee Fun (2):
  intel-corei7-64: add machine configurations specific to leafhill bsp
  linux-yocto_4.1: use bb.utils.contains for KERNEL_FEATURES selection

 common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 11 +--
 conf/machine/intel-corei7-64.conf|  6 --
 2 files changed, 9 insertions(+), 8 deletions(-)

-- 
1.9.1

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH] IGT: update 1.14 -> 1.15

2016-09-08 Thread Jianxun Zhang
This change update intel-gpu-tools to 1.15 as a sync-up with
Intel graphic stack 2016 Q2 release.

This change explicitly sets ${PV} in recipe and renames it
after package name only. By doing so we don't need to enforce
a policy to rename recipe every time we do update. Patch
speaks itself.

${PV} and checksums shall be updated together. When either
checksums or ${PV} is forgotten to update, developers will
get a build error as a heads-up. This is because graphic base
in OE fetches source with ${PV}.

Signed-off-by: Jianxun Zhang 
---
Rough test is done by cherry-picking some IGT tools and tests.
I still need to hack piglit to run IGT test as an authentic test
approach, but I will address this with another patch to OE.

 .../intel-gpu-tools/{intel-gpu-tools_1.14.bb => intel-gpu-tools.bb} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename common/recipes-graphics/intel-gpu-tools/{intel-gpu-tools_1.14.bb => 
intel-gpu-tools.bb} (88%)

diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb 
b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools.bb
similarity index 88%
rename from common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb
rename to common/recipes-graphics/intel-gpu-tools/intel-gpu-tools.bb
index c20ce31..64cc612 100644
--- a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb
+++ b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools.bb
@@ -15,8 +15,10 @@ RDEPENDS_${PN}-tests += "bash"
 
 PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
 
-SRC_URI[md5sum] = "b09d69526c86174007bea2228e36b2f1"
-SRC_URI[sha256sum] = 
"3596e1d36e9c1203eed5abff5a0f272d573f4eb917b5cee4f029cce5a70a0f0c"
+PV = "1.15"
+
+SRC_URI[md5sum] = "dea5d3a60f93054760d773aaa3a36b1f"
+SRC_URI[sha256sum] = 
"dcf256112d2692aa49ce6c6d17a898f60b3709b98c2f1c4592b23d22371462bd"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libunwind] = 
"--with-libunwind,--without-libunwind,libunwind,libunwind"
-- 
2.7.4

-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel