[meta-intel] [PATCH V2 0/1] formfactor: detect USB HID keyboard and touch screen

2016-06-07 Thread Jianxun Zhang
This V2 addresses Saul's review by dropping sudo in script. I think V1 is okay regarding to default values since config (the caller) provides them when these variables are not set. (We need to override keyboard one to get expected result however.) Jianxun Zhang (1): formfactor: detect USB HID

[meta-intel] [PATCH] formfactor: detect USB HID keyboard and touch screen

2016-06-07 Thread Jianxun Zhang
support once such device emerges. Some platforms may have _virtual_ devices provided by BIOS. It will cause false detection when they are presented as types we supported. We can add black list logic when it becomes a big concern. Fixes [YOCTO #9205] Signed-off-by: Jianxun Zhang <jianxun

Re: [meta-intel] [PATCH] formfactor: detect USB HID keyboard and touch screen

2016-06-07 Thread Jianxun Zhang
Sorry, The subject should be "[PATCH V2 1/1] formfactor: detect USB HID keyboard and touch screen" :-( On 06/07/2016 04:46 PM, Jianxun Zhang wrote: The new machconfig probes USB keyboard and touch screen, and then sets HAVE_* variables according to detection. Detectable device

Re: [meta-intel] [PATCH] formfactor: detect USB HID keyboard and touch screen

2016-06-10 Thread Jianxun Zhang
> On Jun 8, 2016, at 2:06 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > Hi Jianxun, > > On 06/07/2016 06:46 PM, Jianxun Zhang wrote: >> The new machconfig probes USB keyboard and touch screen, and >> then sets HAVE_* variables according to detection.

[meta-intel] [PATCH V3 1/1] formfactor: detect USB HID keyboard and touch screen

2016-06-10 Thread Jianxun Zhang
support once such device emerges. Some platforms may have _virtual_ devices provided by BIOS. It will cause false detection when they are presented as types we supported. We can add black list logic when it becomes a big concern. Fixes [YOCTO #9205] Signed-off-by: Jianxun Zhang <jianxun

Re: [meta-intel] [PATCH V3 1/1] formfactor: detect USB HID keyboard and touch screen

2016-06-13 Thread Jianxun Zhang
> On Jun 13, 2016, at 8:25 AM, Saul Wold <s...@linux.intel.com> wrote: > > On Fri, 2016-06-10 at 13:17 -0700, Jianxun Zhang wrote: >> The new machconfig probes USB keyboard and touch screen, and >> then sets HAVE_* variables according to detection. >> >> D

[meta-intel] [PATCH V4 1/1] formfactor: detect USB HID keyboard and touch screen

2016-06-23 Thread Jianxun Zhang
support once such device emerges. Some platforms may have _virtual_ devices provided by BIOS. It will cause false detection when they are presented as types we supported. We can add black list logic when it becomes a big concern. Fixes [YOCTO #9205] Signed-off-by: Jianxun Zhang <jianxun

[meta-intel] [PATCH v2] efilinux: update 1.0 -> 1.1

2016-01-27 Thread Jianxun Zhang
This change updates efilinux to release 1.1. 1.1 release changed license from 3-clause BSD to 2-clause BSD. License checking in new recipe is updated accordingly. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- V2: Revised commit msg. common/recipes-bsp/efilinux/{efilin

[meta-intel] [PATCH v2 2/2] libva-intel-driver: Update to 1.6.2

2016-01-21 Thread Jianxun Zhang
This update is a part of the 2015 Q4 Graphics Update. The original release note can be found at: https://01.org/linuxgraphics/downloads/2015q4-intel-graphics-stack-release Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{libva-intel-driver_1.6.1.bb => li

[meta-intel] [PATCH] gstreamer-vaapi: Update install-tests.patch

2016-01-22 Thread Jianxun Zhang
This patch is not built by default and should be for test purpose only. It was based on 0.5.x, but cannot be compiled successfully once added in the current 0.6.1 recipe. This change fixes the compiling error so that we can use it on 0.6.1. Signed-off-by: Jianxun Zhang <jianxun

[meta-intel] [PATCH] gstreamer-vaapi: Update 0.6.1-> 0.7.0

2016-01-25 Thread Jianxun Zhang
0001-libs-remove-unneeded-headers.patch is not required by new version. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../gstreamer/gstreamer-vaapi-1.0_0.6.1.bb | 8 --- .../gstreamer/gstreamer-vaapi-1.0_0.7.0.bb | 6 +++ .../0001-libs-remove-un

Re: [meta-intel] [PATCH] gstreamer-vaapi: Update 0.6.1-> 0.7.0

2016-01-25 Thread Jianxun Zhang
On 01/25/2016 03:01 PM, Burton, Ross wrote: On 25 January 2016 at 22:48, Saul Wold > wrote: Please use git mv instead of deleting and creating update recipes, that way we preserve the history. Actually git doesn't track moves, only

[meta-intel] [PATCH 1/3] libva: update 1.6.2 -> 1.7.0

2016-03-18 Thread Jianxun Zhang
Update libva to the latest release package. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-multimedia/libva/{libva_1.6.2.bb => libva_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename common/recipes-multimedia/libva/{libva

[meta-intel] [PATCH 2/3] libva-intel-driver: update 1.6.2 -> 1.7.0

2016-03-18 Thread Jianxun Zhang
Update libva-intel-driver to the latest release package. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{libva-intel-driver_1.6.2.bb => libva-intel-driver_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename common/recipes-multimedia/lib

[meta-intel] Update some recipes in meta-intel/common

2016-03-19 Thread Jianxun Zhang
I haven't figured out how to launch auto-test suite the way it is supposed to be for intel-gpu-tool on target (via a script as entry). If anyone could let me know the correct way and proper test coverage, I will do it and update commit msg for intel-gpu-tool patch. Refer to its commit msg for test

[meta-intel] [PATCH 3/3] intel-gpu-tools: update 1.13 -> 1.14

2016-03-19 Thread Jianxun Zhang
plications. There are some failures from test, but I think they are not related to this update. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{intel-gpu-tools_1.13.bb => intel-gpu-tools_1.14.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) re

Re: [meta-intel] Update some recipes in meta-intel/common

2016-03-21 Thread Jianxun Zhang
On 03/20/2016 11:05 AM, Saul Wold wrote: On Fri, 2016-03-18 at 18:21 -0700, Jianxun Zhang wrote: I haven't figured out how to launch auto-test suite the way it is supposed to be for intel-gpu-tool on target (via a script as entry). If anyone could let me know the correct way and proper test

[meta-intel] [v2] Update some recipes in meta-intel/common

2016-03-21 Thread Jianxun Zhang
Hi Saul, I have amended commit msg in v2 3/3 to address your comment for change in license of intel-gpu-tools. Please also refer to my investigation on IGT test and result at https://bugzilla.yoctoproject.org/show_bug.cgi?id=9292 Thanks -- ___

[meta-intel] [PATCH v2 2/3] libva-intel-driver: update 1.6.2 -> 1.7.0

2016-03-21 Thread Jianxun Zhang
Update libva-intel-driver to the latest release package. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{libva-intel-driver_1.6.2.bb => libva-intel-driver_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename common/recipes-multimedia/lib

[meta-intel] [PATCH v2 1/3] libva: update 1.6.2 -> 1.7.0

2016-03-21 Thread Jianxun Zhang
Update libva to the latest release package. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-multimedia/libva/{libva_1.6.2.bb => libva_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename common/recipes-multimedia/libva/{libva

[meta-intel] [PATCH v2 3/3] intel-gpu-tools: update 1.13 -> 1.14

2016-03-21 Thread Jianxun Zhang
ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. bz9292 Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{intel-gpu-tools_1.13.bb => intel-gpu-tools_1.14.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename comm

Re: [meta-intel] [PATCH v2 3/3] intel-gpu-tools: update 1.13 -> 1.14

2016-03-22 Thread Jianxun Zhang
On 03/22/2016 10:06 AM, Flanagan, Elizabeth wrote: On 22 March 2016 at 15:51, Saul Wold <saul.w...@intel.com> wrote: On Mon, 2016-03-21 at 17:40 -0700, Jianxun Zhang wrote: Content of COPYING is changed (refer to diff). Checksum of license is updated accordingly. Refer to yocto bu

[meta-intel] [PATCH v3 2/3] libva-intel-driver: update 1.6.2 -> 1.7.0

2016-03-22 Thread Jianxun Zhang
Update libva-intel-driver to the latest release package. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{libva-intel-driver_1.6.2.bb => libva-intel-driver_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename common/recipes-multimedia/lib

[meta-intel] [v3] Update some recipes in meta-intel/common

2016-03-22 Thread Jianxun Zhang
This v3 patch series tries to address new license change properly. I just did an incremental build to test compiling without actual test in previous submissions, assuming the license change in V3 irrelevant with these further steps. -- ___ meta-intel

[meta-intel] [PATCH v3 3/3] intel-gpu-tools: update 1.13 -> 1.14

2016-03-22 Thread Jianxun Zhang
A new ISC section was added into COPYING when some new code under ISC license was imported into the project (ef724ab2bb). Checksum of license is updated accordingly. bz9292 Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{intel-gpu-tools_1.13.bb => intel-gpu-tool

[meta-intel] [PATCH] README: Update build procedure for intel-quark

2016-04-21 Thread Jianxun Zhang
Add more detailed info and steps to build quark, also with minor indentation and styling fixes. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- README | 39 +-- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/README b/

[meta-intel] [PATCH] formfactor: detect USB HID keyboard and touch screen

2016-04-15 Thread Jianxun Zhang
support once such device emerges. Some platforms may have _virtual_ devices provided by BIOS. It will cause false detection when they are presented as types we supported. We can add black list logic when it becomes a big concern. Fixes [YOCTO #9205] Signed-off-by: Jianxun Zhang <jianxun

[meta-intel] [PATCH 2/2] quark: Support direct-boot image for USB storage media

2016-07-26 Thread Jianxun Zhang
Add a new wks file for quark based on the existing mkgalileodisk.wks with necessary changes. () specify sda for partitions and rootwait for USB in new wks. () Rename the original wks file and amend its description () Update README accordingly Signed-off-by: Jianxun Zhang <jianxun

[meta-intel] [PATCH 1/2] quark: switch gummiboot to systemd-boot

2016-07-26 Thread Jianxun Zhang
for quark, this change does it. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- conf/machine/intel-quark.conf| 2 +- scripts/lib/wic/canned-wks/mkgalileodisk.wks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/intel-quark.con

Re: [meta-intel] [PATCH 0/6] Runtime Machine Configuration and Distro

2016-07-13 Thread Jianxun Zhang
> On Jul 13, 2016, at 7:33 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/12/2016 12:59 PM, Jianxun Zhang wrote: >> This patch seriese introduces new RMC project and RMC distro that's >> developped based on RMC. >> >> The test is done on s

Re: [meta-intel] [PATCH 0/6] Runtime Machine Configuration and Distro

2016-07-13 Thread Jianxun Zhang
> On Jul 13, 2016, at 7:38 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/12/2016 06:06 PM, Saul Wold wrote: >> On Tue, 2016-07-12 at 10:59 -0700, Jianxun Zhang wrote: >>> This patch seriese introduces new RMC project and RMC distro that

Re: [meta-intel] [PATCH 0/6] Runtime Machine Configuration and Distro

2016-07-12 Thread Jianxun Zhang
.0-r0/temp/log.do_fetch.1274 >> ERROR: Task >> /usr/local/dev/yocto/rmc-test/meta-intel/common/recipes- >> bsp/rmc/rmc.bb:do_fetch >> (/usr/local/dev/yocto/rmc-test/meta-intel/common/recipes- >> bsp/rmc/rmc.bb:do_fetch) >> failed with exit code '1' >>

Re: [meta-intel] [PATCH 6/6] rmc: document and examples for rmc distro feature

2016-07-14 Thread Jianxun Zhang
> On Jul 14, 2016, at 6:05 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/14/2016 01:34 AM, Jianxun Zhang wrote: >> >>> On Jul 13, 2016, at 3:43 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 9:08 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 03:37 AM, Jianxun Zhang wrote: >> V3 addresses feedbacks for V2, also includes other fixes: >> >> () Explicitly tell user overriding is a temporary solution

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 11:37 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > Hi Jianxun, > > On 07/21/2016 03:37 AM, Jianxun Zhang wrote: >> V3 addresses feedbacks for V2, also includes other fixes: >> >> () Explicitly tell user overr

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-22 Thread Jianxun Zhang
> On Jul 22, 2016, at 9:45 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/22/2016 12:12 AM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 8:13 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 1:07 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 02:22 PM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 11:37 AM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> H

Re: [meta-intel] [PATCHv3 6/6] rmc: document and examples for RMC feature

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 3:41 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 03:37 AM, Jianxun Zhang wrote: >> Provide a README for RMC feature. Also check in fingerprints and >> configuration data for several boards as examples for users. >>

[meta-intel] [PATCHv4 4/6] EFI installer: deploy board-specific data and kernel cmdline

2016-07-22 Thread Jianxun Zhang
OE: ./recipes-core/initrdscripts/files/init-install-efi.sh: (OE-Core rev: 031c2f6ced917a81b4f39dca371773d0275ddf73) Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../initrdscripts/files/init-install-efi.sh| 326 + .../initramfs-live-instal

[meta-intel] [PATCHv4 5/6] rmc: add recipe and bbclass for RMC feature

2016-07-22 Thread Jianxun Zhang
_DATA_DIRS is the interface to developers. How-to information will be provided with examples in following patches. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- classes/rmc-systemd-boot.bbclass | 12 ++ common/recipes-bsp/rmc/rmc-db.bb | 48 ++

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-22 Thread Jianxun Zhang
> On Jul 22, 2016, at 10:55 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/22/2016 12:17 PM, Jianxun Zhang wrote: >> >>> On Jul 22, 2016, at 9:45 AM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

[meta-intel] [PATCHv4 6/6] rmc: document and examples for RMC feature

2016-07-22 Thread Jianxun Zhang
Provide a README for RMC feature. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation too. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../rmc/boards/T100-32bit/BOOTENTRY.CONFIG | 2 + .

[meta-intel] [PATCHv4 0/6] Add Runtime Machine Configuration (RMC)

2016-07-22 Thread Jianxun Zhang
is enabled. () Anything from previous series I missed here. Jianxun Zhang (6): rmc: Add Runtime Machine Configuration (RMC) project gnu-efi: Add GUID for SMBIOS 3 entry point structure systemd-boot: load board-specific entry and kernel cmdline EFI installer: deploy board-specific data

Re: [meta-intel] [PATCHv3 4/6] EFI installer: deploy board-specific data and kernel cmdline

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 4:21 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 03:37 AM, Jianxun Zhang wrote: >> Extend the existing init-install-efi.sh in OE to call RMC tool >> so that it can deploy file blobs and a global kernel cmdline >>

Re: [meta-intel] [PATCHv3 1/6] rmc: Add Runtime Machine Configuration (RMC) project

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 3:35 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 03:37 AM, Jianxun Zhang wrote: >> RMC recipe fetch RMC project and build it more than once in >> build time: >> >> RMC tool is built for host architecture

Re: [meta-intel] [PATCHv3 6/6] rmc: document and examples for RMC feature

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 4:14 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 06:02 PM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 3:41 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 2:50 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 04:35 PM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 1:07 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

Re: [meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 8:13 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 08:05 PM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 2:50 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

Re: [meta-intel] [PATCHv3 6/6] rmc: document and examples for RMC feature

2016-07-21 Thread Jianxun Zhang
> On Jul 21, 2016, at 4:39 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/21/2016 06:33 PM, Jianxun Zhang wrote: >> >>> On Jul 21, 2016, at 4:14 PM, Tom Zanussi <tom.zanu...@linux.intel.com> >>> wrote: >>> >>> On

[meta-intel] [PATCHv5 0/1] Runtime Machine Configuration (RMC)

2016-08-02 Thread Jianxun Zhang
Hi Saul, Tom & others, This is the V5 submission of RMC work which squashed top commit of V4.5, also with some minor adjustments in rmc README file and commit messages. http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-contrib/log/?h=jxzhang/rmc-submission-V5

[meta-intel] [PATCHv4.5 0/1] Runtime Machine Configuration (RMC)

2016-08-02 Thread Jianxun Zhang
Tom, Saul and others, I don’t call this RMC patch series V5 because I am not sure if we are okay to roll these into main submission, also assuming it could be easier for reviewers to get real deltas from V4.

Re: [meta-intel] [PATCHv4.5 0/1] Runtime Machine Configuration (RMC)

2016-08-02 Thread Jianxun Zhang
to commit msgs for details. Apologize for the previous spam. > On Aug 2, 2016, at 3:03 PM, Jianxun Zhang <jianxun.zh...@linux.intel.com> > wrote: > > Tom, Saul and others, > > I don’t call this RMC patch series V5 because I am not sure if we are okay to > roll these

[meta-intel] [PATCHv5 01/10] rmc: Add Runtime Machine Configuration (RMC) project

2016-08-03 Thread Jianxun Zhang
mc.inc @@ -15,7 +15,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=bcdd376d27b26bde6afadd67aa3c8b07" -SRC_URI = "git://g...@git.yoctoproject.org/rmc;protocol=ssh" +SRC_URI = "git://git.yoctoproject.org/rmc" ... --

[meta-intel] [PATCHv5 06/10] rmc: document and examples for RMC feature

2016-08-03 Thread Jianxun Zhang
Provide a README for RMC feature. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation too. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../rmc/boards/T100-32bit/BOOTENTRY.CONFIG | 2 + .

[meta-intel] [PATCHv5 08/10] rmc: support post-installation hook POSTINSTALL.sh

2016-08-03 Thread Jianxun Zhang
system bootable still happen after this hook. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-core/initrdscripts/files/init-install-efi.sh | 8 1 file changed, 8 insertions(+) diff --git a/common/recipes-core/initrdscripts/files/init-install-efi

[meta-intel] [PATCHv5 00/10] Runtime Machine Configuration (RMC)

2016-08-03 Thread Jianxun Zhang
Feel free to let me know any- thing out of sync... Jianxun Zhang (10): rmc: Add Runtime Machine Configuration (RMC) project gnu-efi: Add GUID for SMBIOS 3 entry point structure systemd-boot: load board-specific entry and kernel cmdline EFI installer: deploy board-specific data and ke

[meta-intel] [PATCHv5 02/10] gnu-efi: Add GUID for SMBIOS 3 entry point structure

2016-08-03 Thread Jianxun Zhang
UEFI spec has different GUIDs for 32 and 64 bit SMBIOS entry point structure. This change adds definition for 64 bit GUID, so that software linked with gnu-efi can have it for x86_64 architecture. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- ...d-GUID-for-SMBIOS-3-entry

[meta-intel] [PATCHv5 03/10] systemd-boot: load board-specific entry and kernel cmdline

2016-08-03 Thread Jianxun Zhang
of kernel command line before it boots up kernel. The appending is effective on every boot entry, so it is called "global" cmdline fragment. When Bootloader doesn't get config, an entry or cmdline fragment for the type of board, it simply moves to the next step. Signed-off-by: Jia

[meta-intel] [PATCHv5 05/10] rmc: add recipe and bbclass for RMC feature

2016-08-03 Thread Jianxun Zhang
of new boards, a new variable RMC_BOARD_DATA_DIRS is the interface to developers. How-to information will be provided with examples in following patches. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- classes/rmc-systemd-boot.bbclass | 12 ++ common/reci

[meta-intel] [PATCHv5 04/10] EFI installer: deploy board-specific data and kernel cmdline

2016-08-03 Thread Jianxun Zhang
OE: ./recipes-core/initrdscripts/files/init-install-efi.sh: (OE-Core rev: 031c2f6ced917a81b4f39dca371773d0275ddf73) Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../initrdscripts/files/init-install-efi.sh| 326 + .../initramfs-live-instal

Re: [meta-intel] [PATCH 0/6] Runtime Machine Configuration and Distro

2016-07-12 Thread Jianxun Zhang
mc/1.0-r0/temp/log.do_fetch.1274 >> ERROR: Task >> /usr/local/dev/yocto/rmc-test/meta-intel/common/recipes-bsp/rmc/rmc.bb:do_fetch >> (/usr/local/dev/yocto/rmc-test/meta-intel/common/recipes-bsp/rmc/rmc.bb:do_fetch) >> failed with exit code '1' >> NOTE: Tasks Summary:

Re: [meta-intel] [PATCH 5/6] rmc: add recipe and bbclass for feature "rmc distro"

2016-07-12 Thread Jianxun Zhang
> On Jul 12, 2016, at 5:21 PM, Saul Wold <saul.w...@intel.com> wrote: > > On Tue, 2016-07-12 at 16:53 -0700, Jianxun Zhang wrote: >>> >>> On Jul 12, 2016, at 4:29 PM, Saul Wold <saul.w...@intel.com> wrote: >>> >>> On Tue, 2016-07-12 at 1

Re: [meta-intel] [PATCH 5/6] rmc: add recipe and bbclass for feature "rmc distro"

2016-07-12 Thread Jianxun Zhang
> On Jul 12, 2016, at 4:29 PM, Saul Wold <saul.w...@intel.com> wrote: > > On Tue, 2016-07-12 at 10:59 -0700, Jianxun Zhang wrote: >> The new added recipe and bbclass put modified systemd-boot, >> EFI installer and rmc work together to enable a single >>

Re: [meta-intel] [PATCH 6/6] rmc: document and examples for rmc distro feature

2016-07-13 Thread Jianxun Zhang
the documentation in the recipes that doesn't > specifically talk about the recipe details should be a subset of what's > here, I think. > Thanks lot. Tom. I will move around information in V2. > On 07/12/2016 12:59 PM, Jianxun Zhang wrote: >> Provide a README.rmc.distro for rmc-d

Re: [meta-intel] [PATCH 6/6] rmc: document and examples for rmc distro feature

2016-07-14 Thread Jianxun Zhang
> On Jul 13, 2016, at 3:43 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/13/2016 04:21 PM, Jianxun Zhang wrote: >> > > [...] > >>>> + >>>> + >>>> +Enable >>>> +-

[meta-intel] [PATCHv3 3/6] systemd-boot: load board-specific entry and kernel cmdline

2016-07-21 Thread Jianxun Zhang
s. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../recipes-bsp/systemd-boot/systemd-boot.bbappend | 20 ++ ...d-boot-Link-RMC-libraries-into-bootloader.patch | 31 +++ ...d-board-specific-boot-entries-from-RMC-da.patch | 241 + ...pport-global-ker

[meta-intel] [PATCHv3 1/6] rmc: Add Runtime Machine Configuration (RMC) project

2016-07-21 Thread Jianxun Zhang
mc.inc @@ -15,7 +15,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=bcdd376d27b26bde6afadd67aa3c8b07" -SRC_URI = "git://g...@git.yoctoproject.org/rmc;protocol=ssh" +SRC_URI = "git://git.yoctoproject.org/rmc" ... --

[meta-intel] [PATCHv3 0/6] Runtime Machine Configuration (RMC)

2016-07-21 Thread Jianxun Zhang
() patches have been squashed () Now any new change of files in a board dir can be effective with a rebuild. () removing tmp dir in build won't cause build issue. (it is uncesesary either) () amend commit messages () amend installation logic in database recipe Jianxun Zhang (6): rmc: Add Runtime

[meta-intel] [PATCHv3 4/6] EFI installer: deploy board-specific data and kernel cmdline

2016-07-21 Thread Jianxun Zhang
installer script in OE meta: ./recipes-core/initrdscripts/files/init-install-efi.sh (1f2a01b02e9e175cad4cf05b3ff7430bba232eb6) Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../initrdscripts/files/init-install-efi.sh| 315 + .../initramfs-live-instal

[meta-intel] [PATCHv3 5/6] rmc: add recipe and bbclass for RMC feature

2016-07-21 Thread Jianxun Zhang
_DATA_DIRS is the interface to developers. How-to information will be provided with examples in following patches. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- classes/rmc-systemd-boot.bbclass | 12 +++ common/recipes-bsp/rmc/rmc-db.bb | 46 ++

[meta-intel] [PATCHv3 2/6] gnu-efi: Add GUID for SMBIOS 3 entry point structure

2016-07-21 Thread Jianxun Zhang
UEFI spec has different GUIDs for 32 and 64 bit SMBIOS entry point structure. This change adds definition for 64 bit GUID, so that software linked with gnu-efi can have it for x86_64 architecture. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- ...d-GUID-for-SMBIOS-3-entry

[meta-intel] [PATCHv2 6/7] rmc: document and examples for RMC feature

2016-07-18 Thread Jianxun Zhang
Provide a README.rmc for RMC feature in a new directory "documentation", also move other README files in top directory there. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation too. Signed-off-by: Jianxun Zhang &

[meta-intel] [PATCHv2 3/7] systemd-boot: load board-specific entry and kernel cmdline

2016-07-18 Thread Jianxun Zhang
s. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../recipes-bsp/systemd-boot/systemd-boot.bbappend | 20 ++ ...d-boot-Link-RMC-libraries-into-bootloader.patch | 31 +++ ...d-board-specific-boot-entries-from-RMC-da.patch | 241 + ...pport-global-ker

[meta-intel] [PATCHv2 1/7] rmc: Add Runtime Machine Configuration (RMC) project

2016-07-18 Thread Jianxun Zhang
mc.inc @@ -15,7 +15,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=bcdd376d27b26bde6afadd67aa3c8b07" -SRC_URI = "git://g...@git.yoctoproject.org/rmc;protocol=ssh" +SRC_URI = "git://git.yoctoproject.org/rmc" ... --

[meta-intel] [PATCHv2 2/7] gnu-efi: Add GUID for SMBIOS 3 entry point structure

2016-07-18 Thread Jianxun Zhang
UEFI spec has different GUIDs for 32 and 64 bit SMBIOS entry point structure. This change adds definition for 64 bit GUID, so that software linked with gnu-efi can have it for x86_64 architecture. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- ...d-GUID-for-SMBIOS-3-entry

[meta-intel] [PATCHv2 7/7] rmc: Use DISTRO_FEATURES as feature switch

2016-07-18 Thread Jianxun Zhang
in systemd-boot, gnu-efi and EFI installer are not effective in build unless the feature is enabled. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- conf/layer.conf | 16 documentation/README.rmc | 5 - 2 files changed, 20 insertions(+), 1 d

[meta-intel] [PATCHv2 5/7] rmc: add recipe and bbclass for RMC feature

2016-07-18 Thread Jianxun Zhang
esult from installing a conventional image customized for a single type of hardware. To add support of new boards, a new variable RMC_DISTRO_BOARD_DIRS is the interface to developers. How-to information will be provided with examples in following patches. Signed-off-by: Jianxun Zhang &

Re: [meta-intel] [PATCHv2 7/7] rmc: Use DISTRO_FEATURES as feature switch

2016-07-19 Thread Jianxun Zhang
> On Jul 19, 2016, at 11:07 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 07/18/2016 08:00 PM, Jianxun Zhang wrote: >> From: Saul Wold <s...@linux.intel.com> >> >> This refactoring is based on Saul Wold's initial attempt >> to have a mo

[meta-intel] [PATCH 6/6] rmc: document and examples for rmc distro feature

2016-07-12 Thread Jianxun Zhang
Provide a README.rmc.distro for rmc-distro. Also check in fingerprints and configuration data for several boards as examples for users. They can be used for validation too. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- README.rmc.distro

[meta-intel] [PATCH 4/6] EFI installer: deploy board-specific data and kernel cmdline

2016-07-12 Thread Jianxun Zhang
installer script in OE meta: ./recipes-core/initrdscripts/files/init-install-efi.sh (1f2a01b02e9e175cad4cf05b3ff7430bba232eb6) Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../initrdscripts/files/init-install-efi.sh| 315 + .../initramfs-live-instal

[meta-intel] [PATCH 5/6] rmc: add recipe and bbclass for feature "rmc distro"

2016-07-12 Thread Jianxun Zhang
just same as the result from installing a conventional image customized for a single type of hardware. To add support of new boards, a new variable RMC_DISTRO_BOARD_DIRS is the interface to developers. How-to information will be provided with examples in following patches. Signed-off-by: Jianxun Zhang &

[meta-intel] [PATCH 1/6] rmc: Add Runtime Machine Configuration (RMC) project

2016-07-12 Thread Jianxun Zhang
user space until we have a new client needs it. The rmc-native.bbclass provides functions to generate rmc database file for other software components to reuse. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- classes/rmc-native.bbclass

[meta-intel] [PATCH 0/6] Runtime Machine Configuration and Distro

2016-07-12 Thread Jianxun Zhang
ld confuse users when both of install and "RMC install" options show up on the board. Jianxun Zhang (6): rmc: Add Runtime Machine Configuration (RMC) project gnu-efi: Add GUID for SMBIOS 3 entry point structure systemd-boot: load board-specific entry and kernel cmdline EFI ins

[meta-intel] [PATCH 3/6] systemd-boot: load board-specific entry and kernel cmdline

2016-07-12 Thread Jianxun Zhang
s. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../recipes-bsp/systemd-boot/systemd-boot.bbappend | 20 ++ ...d-boot-Link-RMC-libraries-into-bootloader.patch | 29 +++ ...d-board-specific-boot-entries-from-RMC-da.patch | 239 + ...pport-global-ker

[meta-intel] [PATCH 2/6] gnu-efi: Add GUID for SMBIOS 3 entry point structure

2016-07-12 Thread Jianxun Zhang
UEFI spec has different GUIDs for 32 and 64 bit SMBIOS entry point structure. This change adds definition for 64 bit GUID, so that software linked with gnu-efi can have it for x86_64 architecture. Upstream-Status: Pending Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> ---

[meta-intel] [PATCH] lms7: Fix compiling error with GCC 6

2016-06-28 Thread Jianxun Zhang
This change is ported from 6dc37464 which fixes lms8. Fixes [YOCTO #9785] Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- Note: Very limited test was done before submission. Only compiling against lms7 is tested. Let me know if any more test is expected. Thanks common/r

[meta-intel] [PATCH V2 1/1] lms7: Add patch to fix gcc6 C++ whitespace

2016-06-28 Thread Jianxun Zhang
cause by the newer C++11 standard being enabled in GCC6 that requires additional whitespace around User-Defined literals. [YOCTO #9640] Signed-off-by: Saul Wold <s...@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanu...@linux.intel.com> Fixes [YOCTO #9785] Sign

Re: [meta-intel] [PATCHv5 00/10] Runtime Machine Configuration (RMC)

2016-08-04 Thread Jianxun Zhang
> On Aug 4, 2016, at 7:31 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 08/03/2016 07:49 PM, Jianxun Zhang wrote: >> >>> On Aug 3, 2016, at 4:15 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: >>> >>> Hi Jianxun, >>

Re: [meta-intel] [PATCHv5 00/10] Runtime Machine Configuration (RMC)

2016-08-04 Thread Jianxun Zhang
> On Aug 4, 2016, at 3:55 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 08/04/2016 05:41 PM, Jianxun Zhang wrote: >> >>> On Aug 4, 2016, at 2:26 PM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: >>> >>> On 08/04/2016 04:

Re: [meta-intel] [PATCHv5 06/10] rmc: document and examples for RMC feature

2016-08-04 Thread Jianxun Zhang
> On Aug 4, 2016, at 10:45 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > On 08/04/2016 12:39 PM, Jianxun Zhang wrote: >> >>> On Aug 4, 2016, at 7:43 AM, Tom Zanussi <tom.zanu...@linux.intel.com> wrote: >>> >>> On 08/03/201

Re: [meta-intel] [PATCH 1/3] Makefile: add verbosity and debug options to Makefile

2017-02-06 Thread Jianxun Zhang
ke debug > > Signed-off-by: Todor Minchev <todor.minc...@linux.intel.com> > --- > Makefile | 31 +-- > 1 file changed, 21 insertions(+), 10 deletions(-) > > diff --git a/Makefile b/Makefile > index 9ade775..d85d8e9 100644 > --- a/Makefi

Re: [meta-intel] [PATCH 2/3] rmc: Enable reading the contents of an existing fingerprint file

2017-02-06 Thread Jianxun Zhang
Tudor, Please refer to my 3 inline comments. > On Feb 2, 2017, at 2:37 PM, Todor Minchev > wrote: > > The contents of an existing fingerprint file can be read and output on > the command line with the following options: > > ./rmc -F -i input_fingerprint_file

Re: [meta-intel] [PATCH 2/2] rmc: add Minnowboard Turbot board data

2017-02-06 Thread Jianxun Zhang
Reviewed +1 Thanks! > On Jan 27, 2017, at 5:36 AM, Mikko Ylinen wrote: > > To be able to detect a Minnowboard Turbot, its fingerprint > is needed in the RMC database. > > This initial commit adds the fingerprint and a simple cmdline > entry (KBOOTPARAM) for the board.

Re: [meta-intel] [PATCH 3/3] rmc: add database extraction functionality

2017-02-06 Thread Jianxun Zhang
Todor, Nice change overall. I haven’t run any test and just share multiple (11) inline comments for this patch. This should be the last one in the series. Please let me know if I missed any other RMC patches for review. I plan to run rmc internal test once we have an updated patch set. We

Re: [meta-intel] [PATCH 2/3] rmc: Enable reading the contents of an existing fingerprint file

2017-02-06 Thread Jianxun Zhang
> On Feb 6, 2017, at 2:28 PM, Todor Minchev <todor.minc...@linux.intel.com> > wrote: > > On Mon, 2017-02-06 at 12:01 -0800, Jianxun Zhang wrote: >> Tudor, >> Please refer to my 3 inline comments. >> >>> On Feb 2, 2017, at 2:37 PM, Todor Minch

Re: [meta-intel] [PATCH 1/2] systemd-boot: use RMC database in EFI stub

2017-02-05 Thread Jianxun Zhang
I noticed there are several RMC patches in mailing list and should review them tomorrow. (Just returned from a vacation) Refer to my initial comment for Saul’s. Appreciate Mikko going through the following up when I was off. > On Feb 2, 2017, at 12:46 PM, Ylinen, Mikko

Re: [meta-intel] [PATCH v2 1/5] Makefile: disable silent mode in Makefiles

2017-02-10 Thread Jianxun Zhang
Review +1, Thanks to address my comment > On Feb 9, 2017, at 11:17 AM, Todor Minchev > wrote: > > By default make will output the commands that are executed for each > target. Silent mode can be enabled with the '-s' option. > > Example: > make -s > >

Re: [meta-intel] [PATCH v2 2/5] Makefile: add debug target

2017-02-10 Thread Jianxun Zhang
> On Feb 9, 2017, at 11:17 AM, Todor Minchev > wrote: > > A debug version of the rmc binary can be built by using the debug > Makefile target. This will include debug symbols and will disable > compiler optimizations. > > Example: > > make debug > >

Re: [meta-intel] [PATCH v2 3/5] rmc: Enable reading the contents of an existing fingerprint file

2017-02-10 Thread Jianxun Zhang
> On Feb 9, 2017, at 11:17 AM, Todor Minchev > wrote: > > The contents of an existing fingerprint file can be read and output on > the command line with the following options: > > rmc -E -f input_fingerprint_file > > Signed-off-by: Todor Minchev

Re: [meta-intel] [PATCH v2 4/5] rmc: remove unnecessary return variable

2017-02-10 Thread Jianxun Zhang
Nice. Review +1 > On Feb 9, 2017, at 11:17 AM, Todor Minchev > wrote: > > Signed-off-by: Todor Minchev > --- > src/rmc.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/src/rmc.c b/src/rmc.c > index

  1   2   >