Re: [meta-intel] [PATCH 2/2] rmc-db: LICENSE is straight MIT so just use common-license/MIT

2017-02-28 Thread Jianxun Zhang
Review +1 Thanks, Saul. I hesitated when deciding which MIT copy is for MIT, but my decision was poor… > On Feb 28, 2017, at 1:12 PM, Saul Wold wrote: > > The OE-Core LICENSE is mostly MIT, but should not be used as a checksum > file for a purely MIT licensed package.

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

2017-02-10 Thread Jianxun Zhang
Todor, Appreciate the V2 series. I have only one real concern on using system() in this patch and the whole series. The other comments are more for corner cases which have less impact. I could miss some of your feedbacks in V1 threads. Sorry for not to point out things earlier before the V2.

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

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 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 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 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 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
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 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/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 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

[meta-intel] [PATCH] systemd-boot: update 230 -> 232

2017-01-18 Thread Jianxun Zhang
This change updates the locked systemd-boot revision to v232 release which is the current in OE. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- Pre-submission RMC test passed on these boards: Live boot (hddimg) Nuc gen 6 Broxton-M Gelileo gen 2 (quark) T100TA (32 bit) Mi

Re: [meta-intel] [PATCH] rmc: remove stack-protector-strong from CFLAGS

2016-12-05 Thread Jianxun Zhang
> On Dec 2, 2016, at 2:19 PM, Saul Wold wrote: > > Since the rmc is used standalone from systemd-boot and does not > use libc which provides the stack_chk_fail code that causes an > undefined symbol > > Signed-off-by: Saul Wold > --- >

[meta-intel] [PATCH 1/2] rmc: integration update

2016-11-28 Thread Jianxun Zhang
.) Fixes [YOCTO #10086] Fixes [YOCTO #10671] Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- For 10671 I believe I have fixed compiling issue with musl at my side. Please let me know if the orginal reporter still see the issue. (Alejandro Hernandez) Thanks common/recipes-b

[meta-intel] [PATCH 2/2] gnu-efi: removed from meta-intel

2016-11-28 Thread Jianxun Zhang
see any urgency to keep it in meta-intel any more. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- ...d-GUID-for-SMBIOS-3-entry-point-structure.patch | 32 -- common/recipes-bsp/gnu-efi/gnu-efi_%.bbappend | 3 -- 2 files changed, 35 deletions(-)

[meta-intel] [PATCH 0/2] RMC: update

2016-11-28 Thread Jianxun Zhang
This work is to update rmc and other components in meta-intel to reflect the latest changes happened in the upstream rmc project. Please refer to the commit messages and annotations for additional information. Jianxun Zhang (2): rmc: integration update gnu-efi: removed from meta-intel ...d

Re: [meta-intel] [PATCH] rmc: Fix compiling issue with musl

2016-11-14 Thread Jianxun Zhang
Saul, Please hold on reviewing this patch. I will try another way in rmc to fix it. Thanks > On Nov 14, 2016, at 2:38 PM, Jianxun Zhang <jianxun.zh...@linux.intel.com> > wrote: > > | src/rmcl/rmcl.c: In function 'query_policy_from_db': > | src/rmcl/rmcl.c:254:25: err

[meta-intel] [PATCH] rmc: Fix compiling issue with musl

2016-11-14 Thread Jianxun Zhang
| src/rmcl/rmcl.c: In function 'query_policy_from_db': | src/rmcl/rmcl.c:254:25: error: unknown type name 'ssize_t' | ssize_t cmd_name_len = strlen((char *)_db[policy_idx]) + 1; | ^~~~ The musl C lib provides ssize_t but we need to enable it with a macro. Signed-off-by: Jianxun Zhang

Re: [meta-intel] [PATCH] broxton-m/KBOOTPARAM: Add videofb console back

2016-11-09 Thread Jianxun Zhang
> On Nov 8, 2016, at 11:24 AM, Saul Wold wrote: > > This re-enables the video framebuffer for displaying cosole output > > Signed-off-by: Saul Wold > --- > common/recipes-bsp/rmc/boards/broxton-m/KBOOTPARAM | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [meta-intel] [PATCH] rmc: Limit them to x86 targets

2016-11-09 Thread Jianxun Zhang
Khem, I think it is appropriate to have this. BTW, what RMC is based on actually supports non-x86 arches but meta-intel team haven’t verified non-x86 boards. Thanks lot! > On Nov 8, 2016, at 8:39 AM, Khem Raj wrote: > > Makes meta-intel behave well in multi-BSP scene >

[meta-intel] [PATCH] quark: use UUID for rootfs

2016-10-31 Thread Jianxun Zhang
-- Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- scripts/lib/wic/canned-wks/galileodisk-sd.wks | 2 +- scripts/lib/wic/canned-wks/galileodisk-usb.wks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/wic/canned-wks/galileodisk-sd.

[meta-intel] [PATCH V2 3/4] quark: amend EFI Bootloader option

2016-10-19 Thread Jianxun Zhang
We cannot override the current EFI bootloader selection with another "EFI_PROVIDER=..." in a local.conf in a build/conf directory when it is specified by "=" syntax in the current conf file for quark. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- con

[meta-intel] [PATCH V2 2/4] README: Provide information for how to live-boot quark with hddimg

2016-10-19 Thread Jianxun Zhang
This change adds the procedure to boot quark with images in hddimg format. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- README | 11 +++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 772ac4e..777c66c 100644 --- a/README +++ b/README @@

[meta-intel] [PATCH V2 0/4] RMC support for quark(hddimg)

2016-10-19 Thread Jianxun Zhang
This V2 changed to use LABELS_LIVE instead of LABELS which always triggers a warning message in OE. We should either amend OE document to direct people to use _LIVE or _VM for LABELS or remove the warning message to just use LABELS nicely. Jianxun Zhang (4): quark: explicitly set boot entry

[meta-intel] [PATCH V2 4/4] rmc: Add example for Galileo Gen 2 (Quark)

2016-10-19 Thread Jianxun Zhang
Gen 2 board. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/Galileo2/boot.conf| 4 common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp | Bin 0 ->

[meta-intel] [PATCH V2 1/4] quark: explicitly set boot entry in bootloader

2016-10-19 Thread Jianxun Zhang
This is to get rid of "install" option when booting quark with an image in hddimg format. EFI installer doesn't work on quark at this point. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- conf/machine/intel-quark.conf | 9 + 1 file changed, 9 insertion

[meta-intel] [PATCH 4/4] rmc: Add example for Galileo Gen 2 (Quark)

2016-10-18 Thread Jianxun Zhang
Gen 2 board. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/Galileo2/boot.conf| 4 common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp | Bin 0 ->

[meta-intel] [PATCH 2/4] README: Provide information for how to live-boot quark with hddimg

2016-10-18 Thread Jianxun Zhang
This change adds the procedure to boot quark with images in hddimg format. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- README | 11 +++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 772ac4e..777c66c 100644 --- a/README +++ b/README @@

[meta-intel] [PATCH 1/4] quark: explicitly set boot entry in bootloader

2016-10-18 Thread Jianxun Zhang
This is to get rid of "install" option when booting quark with an image in hddimg format. EFI installer doesn't work on quark at this point. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- conf/machine/intel-quark.conf | 9 + 1 file changed, 9 insertion

[meta-intel] [PATCH 0/4] RMC support for quark (hddimg)

2016-10-18 Thread Jianxun Zhang
Resubmission including the two previous submitted series for hddimg support on quark and adding RMC example for Galileo. Aware of wks image has been enabled in meta-intel, I will make RMC support direct-boot in the next stage. Jianxun Zhang (4): quark: explicitly set boot entry in bootloader

[meta-intel] [PATCH 3/4] quark: amend EFI Bootloader option

2016-10-18 Thread Jianxun Zhang
We cannot override the current EFI bootloader selection with another "EFI_PROVIDER=..." in a local.conf in a build/conf directory when it is specified by "=" syntax in the current conf file for quark. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- con

[meta-intel] [PATCH 0/2] quark: live-boot with hddimg

2016-10-18 Thread Jianxun Zhang
Saul, This patch series is in parallel with the series of RMC support of quark submitted yesterday because this work is not rmc-specific in fact. But in case you meet conflicts when merging, feel free to let me know. Jianxun Zhang (2): quark: explicitly set boot entry in bootloader README

[meta-intel] [PATCH 1/2] quark: explicitly set boot entry in bootloader

2016-10-18 Thread Jianxun Zhang
This is to get rid of "install" option when booting quark with an image in hddimg format. EFI installer doesn't work on quark at this point. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- conf/machine/intel-quark.conf | 9 + 1 file changed, 9 insertion

[meta-intel] [PATCH 2/2] README: Provide information for how to live-boot quark with hddimg

2016-10-18 Thread Jianxun Zhang
This change adds the procedure to boot quark with images in hddimg format. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- README | 11 +++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 772ac4e..777c66c 100644 --- a/README +++ b/README @@

[meta-intel] [PATCH 1/2] quark: amend EFI Bootloader option

2016-10-17 Thread Jianxun Zhang
We cannot override the current EFI bootloader selection with another "EFI_PROVIDER=..." in a local.conf in a build/conf directory when it is specified by "=" syntax in the current conf file for quark. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- con

[meta-intel] [PATCH 2/2] rmc: Add example for Galileo Gen 2 (Quark)

2016-10-17 Thread Jianxun Zhang
Gen 2 board. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-bsp/rmc/boards/Galileo2/BOOTENTRY.CONFIG | 2 ++ common/recipes-bsp/rmc/boards/Galileo2/boot.conf| 4 common/recipes-bsp/rmc/boards/Galileo2/gallieo2.fp | Bin 0 -> 109 bytes

[meta-intel] [PATCH 0/2] RMC example for quark

2016-10-17 Thread Jianxun Zhang
Saul, I am a little surprised to see the first patch is necessary to override EFI_PROVIDER in a local.conf. And maybe we want to mention using hddimg on quark in README with another patch? Thanks Jianxun Zhang (2): quark: amend EFI Bootloader option rmc: Add example for Galileo Gen 2

[meta-intel] [PATCH][DO NOT MERGE] rmc: Add board data for NUC5i5RYB

2016-10-14 Thread Jianxun Zhang
in this patch to use cmdline in bootloader entry files to bypass whatever from the build. Once we have a clean base (no any preset console setting) in generic configurations, this change can be dropped. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- Saul, This is propo

[meta-intel] [PATCH] purge console settings in core2 and corei7 conf files

2016-10-14 Thread Jianxun Zhang
board-specific bits as a runtime solution. With either of two options available to developers, we purge these hardcoded default settings. We don't change quark config this time because of boards of this family are not so many as the other two. Signed-off-by: Jianxun Zhang <jianxun

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

2016-09-27 Thread Jianxun Zhang
This change updates libva-intel-driver to 1.7.2 which is in Intel graphic stack 2016 Q3 release. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{libva-intel-driver_1.7.0.bb => libva-intel-driver_1.7.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2

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

2016-09-27 Thread Jianxun Zhang
This change updates intel-gpu-tools to 1.16 which is in Intel graphic stack 2016 Q3 release. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- .../{intel-gpu-tools_1.14.bb => intel-gpu-tools_1.16.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[meta-intel] [PATCH 0/3] Update to 2016 Q3 Intel graphic release

2016-09-27 Thread Jianxun Zhang
This series updates several projects in meta-intel to the versions in Q3 graphic release. For other updated projects in OE this time, I only see cairo 1.14.6 is behind 1.15.2 in Q3. Kernel version is not included. Thanks Jianxun Zhang (3): intel-gpu-tools: update 1.14 -> 1.16 libva: upd

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

2016-09-26 Thread Jianxun Zhang
oticed this the first time, I have fixed it locally > this time. > > Thanks > Sau! > > On Mon, 2016-09-26 at 14:54 -0700, Jianxun Zhang wrote: >> This change updates intel-gpu-tools to 1.15 which is in Intel >> graphic stack 2016 Q2 release. >> >&

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

2016-09-26 Thread Jianxun Zhang
This change updates intel-gpu-tools to 1.15 which is in Intel graphic stack 2016 Q2 release. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- The V2 renames recipe file name as an OE standard practice. .../{intel-gpu-tools_1.14.bb => intel-gpu-tools_1.15.bb}

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

2016-09-26 Thread Jianxun Zhang
On Sep 11, 2016, at 1:17 PM, Paul Eggleton <paul.eggle...@linux.intel.com> wrote: > > Hi Jianxin, > > On Fri, 09 Sep 2016 10:50:50 Jianxun Zhang wrote: >>> On Sep 9, 2016, at 7:34 AM, Saul Wold <s...@linux.intel.com> wrote: >>> On Thu, 2016

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

2016-09-09 Thread Jianxun Zhang
> On Sep 9, 2016, at 7:34 AM, Saul Wold <s...@linux.intel.com> wrote: > > On Thu, 2016-09-08 at 17:02 -0700, Jianxun Zhang wrote: >> >> This change update intel-gpu-tools to 1.15 as a sync-up with >> Intel graphic stack 2016 Q2 release. >> >>

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

2016-09-08 Thread Jianxun Zhang
} 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 <jianxun.zh...@linux.intel.com> --- Rough test i

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

2016-09-06 Thread Jianxun Zhang
I just provide my comment in lines on console stuff from RMC perspective. Thanks > On Sep 6, 2016, at 11:21 AM, Cal Sullivan > wrote: > > > > On 09/06/2016 10:43 AM, Saul Wold wrote: >> On Mon, 2016-09-05 at 14:18 +0800, Rebecca Chang Swee Fun wrote: >>> We

[meta-intel] [PATCH 0/2] rmc: update revision

2016-08-30 Thread Jianxun Zhang
The first patch is necessary to build rmc with new revision becauase the upstream rmc project doesn't force static linking anymore. Basic test is done with rmc exampled in meta-intel. Thanks Jianxun Zhang (2): rmc: explicitly specify hash style for linker rmc: update revision of rmc project

[meta-intel] [PATCH 2/2] rmc: update revision of rmc project

2016-08-30 Thread Jianxun Zhang
rmc: fix wrong error message 7ee67a0 test: Provide test scripts and sample data Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-bsp/rmc/rmc.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/recipes-bsp/rmc/rmc.bb b/common/recipes-b

[meta-intel] [PATCH 1/2] rmc: explicitly specify hash style for linker

2016-08-30 Thread Jianxun Zhang
it fails QA checker for the default of hash style is sysv. To have some peace of mind, we specify "both" for hash style to linker this time. Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com> --- common/recipes-bsp/rmc/rmc.bb | 2 ++ 1 file changed, 2 insertions(+) dif

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 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 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

[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 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 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

[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 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 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 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 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

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] [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.

[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

[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 ++

[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 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 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

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 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

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 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 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 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 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 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. >>

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 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-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

[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 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 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 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] [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 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" ... --

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] [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 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 &

[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 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 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

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] [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 >>>> +-

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

  1   2   >