Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config
On 18 September 2014 03:21, Ong, Boon Leong boon.leong@intel.com wrote: On their own, the DPDK packages are useless as the user needs to compile their application with them. What you're basically doing is forcing a library onto *every* image for that machine, even ones that don't want to use DPDK. Please don't do that. So, reading from your feedback, I think that you are suggesting to create bbappend file for each of the target image type (core-image-sato core-image-sato-sdk) with IMAGE_INSTALL += dpdk dpdk-examples ... Just want to be sure we get your idea correctly. These are the two images that CID customers are using from Yocto Project. I'm suggesting that nobody will be taking e.g core-image-sato and be able to work out of the box with dpdk installed, as they'll need a toolchain to build their own application against dpdk. Let's just not install it in the images, and a user will either write a recipe for their image or create a SDK image to which they can trivially add dpdk. Ross -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH V2 3/3] meta-romley: DPDK v1.7.0 support for Romley machine config
I'm suggesting that nobody will be taking e.g core-image-sato and be able to work out of the box with dpdk installed, as they'll need a toolchain to build their own application against dpdk. Let's just not install it in the images, and a user will either write a recipe for their image or create a SDK image to which they can trivially add dpdk. Ross, DPDK suite comes with library and sample application that in past release run out-of-box to demonstrate the feature. Romley crystal-forest are communication grade platform which is expected to have both DPDK and QAT technology demonstrated. The challenge is if we don't have the features examples pre-installed on the sample image that is packaged into release tarball, customer have to build them from scratch to try out the DPDK examples. Yes, I do agree that it is trivial. I do agree that customer sample app is still need to be compiled against the shared library. So, they will have to rebuild some image again. I am looping in CID TME to give in their opinion on this subject matter as he owns the supporting customer part just to check with him whether it is ok to leave the trivial change to end-customer who is using yocto to do that themselves. If I remember correctly, that will require some documentation update on their end too. Thanks for the response anyway, let's do what is right and also convenient for the user... I believe that we can reach some agreement here Joel Abhishek, What is your thought of not having DPDK QAT technology pre-installed on the core-image-sato core-image-sato-sdk images? Do you think that your customer will follow some recommendation documented in manual to add them into their build recipe to add in DPDK and DPDK samples? Do take note that, in the past on the NDA recipe that was released out in previous product line, DPDK QAT are preinstalled onto the core-image-sato binary that is released as test image. What is your thought there? -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH 2/2] meta-intel.inc: allow disabling of Intel microcode
On 9/17/14, 13:51, Kamble, Nitin A nitin.a.kam...@intel.com wrote: The problem with this of course is we can't use it easily with the common BSPs and ultimately we want to eliminate as many of the other BSPs as possible. What is the exact issue with microcode? How does it break certain systems when enabled on the intel common BSPs? 1st there is no boot issue related to microcode. What was reported is a build issue. His initrd file was not built correctly. And we believe that it happened because he used older version of poky/oecore. So that is turning out to be a build setup issue. Here are the updates on the bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6730 Nitin Oh great! So what's the status of this then? Can it be enabled by default? -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH 2/2] meta-intel.inc: allow disabling of Intel microcode
On 9/18/14, 9:13 AM, Hart, Darren darren.h...@intel.com wrote: On 9/17/14, 13:51, Kamble, Nitin A nitin.a.kam...@intel.com wrote: The problem with this of course is we can't use it easily with the common BSPs and ultimately we want to eliminate as many of the other BSPs as possible. What is the exact issue with microcode? How does it break certain systems when enabled on the intel common BSPs? 1st there is no boot issue related to microcode. What was reported is a build issue. His initrd file was not built correctly. And we believe that it happened because he used older version of poky/oecore. So that is turning out to be a build setup issue. Here are the updates on the bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6730 Nitin Oh great! So what's the status of this then? Can it be enabled by default? I see no blockage for enabling by default. But usages like microyocto may want to disable the feature to save some space. So I am working on make the the intel microcode feature available as a machine feature, and all the machines in meta-intel will include the machine feature. Nitin -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH 1/2] intel-corei7-64.conf: include the AMT daemon in the images
On 9/17/14, 15:52, Kamble, Nitin A nitin.a.kam...@intel.com wrote: On 9/17/14, 12:58 PM, Hart, Darren darren.h...@intel.com wrote: On 9/17/14, 12:44, Kamble, Nitin A nitin.a.kam...@intel.com wrote: From: Nitin A Kamble nitin.a.kam...@intel.com Some of the platforms supported by the intel-corei7-64 BSP have AMT feature on the platform. Enable it so that it can get utilized with this BSP. How does this impact boot of systems without AMT support? 32 and 64 bit? This change just adds the AMT module to the images. It would not affect booting unless a system has broken AMT firmware. In that case the machine-setup-tool configuration can be used to blacklist the mei kernel driver. Nitin Thanks, Acked-by: Darren Hart dvh...@linux.intel.com Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/intel-corei7-64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf index c3b08bc..97d57b3 100644 --- a/conf/machine/intel-corei7-64.conf +++ b/conf/machine/intel-corei7-64.conf @@ -16,7 +16,7 @@ MACHINE_FEATURES += wifi 3g MACHINE_HWCODECS ?= va-intel gst-va-intel -MACHINE_EXTRA_RRECOMMENDS += linux-firmware +MACHINE_EXTRA_RRECOMMENDS += linux-firmware lms8 XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ -- 1.8.1.4 -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH 2/2] meta-intel.inc: allow disabling of Intel microcode
On 9/18/14, 9:18, Kamble, Nitin A nitin.a.kam...@intel.com wrote: On 9/18/14, 9:13 AM, Hart, Darren darren.h...@intel.com wrote: On 9/17/14, 13:51, Kamble, Nitin A nitin.a.kam...@intel.com wrote: The problem with this of course is we can't use it easily with the common BSPs and ultimately we want to eliminate as many of the other BSPs as possible. What is the exact issue with microcode? How does it break certain systems when enabled on the intel common BSPs? 1st there is no boot issue related to microcode. What was reported is a build issue. His initrd file was not built correctly. And we believe that it happened because he used older version of poky/oecore. So that is turning out to be a build setup issue. Here are the updates on the bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6730 Nitin Oh great! So what's the status of this then? Can it be enabled by default? I see no blockage for enabling by default. But usages like microyocto may want to disable the feature to save some space. So I am working on make the the intel microcode feature available as a machine feature, and all the machines in meta-intel will include the machine feature. Right, and I should have said make it the default for intel-core* machines. Thanks Nitin, -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH] layer.conf: Bumping LAYERVERSION
As we've retired some BSPs we'll need to bump LAYERVERSION so that the autobuilder does not fail out on them. Signed-off-by: Elizabeth Flanagan elizabeth.flana...@intel.com --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index cd1f243..eb5e8da 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -14,4 +14,4 @@ LICENSE_PATH += ${LAYERDIR}/common/custom-licenses # This should only be incremented on significant changes that will # cause compatibility issues with other layers -LAYERVERSION_intel = 1 +LAYERVERSION_intel = 2 -- 1.9.0 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH] layer.conf: Bumping LAYERVERSION
On Thu, 2014-09-18 at 15:12 -0700, Elizabeth Flanagan wrote: As we've retired some BSPs we'll need to bump LAYERVERSION so that the autobuilder does not fail out on them. Pulled into meta-intel/master. Thanks, Tom Signed-off-by: Elizabeth Flanagan elizabeth.flana...@intel.com --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index cd1f243..eb5e8da 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -14,4 +14,4 @@ LICENSE_PATH += ${LAYERDIR}/common/custom-licenses # This should only be incremented on significant changes that will # cause compatibility issues with other layers -LAYERVERSION_intel = 1 +LAYERVERSION_intel = 2 -- 1.9.0 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 14/31] romley: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-romley/conf/machine/romley.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-romley/conf/machine/romley.conf b/meta-romley/conf/machine/romley.conf index ed52a1e..a6f7525 100644 --- a/meta-romley/conf/machine/romley.conf +++ b/meta-romley/conf/machine/romley.conf @@ -14,6 +14,8 @@ require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_MATROX_MGA} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 07/31] crownbay-noemgd: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-crownbay/conf/machine/crownbay-noemgd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-crownbay/conf/machine/crownbay-noemgd.conf b/meta-crownbay/conf/machine/crownbay-noemgd.conf index 4b618a4..ea4967c 100644 --- a/meta-crownbay/conf/machine/crownbay-noemgd.conf +++ b/meta-crownbay/conf/machine/crownbay-noemgd.conf @@ -12,6 +12,8 @@ require conf/machine/include/meta-intel.inc require conf/machine/include/intel-core2-32-common.inc require conf/machine/include/intel-common-pkgarch.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_VESA} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 03/31] emenlow-noemgd: use the common kernel
From: Nitin A Kamble nitin.a.kam...@intel.com Use the common kernel as now it supports the gma500 driver. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-emenlow/conf/machine/emenlow-noemgd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-emenlow/conf/machine/emenlow-noemgd.conf b/meta-emenlow/conf/machine/emenlow-noemgd.conf index f5709f9..54e1bbc 100644 --- a/meta-emenlow/conf/machine/emenlow-noemgd.conf +++ b/meta-emenlow/conf/machine/emenlow-noemgd.conf @@ -8,6 +8,7 @@ PREFERRED_VERSION_linux-yocto ?= 3.14% require conf/machine/include/intel-core2-32-common.inc +require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc XSERVER ?= ${XSERVER_X86_BASE} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 05/31] intel-core2-32: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/intel-core2-32.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf index 3c3d290..60788c7 100644 --- a/conf/machine/intel-core2-32.conf +++ b/conf/machine/intel-core2-32.conf @@ -13,6 +13,7 @@ PREFERRED_VERSION_linux-yocto ?= 3.14% MACHINE_FEATURES += pcbios efi MACHINE_FEATURES += va-impl-intel MACHINE_FEATURES += wifi 3g +MACHINE_FEATURES += intel-ucode MACHINE_HWCODECS ?= va-intel gst-va-intel -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 04/31] intel-ucode: a new MACHINE_FEATURE for meta-intel BSPs
From: Nitin A Kamble nitin.a.kam...@intel.com The Intel microcode can be enabled or disabled for each of the BSP by using the MACHINE_FEATURES variable. All the BSPs which can utilize the feature need a line like this in their machine configuration file. MACHINE_FEATURES += intel-ucode Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/include/meta-intel.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index f43903e..b94e1dd 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc @@ -22,8 +22,8 @@ XSERVER_X86_ASPEED_AST = xf86-video-ast \ # include the user space intel microcode loading support in the generated images. -MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = intel-microcode iucode-tool +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode iucode-tool', '', d)} -# For the early boot time kernel microcode loading support, +# for the early boot time kernel microcode loading support, # merge the microcode data in the final initrd image. -INITRD_prepend = ${DEPLOY_DIR_IMAGE}/microcode.cpio +INITRD_prepend = ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)} -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 01/31] linux-yocto_3.17.bbappend for the meta-intel BSPs
From: Nitin A Kamble nitin.a.kam...@intel.com Extend the linux-yocto_3.17 recipe from the oecore layer for the use of meta-intel BSPs. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../recipes-kernel/linux/linux-yocto_3.17.bbappend | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 common/recipes-kernel/linux/linux-yocto_3.17.bbappend diff --git a/common/recipes-kernel/linux/linux-yocto_3.17.bbappend b/common/recipes-kernel/linux/linux-yocto_3.17.bbappend new file mode 100644 index 000..3dcadf6 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto_3.17.bbappend @@ -0,0 +1,28 @@ +FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: + +# For NUC +KERNEL_FEATURES_INTEL_COMMON += features/amt/mei/mei.scc + +LINUX_VERSION_core2-32-intel-common = 3.17-rc4 +COMPATIBLE_MACHINE_core2-32-intel-common = ${MACHINE} +SRCREV_meta_core2-32-intel-common = 7df849fc7eba54765368e26634341dbe6e2ad161 +SRCREV_machine_core2-32-intel-common = 1a3939eb747a635b23b4234f785795c52dce72a8 +KMACHINE_core2-32-intel-common = intel-core2-32 +KBRANCH_core2-32-intel-common = standard/base +KERNEL_FEATURES_append_core2-32-intel-common = ${KERNEL_FEATURES_INTEL_COMMON} + +LINUX_VERSION_corei7-64-intel-common = 3.17-rc4 +COMPATIBLE_MACHINE_corei7-64-intel-common = ${MACHINE} +SRCREV_meta_corei7-64-intel-common = 7df849fc7eba54765368e26634341dbe6e2ad161 +SRCREV_machine_corei7-64-intel-common = 1a3939eb747a635b23b4234f785795c52dce72a8 +KMACHINE_corei7-64-intel-common = intel-corei7-64 +KBRANCH_corei7-64-intel-common = standard/base +KERNEL_FEATURES_append_corei7-64-intel-common = ${KERNEL_FEATURES_INTEL_COMMON} + +# For Crystalforest and Romley +KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = uio +KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = uio + +# For FRI2, NUC +KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = iwlwifi +KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = iwlwifi -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 23/31] machinesetuptool: add jasperforest machine config to the intel-corei7-64 BSP
From: Nitin A Kamble nitin.a.kam...@intel.com Add machine configuration for the Jasperforest platform in the intel-corei7-64 BSP image. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../intel-corei7-64/jasperforest-alsa.conf | 1 + .../jasperforest-formfactor.machconfig | 3 +++ .../jasperforest-network.interfaces| 31 ++ .../intel-corei7-64/jasperforest.vars | 14 ++ .../machinesetuptool/machinesetuptool_git.bbappend | 10 ++- 5 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf new file mode 100644 index 000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig new file mode 100644 index 000..ffce012 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-formfactor.machconfig @@ -0,0 +1,3 @@ +# Assume a USB mouse and keyboard are connected +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces new file mode 100644 index 000..0acf4cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest-network.interfaces @@ -0,0 +1,31 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Wireless interfaces +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf + +iface atml0 inet dhcp + +# Wired or wireless interfaces +auto eth0 +iface eth0 inet dhcp +iface eth1 inet dhcp + +# Ethernet/RNDIS gadget (g_ether) +# ... or on host side, usbnet and random hwaddr +iface usb0 inet static + address 192.168.7.2 + netmask 255.255.255.0 + network 192.168.7.0 + gateway 192.168.7.1 + +# Bluetooth networking +iface bnep0 inet dhcp + diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars new file mode 100644 index 000..503531a --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/jasperforest.vars @@ -0,0 +1,14 @@ +FORMFACTOR_FILE=jasperforest-formfactor.machconfig +ALSA_CONFIG_FILE=jasperforest-alsa.conf +ALSA_STATE_FILE=jasperforest-alsa.state +XORG_CONFIG_FILE= +NETWORK_INTERFACES_FILE=jasperforest-network.interfaces +AUTOLOAD_KERNEL_MODULES= +PROHIBIT_KERNEL_MODULES= +EXTRA_KERNEL_PARAMETERS=console=ttyS0,115200 console=tty0 video=vesafb vga=0x318 +SYSLINUX_SERIAL_CONFIG=SERIAL 0 115200 +GRUB_SERIAL_CONFIG= +GETTY_SERIAL_CONSOLES=115200;ttyS0 +SETUP_SCRIPTS= +BOOT_SCRIPTS= +REBOOT_AFTER_SETUP=no diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend index 46894c2..2fc7ee9 100644 --- a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bbappend @@ -2,10 +2,11 @@ FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: DEFAULT_MACHINE_SELECTION_intel-corei7-64 = nuc -SUPPORTED_MACHINES_intel-corei7-64 = nuc +SUPPORTED_MACHINES_intel-corei7-64 = nuc jasperforest MACHINE_CONFIG_FILES_intel-corei7-64 = \ ${NUC_MACHINE_CONFIG_FILES} \ + ${JASPERFOREST_MACHINE_CONFIG_FILES} \ NUC_MACHINE_CONFIG_FILES = \ @@ -16,3 +17,10 @@ NUC_MACHINE_CONFIG_FILES = \ nuc-network.interfaces \ nuc-bootscript-hdmi_port_audio.sh \ + +JASPERFOREST_MACHINE_CONFIG_FILES = \ + jasperforest.vars \ + jasperforest-formfactor.machconfig \ + jasperforest-alsa.conf \ + jasperforest-network.interfaces \ + -- 1.8.1.4 --
[meta-intel] [PATCH 19/31] valleyisland-32: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf b/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf index 6bbae7a..73bc40d 100644 --- a/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf +++ b/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf @@ -13,6 +13,7 @@ require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc MACHINE_FEATURES += pcbios efi +MACHINE_FEATURES += intel-ucode XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 24/31] machinesetuptool: add sugarbay machine config to the intel-corei7-64 BSP
From: Nitin A Kamble nitin.a.kam...@intel.com Add machine configuration for the Sugarbay platform in the intel-corei7-64 BSP image. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../intel-corei7-64/sugarbay-alsa.conf | 1 + .../intel-corei7-64/sugarbay-alsa.state| 349 + .../intel-corei7-64/sugarbay-formfactor.machconfig | 3 + .../intel-corei7-64/sugarbay-network.interfaces| 31 ++ .../machinesetuptool/intel-corei7-64/sugarbay.vars | 14 + .../machinesetuptool/machinesetuptool_git.bbappend | 12 +- 6 files changed, 409 insertions(+), 1 deletion(-) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.state create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.conf new file mode 100644 index 000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.state b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.state new file mode 100644 index 000..ee31853 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-corei7-64/sugarbay-alsa.state @@ -0,0 +1,349 @@ +state.PCH { + control.1 { + iface MIXER + name 'Headphone Playback Volume' + value.0 87 + value.1 87 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 87' + dbmin -6525 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.2 { + iface MIXER + name 'Headphone Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.3 { + iface MIXER + name 'Speaker Playback Volume' + value.0 87 + value.1 87 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 87' + dbmin -6525 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.4 { + iface MIXER + name 'Speaker Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.5 { + iface MIXER + name 'Internal Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.6 { + iface MIXER + name 'Internal Mic Playback Switch' + value.0 false + value.1 false + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.7 { + iface MIXER + name 'Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.8 { + iface MIXER +
[meta-intel] [PATCH 25/31] machinesetuptool: add emenlow machine config to the intel-core2-32 BSP
From: Nitin A Kamble nitin.a.kam...@intel.com Add machine configuration for the eMenlow platform in the intel-core2-32 BSP image. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../intel-core2-32/emenlow-noemgd-alsa.conf| 1 + .../intel-core2-32/emenlow-noemgd-alsa.state | 143 + .../emenlow-noemgd-formfactor.machconfig | 3 + .../emenlow-noemgd-network.interfaces | 31 + .../intel-core2-32/emenlow-noemgd-xorg.conf| 22 .../intel-core2-32/emenlow-noemgd.vars | 14 ++ .../machinesetuptool/machinesetuptool_git.bbappend | 16 +++ 7 files changed, 230 insertions(+) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-xorg.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf new file mode 100644 index 000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state new file mode 100644 index 000..5614cff --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/emenlow-noemgd-alsa.state @@ -0,0 +1,143 @@ +state.MID { + control.1 { + iface MIXER + name 'Master Playback Volume' + value.0 17 + value.1 17 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 -2100 + dbvalue.1 -2100 + } + } + control.2 { + iface MIXER + name 'Master Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.3 { + iface MIXER + name 'Mic Playback Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -3450 + dbmax 1200 + dbvalue.0 -3450 + dbvalue.1 -3450 + } + } + control.4 { + iface MIXER + name 'Mic Playback Switch' + value.0 false + value.1 false + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.5 { + iface MIXER + name 'Capture Volume' + value.0 16 + value.1 16 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -1200 + dbmax 3450 + dbvalue.0 1200 + dbvalue.1 1200 + } + } + control.6 { + iface MIXER + name 'Capture Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.7 { + iface MIXER + name 'Mic Boost Volume' + value.0 0 + value.1 0 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 3' + dbmin 0 +
[meta-intel] [PATCH 30/31] intel-core2-32.conf: remove config handled by machine-setup-tool
From: Nitin A Kamble nitin.a.kam...@intel.com The serial port configuration varies as per the underneath hardware, so get it from the machine-setup-tool instead of specifying a generic value here. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/intel-core2-32.conf | 4 1 file changed, 4 deletions(-) diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf index 7a786de..cd2714c 100644 --- a/conf/machine/intel-core2-32.conf +++ b/conf/machine/intel-core2-32.conf @@ -28,7 +28,3 @@ XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_MODESETTING} \ ${XSERVER_X86_VESA} \ - -SYSLINUX_OPTS = serial 0 115200 -SERIAL_CONSOLE = 115200 ttyS0 -APPEND += console=ttyS0,115200 console=tty0 -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 09/31] emenlow-noemgd: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-emenlow/conf/machine/emenlow-noemgd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-emenlow/conf/machine/emenlow-noemgd.conf b/meta-emenlow/conf/machine/emenlow-noemgd.conf index 54e1bbc..d4cd03c 100644 --- a/meta-emenlow/conf/machine/emenlow-noemgd.conf +++ b/meta-emenlow/conf/machine/emenlow-noemgd.conf @@ -11,6 +11,8 @@ require conf/machine/include/intel-core2-32-common.inc require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_MODESETTING} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 28/31] intel-corei7-64 BSP: Pull in the machinesetuptool packages
From: Nitin A Kamble nitin.a.kam...@intel.com The intel-corei7-64 BSP supports multiple platforms. Pull in the Machine Setup Tool recipe packages in the images so that the images can be configured for any of the supported platform. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/intel-corei7-64.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf index 1b7ced3..c025404 100644 --- a/conf/machine/intel-corei7-64.conf +++ b/conf/machine/intel-corei7-64.conf @@ -17,6 +17,7 @@ MACHINE_FEATURES += intel-ucode MACHINE_HWCODECS ?= va-intel gst-va-intel +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = machinesetuptool MACHINE_EXTRA_RRECOMMENDS += linux-firmware lms8 XSERVER ?= ${XSERVER_X86_BASE} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 10/31] jasperforest: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-jasperforest/conf/machine/jasperforest.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-jasperforest/conf/machine/jasperforest.conf b/meta-jasperforest/conf/machine/jasperforest.conf index e524b63..1b1a541 100644 --- a/meta-jasperforest/conf/machine/jasperforest.conf +++ b/meta-jasperforest/conf/machine/jasperforest.conf @@ -12,6 +12,8 @@ require conf/machine/include/meta-intel.inc require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_VESA} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 13/31] crystalforest: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-crystalforest/conf/machine/crystalforest.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-crystalforest/conf/machine/crystalforest.conf b/meta-crystalforest/conf/machine/crystalforest.conf index 44b9bb2..129aced 100644 --- a/meta-crystalforest/conf/machine/crystalforest.conf +++ b/meta-crystalforest/conf/machine/crystalforest.conf @@ -22,6 +22,8 @@ require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_MATROX_MGA} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 18/31] mohonpeak64: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-isg/meta-mohonpeak/conf/machine/mohonpeak64.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-isg/meta-mohonpeak/conf/machine/mohonpeak64.conf b/meta-isg/meta-mohonpeak/conf/machine/mohonpeak64.conf index 05e2f6f..88f234f 100644 --- a/meta-isg/meta-mohonpeak/conf/machine/mohonpeak64.conf +++ b/meta-isg/meta-mohonpeak/conf/machine/mohonpeak64.conf @@ -16,6 +16,7 @@ XSERVER ?= ${XSERVER_X86_BASE} \ MACHINE_FEATURES += pcbios efi +MACHINE_FEATURES += intel-ucode SYSLINUX_OPTS = serial 1 115200 SERIAL_CONSOLE = 115200 ttyS1 -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 16/31] haswell-wc: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-isg/meta-haswell-wc/conf/machine/haswell-wc.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-isg/meta-haswell-wc/conf/machine/haswell-wc.conf b/meta-isg/meta-haswell-wc/conf/machine/haswell-wc.conf index 6487cd2..f2372f9 100644 --- a/meta-isg/meta-haswell-wc/conf/machine/haswell-wc.conf +++ b/meta-isg/meta-haswell-wc/conf/machine/haswell-wc.conf @@ -11,6 +11,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= linux-yocto PREFERRED_VERSION_linux-yocto ?= 3.10% MACHINE_FEATURES += pcbios efi va-impl-intel +MACHINE_FEATURES += intel-ucode require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 11/31] nuc: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-nuc/conf/machine/nuc.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-nuc/conf/machine/nuc.conf b/meta-nuc/conf/machine/nuc.conf index 790b88d..e73d94c 100644 --- a/meta-nuc/conf/machine/nuc.conf +++ b/meta-nuc/conf/machine/nuc.conf @@ -8,6 +8,7 @@ PREFERRED_VERSION_linux-yocto ?= 3.14% MACHINE_FEATURES += va-impl-intel wifi efi +MACHINE_FEATURES += intel-ucode require conf/machine/include/meta-intel.inc require conf/machine/include/intel-corei7-64-common.inc -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 08/31] fri2-noemgd: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-fri2/conf/machine/fri2-noemgd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-fri2/conf/machine/fri2-noemgd.conf b/meta-fri2/conf/machine/fri2-noemgd.conf index ffacd19..0a4efc6 100644 --- a/meta-fri2/conf/machine/fri2-noemgd.conf +++ b/meta-fri2/conf/machine/fri2-noemgd.conf @@ -10,6 +10,8 @@ require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc MACHINE_FEATURES += wifi 3g pcbios efi +MACHINE_FEATURES += intel-ucode + MACHINE_EXTRA_RRECOMMENDS += linux-firmware-iwlwifi-6000g2a-5 PREFERRED_PROVIDER_virtual/kernel ?= linux-yocto -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 15/31] romley-ivb: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-romley/conf/machine/romley-ivb.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-romley/conf/machine/romley-ivb.conf b/meta-romley/conf/machine/romley-ivb.conf index af52897..dc12c28 100644 --- a/meta-romley/conf/machine/romley-ivb.conf +++ b/meta-romley/conf/machine/romley-ivb.conf @@ -14,6 +14,8 @@ require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_MATROX_MGA} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 21/31] machinesetuptool: a new recipe for setup of a machine
From: Nitin A Kamble nitin.a.kam...@intel.com This recipe adds ability to setup a BSP image for a specific machine or platform at the boot time. The base recipe does not provide any machine configuration files, and the required machine configuration files are to be provided in the BSP layers. This recipe is currently split in 2 files for ease of future migration of the base recipe to the oecore layer. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../machinesetuptool/machinesetuptool_git.bb | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool_git.bb diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bb b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bb new file mode 100644 index 000..0dfe242 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool_git.bb @@ -0,0 +1,49 @@ +SUMMARY = Daemon to setup an image for a specific machine at boot time. +SECTION = base +LICENSE = GPLv3 +LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504 +RDEPENDS_${PN} = sysvinit sed + +PV = 1.0+git${SRCPV} + +SRCREV = 4cb28ca5de3385f6e16a1e3f69b1a8a79b75ace4 + +SRC_URI = git://git.yoctoproject.org/machinesetuptool.git + +S = ${WORKDIR}/git + +PACKAGE_ARCH = ${MACHINE_ARCH} + +inherit autotools pkgconfig update-rc.d + +INITSCRIPT_NAME = machinesetuptool +INITSCRIPT_PARAMS = start 00 S . stop 20 0 1 6 . + +RRECOMMENDS_${PN} += kernel-module-uinput + +python __anonymous () { +src_uri = d.getVar('SRC_URI', True) +machine_config_files = (d.getVar('MACHINE_CONFIG_FILES', True) or ) +for file in machine_config_files.split(): + src_uri += file:// + file +d.setVar('SRC_URI', src_uri) +} + +do_install_append() { + { + echo SUPPORTED_MACHINES=\${SUPPORTED_MACHINES}\ + echo DEFAULT_MACHINE_SELECTION=${DEFAULT_MACHINE_SELECTION} + } ${D}/${sysconfdir}/${BPN}/defaults + + for file in ${MACHINE_CONFIG_FILES} + do + install -m 0644 ${S}/../${file} ${D}/${sysconfdir}/${BPN}/config/ + done +} + +# following variables are initialized to empty values now. +# These need to be populated with the desired machine configurations +# for each BSP in it's own layer. +MACHINE_CONFIG_FILES = +SUPPORTED_MACHINES = +DEFAULT_MACHINE_SELECTION = none -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 12/31] sugarbay: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-sugarbay/conf/machine/sugarbay.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-sugarbay/conf/machine/sugarbay.conf b/meta-sugarbay/conf/machine/sugarbay.conf index de3b002..4a01fc7 100644 --- a/meta-sugarbay/conf/machine/sugarbay.conf +++ b/meta-sugarbay/conf/machine/sugarbay.conf @@ -16,6 +16,8 @@ require conf/machine/include/intel-common-pkgarch.inc MACHINE_HWCODECS ?= va-intel gst-va-intel +MACHINE_FEATURES += intel-ucode + XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_I965} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 29/31] intel-core2-32 BSP: Pull in the machinesetuptool packages
From: Nitin A Kamble nitin.a.kam...@intel.com The intel-core2-32 BSP supports multiple platforms. Pull in the Machine Setup Tool recipe packages in the images so that the images can be configured for any of the supported platform. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- conf/machine/intel-core2-32.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf index 60788c7..7a786de 100644 --- a/conf/machine/intel-core2-32.conf +++ b/conf/machine/intel-core2-32.conf @@ -17,6 +17,7 @@ MACHINE_FEATURES += intel-ucode MACHINE_HWCODECS ?= va-intel gst-va-intel +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = machinesetuptool MACHINE_EXTRA_RRECOMMENDS += linux-firmware XSERVER ?= ${XSERVER_X86_BASE} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 17/31] mohonpeak: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-isg/meta-mohonpeak/conf/machine/mohonpeak32.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-isg/meta-mohonpeak/conf/machine/mohonpeak32.conf b/meta-isg/meta-mohonpeak/conf/machine/mohonpeak32.conf index 32ded79..06e0b3d 100644 --- a/meta-isg/meta-mohonpeak/conf/machine/mohonpeak32.conf +++ b/meta-isg/meta-mohonpeak/conf/machine/mohonpeak32.conf @@ -16,6 +16,7 @@ XSERVER ?= ${XSERVER_X86_BASE} \ MACHINE_FEATURES += pcbios efi +MACHINE_FEATURES += intel-ucode SYSLINUX_OPTS = serial 1 115200 SERIAL_CONSOLE = 115200 ttyS1 -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 20/31] valleyisland-64: add intel-ucode to MACHINE_FEATURES
From: Nitin A Kamble nitin.a.kam...@intel.com Enable the Intel microcode feature for this BSP. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf b/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf index a13cc17..d4ebbf9 100644 --- a/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf +++ b/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf @@ -14,7 +14,7 @@ require conf/machine/include/intel-common-pkgarch.inc require conf/machine/include/meta-intel.inc MACHINE_FEATURES += pcbios efi - +MACHINE_FEATURES += intel-ucode XSERVER ?= ${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ -- 1.8.1.4 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 26/31] machinesetuptool: add crownbay machine config to the intel-core2-32 BSP
From: Nitin A Kamble nitin.a.kam...@intel.com Add machine configuration for the Crownbay platform in the intel-core2-32 BSP image. Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com --- .../intel-core2-32/crownbay-noemgd-alsa.conf | 1 + .../intel-core2-32/crownbay-noemgd-alsa.state | 684 + .../crownbay-noemgd-formfactor.machconfig | 3 + .../crownbay-noemgd-network.interfaces | 31 + .../intel-core2-32/crownbay-noemgd.vars| 14 + .../machinesetuptool/machinesetuptool_git.bbappend | 11 +- 6 files changed, 743 insertions(+), 1 deletion(-) create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.conf create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.state create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-formfactor.machconfig create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-network.interfaces create mode 100644 common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd.vars diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.conf b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.conf new file mode 100644 index 000..03653cf --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.conf @@ -0,0 +1 @@ +# Global alsa-lib configuration diff --git a/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.state b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.state new file mode 100644 index 000..bd57679 --- /dev/null +++ b/common/recipes-bsp/machinesetuptool/machinesetuptool/intel-core2-32/crownbay-noemgd-alsa.state @@ -0,0 +1,684 @@ +state.MID { + control.1 { + iface MIXER + name 'Front Playback Volume' + value.0 31 + value.1 31 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.2 { + iface MIXER + name 'Front Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.3 { + iface MIXER + name 'Surround Playback Volume' + value.0 31 + value.1 31 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 0 + dbvalue.1 0 + } + } + control.4 { + iface MIXER + name 'Surround Playback Switch' + value.0 true + value.1 true + comment { + access 'read write' + type BOOLEAN + count 2 + } + } + control.5 { + iface MIXER + name 'Center Playback Volume' + value 31 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 0 + } + } + control.6 { + iface MIXER + name 'LFE Playback Volume' + value 31 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + dbmin -4650 + dbmax 0 + dbvalue.0 0 + } + } + control.7 { + iface MIXER + name 'Center Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.8 { + iface MIXER + name 'LFE Playback Switch' + value true + comment { + access 'read write' +
[meta-intel] [PATCH 00/31] Misc meta-intel commits
From: Nitin A Kamble nitin.a.kam...@intel.com This pull requests has commits for 1. linux-yocto_3.17 kernel recipe for meta-intel BSPs 2. Few fixes for fri2-noemgd emenlow-noemgd machine configurations 3. a new machine feature for Intel microcode 4. enabling of the Intel microcode feature for all the meta-intel BSPs. 5. Machine Setup Tool: for runtime BSP image configuration 6. Machine Setup Tool configs for hardware supported by the intel-core* common BSPs. All these commits are tested on multiple platforms. The microcode feature should be enabled for all the meta-intel BSPs by default. I do not see anybody having any issue by enabling of the Intel microcode feature for any of the meta-intel BSP. If someone (such as microyocto) want to disable the Intel microcode feature then it can be disabled by not listing it in the MACHINE_FEATURES variable. Thanks, Nitin The following changes since commit a369fa8f2d76528cb296ef9314e613e26585d54d: layer.conf: Bumping LAYERVERSION (2014-09-18 18:35:54 -0500) are available in the git repository at: git://git.yoctoproject.org/meta-intel-contrib nitin/misc http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc Nitin A Kamble (31): linux-yocto_3.17.bbappend for the meta-intel BSPs fri2-noemgd.conf: soften the preferred kernel version assignment emenlow-noemgd: use the common kernel intel-ucode: a new MACHINE_FEATURE for meta-intel BSPs intel-core2-32: add intel-ucode to MACHINE_FEATURES intel-corei7-64: add intel-ucode to MACHINE_FEATURES crownbay-noemgd: add intel-ucode to MACHINE_FEATURES fri2-noemgd: add intel-ucode to MACHINE_FEATURES emenlow-noemgd: add intel-ucode to MACHINE_FEATURES jasperforest: add intel-ucode to MACHINE_FEATURES nuc: add intel-ucode to MACHINE_FEATURES sugarbay: add intel-ucode to MACHINE_FEATURES crystalforest: add intel-ucode to MACHINE_FEATURES romley: add intel-ucode to MACHINE_FEATURES romley-ivb: add intel-ucode to MACHINE_FEATURES haswell-wc: add intel-ucode to MACHINE_FEATURES mohonpeak: add intel-ucode to MACHINE_FEATURES mohonpeak64: add intel-ucode to MACHINE_FEATURES valleyisland-32: add intel-ucode to MACHINE_FEATURES valleyisland-64: add intel-ucode to MACHINE_FEATURES machinesetuptool: a new recipe for setup of a machine machinesetuptool: add nuc machine config to the intel-corei7-64 BSP machinesetuptool: add jasperforest machine config to the intel-corei7-64 BSP machinesetuptool: add sugarbay machine config to the intel-corei7-64 BSP machinesetuptool: add emenlow machine config to the intel-core2-32 BSP machinesetuptool: add crownbay machine config to the intel-core2-32 BSP machinesetuptool: add fri2 machine config to the intel-core2-32 BSP intel-corei7-64 BSP: Pull in the machinesetuptool packages intel-core2-32 BSP: Pull in the machinesetuptool packages intel-core2-32.conf: remove config handled by machine-setup-tool intel-corei7-64.conf: remove config handled by machine-setup-tool .../intel-core2-32/crownbay-noemgd-alsa.conf | 1 + .../intel-core2-32/crownbay-noemgd-alsa.state | 684 + .../crownbay-noemgd-formfactor.machconfig | 3 + .../crownbay-noemgd-network.interfaces | 31 + .../intel-core2-32/crownbay-noemgd.vars| 14 + .../intel-core2-32/emenlow-noemgd-alsa.conf| 1 + .../intel-core2-32/emenlow-noemgd-alsa.state | 143 + .../emenlow-noemgd-formfactor.machconfig | 3 + .../emenlow-noemgd-network.interfaces | 31 + .../intel-core2-32/emenlow-noemgd-xorg.conf| 22 + .../intel-core2-32/emenlow-noemgd.vars | 14 + .../intel-core2-32/fri2-noemgd-alsa.conf | 1 + .../intel-core2-32/fri2-noemgd-alsa.state | 411 + .../fri2-noemgd-formfactor.machconfig | 3 + .../intel-core2-32/fri2-noemgd-network.interfaces | 9 + .../intel-core2-32/fri2-noemgd.vars| 17 + .../intel-corei7-64/jasperforest-alsa.conf | 1 + .../jasperforest-formfactor.machconfig | 3 + .../jasperforest-network.interfaces| 31 + .../intel-corei7-64/jasperforest.vars | 14 + .../machinesetuptool/intel-corei7-64/nuc-alsa.conf | 24 + .../intel-corei7-64/nuc-alsa.state | 309 ++ .../nuc-bootscript-hdmi_port_audio.sh | 19 + .../intel-corei7-64/nuc-formfactor.machconfig | 3 + .../intel-corei7-64/nuc-network.interfaces | 31 + .../machinesetuptool/intel-corei7-64/nuc.vars | 14 + .../intel-corei7-64/sugarbay-alsa.conf | 1 + .../intel-corei7-64/sugarbay-alsa.state| 349 +++ .../intel-corei7-64/sugarbay-formfactor.machconfig | 3 + .../intel-corei7-64/sugarbay-network.interfaces| 31 + .../machinesetuptool/intel-corei7-64/sugarbay.vars | 14 + .../machinesetuptool/machinesetuptool_git.bb |