[yocto] Raspberry pi build with QT5 creator...... failing to compile.

2017-05-10 Thread Steve Plant
Hi all,


I'm currently attempting to build a raspberry pi image, which I can use to 
develop QT5 code for a beaglebone black.

Everything is going well and I have got toaster successfully compiling a 
rpi-sdimg of "rpi-basic-image" which I have added "xserver-xorg xinit openbox 
packagegroup-lxde-extended qtbase" to the IMAGE_INSTALL_append line.


However as soon as I add "qt5-creator" to the IMAGE_INSTALL_append line and run 
"rpi-basic-image" again, I get the following error...  Failed tasks - qtwayland 
do_compile  


I'm not sure why it is trying to compile qtwayland, is there a way I can 
override this???


I have attached the relevant error file. I'm new to all this Yocto world, so 
please explain everything in simple terms if you can.


Thanks for any help.


Regards, Steve.


log.do_compile.27031
Description: log.do_compile.27031
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-10 Thread Dengke Du
Changed in V5:
Let the subject more clear.

Changed in V4:
Make the comments more clear.
Changed in V3:
Rebase the patch on the latest master branch.

Delete the does not exist files when run task do_package.

Signed-off-by: Dengke Du 
---
 recipes-devtools/rpm/rpm_%.bbappend | 4 
 1 file changed, 4 deletions(-)

diff --git a/recipes-devtools/rpm/rpm_%.bbappend 
b/recipes-devtools/rpm/rpm_%.bbappend
index 199a7e4..9f3ec90 100644
--- a/recipes-devtools/rpm/rpm_%.bbappend
+++ b/recipes-devtools/rpm/rpm_%.bbappend
@@ -1,8 +1,4 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-FILES_${PN} += "${libdir}/rpm/bin/spooktool \
-${libdir}/rpm/bin/semodule \
-   "
-
 inherit with-selinux
 PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
-- 
2.8.1

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


[yocto] [PATCH V4] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-10 Thread Dengke Du
Changed in V4:
Make the comments more clear.
Changed in V3:
Rebase the patch on the latest master branch.

Delete the does not exist files when run task do_package.

Signed-off-by: Dengke Du 
---
 recipes-devtools/rpm/rpm_%.bbappend | 4 
 1 file changed, 4 deletions(-)

diff --git a/recipes-devtools/rpm/rpm_%.bbappend 
b/recipes-devtools/rpm/rpm_%.bbappend
index 199a7e4..9f3ec90 100644
--- a/recipes-devtools/rpm/rpm_%.bbappend
+++ b/recipes-devtools/rpm/rpm_%.bbappend
@@ -1,8 +1,4 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-FILES_${PN} += "${libdir}/rpm/bin/spooktool \
-${libdir}/rpm/bin/semodule \
-   "
-
 inherit with-selinux
 PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
-- 
2.8.1

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


Re: [yocto] Pre-compiling Python Byte Code

2017-05-10 Thread Chris Trobridge
Thanks Ross and Jussi,


python3native works in the short term and in the longer term I will look into 
distutils/setuptools.

Cheers,
Chris


From: Burton, Ross 
Sent: 05 May 2017 10:43
To: Chris Trobridge
Cc: Yocto List
Subject: Re: [yocto] Pre-compiling Python Byte Code


On 3 May 2017 at 19:50, Chris Trobridge 
> wrote:

The following works, as it uses the native python3 compiled by bitbake but it 
feels a little contrived.  Is there a better way of specifying the native 
python3 interpreter, or a better way of getting my python byte code compiled 
prior to generating the packages?

If you inherit python3native then "python3" will be the native python3.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-security][PATCH 00/10] move tpm into its own layer

2017-05-10 Thread akuster



On 05/10/2017 12:46 AM, Dominig ar Foll (Intel Open Source) wrote:

Armin,

very interesting move. Could you tell us where is located your git repo ?

http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/

currently the changes are in master-next

- armin

Regards

Dominig

Le 09/05/2017 à 16:46, Armin Kuster a écrit :

tpm recipes copied as-is

This was done to allow inclusion of TPM components independent of the rest of 
the layer.
minimizes layerdepends

fixed incorrect use of DISTRO_FEATURES

Updated tpm kernel configs to newer version

added a few new packagegroups

Armin Kuster (10):
   tpm: move to a sub layer
   change tpm from distro to machine feature
   meta-tpm: add base package group as was in meta-security
   packagegroup: remove tpm components
   tpm packagegroups: split into logical units
   tpm-i2c: some systems us i2c TPM
   kernel tpm rework
   tpm-image: used for testing for now.
   linux-stable: fix module selections
   tpm2: package groups fixes

  meta-tpm/README|  0
  meta-tpm/conf/layer.conf   | 13 ++
  meta-tpm/recipes-core/images/security-tpm-image.bb | 19 ++
  .../packagegroup/packagegroup-security-tpm-i2c.bb  | 19 ++
  .../packagegroup/packagegroup-security-tpm.bb  | 29 ++
  .../packagegroup/packagegroup-security-tpm2.bb | 18 ++
  .../packagegroup/packagegroup-security-vtpm.bb | 14 +++
  meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg  |  8 ++
  meta-tpm/recipes-kernel/linux/linux-yocto/tpm.scc  |  3 +++
  meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg |  6 +
  meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc |  3 +++
  .../recipes-kernel/linux/linux-yocto/tpm_i2c.cfg   | 15 +++
  .../recipes-kernel/linux/linux-yocto/tpm_i2c.scc   |  6 +
  .../recipes-kernel/linux/linux-yocto/tpm_x86.cfg   |  4 +++
  meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.cfg |  5 
  meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.scc |  4 +++
  .../recipes-kernel/linux/linux-yocto_4.%.bbappend  | 17 +
  .../Convert-another-vdprintf-to-dprintf.patch  |  0
  .../files/Use-format-s-for-call-to-dprintf.patch   |  0
  .../libtpm/files/fix_signed_issue.patch|  0
  .../recipes-tpm}/libtpm/libtpm_1.0.bb  |  0
  .../recipes-tpm}/swtpm/files/fix_fcntl_h.patch |  0
  .../swtpm/files/fix_lib_search_path.patch  |  0
  .../swtpm/files/fix_signed_issue.patch |  0
  .../recipes-tpm}/swtpm/files/ioctl_h.patch |  0
  .../recipes-tpm}/swtpm/swtpm-wrappers-native.bb|  0
  .../recipes-tpm}/swtpm/swtpm_1.0.bb|  0
  .../tpm-tools/files/tpm-tools-extendpcr.patch  |  0
  .../recipes-tpm}/tpm-tools/tpm-tools_git.bb|  0
  .../recipes-tpm}/tpm2.0-tools/tpm2.0-tools_git.bb  |  0
  .../tpm2.0-tss/tpm2.0-tss/ax_pthread.m4|  0
  .../tpm2.0-tss/fix_musl_select_include.patch   |  0
  .../recipes-tpm}/tpm2.0-tss/tpm2.0-tss_git.bb  |  0
  .../tpm2simulator/tpm2simulator-native_116.bb  |  0
  ...path-use-POSIX-getpwent-instead-of-getpwe.patch |  0
  .../recipes-tpm}/trousers/files/tcsd.service   |  0
  .../trousers/files/trousers-udev.rules |  0
  .../recipes-tpm}/trousers/files/trousers.init.sh   |  0
  .../recipes-tpm}/trousers/trousers_git.bb  |  0
  recipes-kernel/linux/linux-yocto_4.10.bbappend |  3 ---
  .../packagegroup/packagegroup-core-security.bb | 18 ++
  41 files changed, 185 insertions(+), 19 deletions(-)
  create mode 100644 meta-tpm/README
  create mode 100644 meta-tpm/conf/layer.conf
  create mode 100644 meta-tpm/recipes-core/images/security-tpm-image.bb
  create mode 100644 
meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb
  create mode 100644 
meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb
  create mode 100644 
meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
  create mode 100644 
meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.scc
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.cfg
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.scc
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.cfg
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.scc
  create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto_4.%.bbappend
  rename {recipes-tpm => 
meta-tpm/recipes-tpm}/libtpm/files/Convert-another-vdprintf-to-dprintf.patch (100%)
  rename {recipes-tpm => 

Re: [yocto] Configure errors in my recipe

2017-05-10 Thread Burton, Ross
On 10 May 2017 at 12:48,  wrote:

> | configure.ac:88: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in
> library
>

That's part of glib, so add glib-2.0 to DEPENDS (and remove gettext-native
as the inherit will handle that).

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-selinux][PATCH V3] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-10 Thread Joe MacDonald
[[yocto] [meta-selinux][PATCH V3] rpm: modify the rpm bbappend file to suitable 
for rpm4] On 17.05.10 (Wed 03:03) Dengke Du wrote:

> Changed in V3:
>   rebase the patch on the latest master branch.
> 
> 1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is
>because the rpm in oe-core has become rpm4 from rpm5.
> 
> 2. drop the patch for rpm5.
> 
> 3. delete the does not exist files when run task do_package.
> 
> Signed-off-by: Dengke Du 
> ---
>  recipes-devtools/rpm/{rpm_%.bbappend => rpm_git.bbappend} | 4 
>  1 file changed, 4 deletions(-)
>  rename recipes-devtools/rpm/{rpm_%.bbappend => rpm_git.bbappend} (56%)

I think I understand what you're looking to do here, but the comments
are completely unclear.  A commit log should look something like:

   rpm: move rpm recipe to rpm_git

   

   Signed-off-by: Dengke Du 
   ---
   

You can accomplish this with the --annotate flag to git-send-email and
then in your editor just ensure the revision history and additional
commentary goes after the --- line.

As for the change, deleting package contents that are no longer present
is fine, but why change % to git in the recipe name?  We moved from a
specific version number to % so we would be somewhat divorced from the
changes in oe-core, this change reverses that decision.

-J.

> diff --git a/recipes-devtools/rpm/rpm_%.bbappend 
> b/recipes-devtools/rpm/rpm_git.bbappend
> similarity index 56%
> rename from recipes-devtools/rpm/rpm_%.bbappend
> rename to recipes-devtools/rpm/rpm_git.bbappend
> index 199a7e4..9f3ec90 100644
> --- a/recipes-devtools/rpm/rpm_%.bbappend
> +++ b/recipes-devtools/rpm/rpm_git.bbappend
> @@ -1,8 +1,4 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
> -FILES_${PN} += "${libdir}/rpm/bin/spooktool \
> -${libdir}/rpm/bin/semodule \
> -   "
> -
>  inherit with-selinux
>  PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
> -- 
> 2.11.0
> 
-- 
-Joe MacDonald.
:wq


signature.asc
Description: Digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Configure errors in my recipe

2017-05-10 Thread colin.helliwell
I'm trying to put together a recipe for a package (NetworkManager-pptp), but
hitting some peculiar errors in the configure.
I'm building from tarball, and the recipe currently includes
inherit autotools-brokensep gettext
  and
DEPENDS = "intltool-native gettext-native"

I'm not sure what it means by "your autoconf macro directory", but I *can*
see the 'missing' files being put into
networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/aclocal-copy/

Wondered if anyone can spot what I might be missing?  (Perhaps from
EXTRA_OECONF?)

The log is:

Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.15
| Copyright (C) 2014 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later

| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey 
|and Alexandre Duret-Lutz .
| AUTOV is 1
| NOTE: Executing glib-gettextize --force --copy
| Copying file po/Makefile.in.in
|
| Please add the files
|   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
|   progtest.m4
| from the
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/share/aclocal directory to your autoconf macro directory
| or directly to your aclocal.m4 file.
| You will also need config.guess and config.sub, which you can get from
| ftp://ftp.gnu.org/pub/gnu/config/.
|
| NOTE: Executing intltoolize --copy --force --automake
| NOTE: Executing ACLOCAL="aclocal
--system-acdir=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cor
texa9hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pp
tp-1.2.4/aclocal-copy/" autoreconf --verbose --install --force
--exclude=autopoint -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cor
texa9hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pp
tp-1.2.4/aclocal-copy/ -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/ -I
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.2.4/m4/
--force -I m4
| configure.ac:88: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in '.'.
| libtoolize: copying file './ltmain.sh'
| libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
| libtoolize: copying file 'm4/libtool.m4'
| libtoolize: copying file 'm4/ltoptions.m4'
| libtoolize: copying file 'm4/ltsugar.m4'
| libtoolize: copying file 'm4/ltversion.m4'
| libtoolize: copying file 'm4/lt~obsolete.m4'
| configure.ac:88: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: running:
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/bin/autoconf
--include=/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9
hf-neon-poky-linux-gnueabi/networkmanager-pptp/1.2-r0/NetworkManager-pptp-1.
2.4/m4/ --force
| configure.ac:88: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
|   If this token and others are legitimate, please use
m4_pattern_allow.
|   See the Autoconf documentation.
| autoreconf:
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/u
sr/bin/autoconf failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (log file is located at
/home/colin/100051-trunk/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/networkmanager-pptp/1.2-r0/temp/log.do_configure.3514)
ERROR: Task 5
(/home/colin/100051-trunk/fsl-community-bsp/../meta-ln/recipes-connectivity/
networkmanager-pptp/networkmanager-pptp_1.2.bb, do_configure) failed with
exit code '1'
NOTE: Tasks Summary: Attempted 436 tasks of which 434 didn't need to be
rerun and 1 failed.
No currently 

Re: [yocto] How to integrate mender to Yocto Jethro (4.1.15-1.2.0) for Pico i.MX6UL Hobbit Board?

2017-05-10 Thread Philip Balister
On 05/10/2017 04:13 AM, JAYMIN DABHI wrote:
> Hi All,
> 
> Want to integrate mender with existing Yocto build. My Yocto repo branch
> is Jethro 4.1.15 and poky branch is morty.
> 
> Current machine environment detail is as below:
> 
> Development board - Pico i.MX6UL Hobbit TechNexion Board.
> DISTRO Version  = 4.1.15-1.2.0
> DISTRO Name = 'fsl-imx-fb'
> 
> Bitbake for - core-image-base
> 
> What would be the process or steps for integrating mender (meta-mender
> layer) in existing Yocto repo for custom board?
> 
> Followed this link :
> https://docs.mender.io/1.0/Artifacts/Building-Mender-Yocto-image, but it
> was unsuccessful.
> 
> Any suggestions.

Ask in the mender group.

https://mender.io/community

Philip

> 
> Thanks,
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] how to activate tpm - Minnow BIOS 64 bits

2017-05-10 Thread Dominig ar Foll (Intel Open Source)

  
  
Ulf;
  
  Would you know if the latest BIOS (v0.95)  with tpm2 enabled for
  the Minnowboard Max is available for download somewhere ?
  The default repo does only provide tpm2 for 32 bits BIOS (what is
  of no use AGL.
   - https://firmware.intel.com/projects/minnowboard-max
  While the provided pointers are very valuable, they do not provide
  a scalable solution for general users in the Automotive Grade
  Linux project.
  Would you know why the Minnowboard does not provide tpm2 enabled
  for the 64 bits BIOS ?
  
  Dominig

Le 09/05/2017 à 20:12, Hofemeier, Ulf a
  écrit :


  
  
  
  
  
  
Hi Domining,
 
Please check
out this article.
 
https://prosauce.org/blog/2016/1/11/minnowboard-max-enable-and-test-the-firmware-txe-tpm-20
 
Also, there has
been a person in the MinnowBoard GitHub issue tracker who
successfully enabled TPM2 for this platform. See the thread
here:
https://github.com/MinnowBoard-org/bugs-and-help/issues/29
 
Thanks,
Ulf
 

  From: 

  on behalf of Dominig Foll 
  Date: Tuesday, May 9, 2017 at 8:12 AM
  To: "yocto@yoctoproject.org"
  
  Subject: [yocto] how to activate tpm


   

Hello,

I am trying to get tpm working on a Minnowboard and a Joule.
I have enabled tpm in meta-security.
I can see that the Kernel config looks good (see extract
bellow)
tpm is enable in the BIOS (fails with TPM>PTT or dTPM
2.0)
BUT i still cannot see my tpm device in /sys/class/tpm

Has anyone succeeded to enable tpm with meta-security ?
If yes, I would be interested to know how you have done.

  
-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre
 
--- log device not visible --
tcsd -f
TCSD TDDL ERROR: Could not find a device to open!
root@intel-corei7-64:~# modprobe -D tpm    
builtin tpm
root@intel-corei7-64:~# modprobe -D tpm_tis
builtin tpm_tis
root@intel-corei7-64:/tmp# ls /sys/class/tpm   
root@intel-corei7-64:/tmp# 
 
- kernel config extract --
 
CONFIG_HW_RANDOM_TPM=m
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
CONFIG_TCG_CRB=y
CONFIG_TCG_VTPM_PROXY=y
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set
 
 
 
  


-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre
  

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


Re: [yocto] [meta-security][PATCH 00/10] move tpm into its own layer

2017-05-10 Thread Dominig ar Foll (Intel Open Source)

  
  
Armin,
  
  very interesting move. Could you tell us where is located your git
  repo ?
  Regards
  
  Dominig

Le 09/05/2017 à 16:46, Armin Kuster a
  écrit :


  tpm recipes copied as-is

This was done to allow inclusion of TPM components independent of the rest of the layer.
minimizes layerdepends

fixed incorrect use of DISTRO_FEATURES

Updated tpm kernel configs to newer version

added a few new packagegroups

Armin Kuster (10):
  tpm: move to a sub layer
  change tpm from distro to machine feature
  meta-tpm: add base package group as was in meta-security
  packagegroup: remove tpm components
  tpm packagegroups: split into logical units
  tpm-i2c: some systems us i2c TPM
  kernel tpm rework
  tpm-image: used for testing for now.
  linux-stable: fix module selections
  tpm2: package groups fixes

 meta-tpm/README|  0
 meta-tpm/conf/layer.conf   | 13 ++
 meta-tpm/recipes-core/images/security-tpm-image.bb | 19 ++
 .../packagegroup/packagegroup-security-tpm-i2c.bb  | 19 ++
 .../packagegroup/packagegroup-security-tpm.bb  | 29 ++
 .../packagegroup/packagegroup-security-tpm2.bb | 18 ++
 .../packagegroup/packagegroup-security-vtpm.bb | 14 +++
 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg  |  8 ++
 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.scc  |  3 +++
 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg |  6 +
 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc |  3 +++
 .../recipes-kernel/linux/linux-yocto/tpm_i2c.cfg   | 15 +++
 .../recipes-kernel/linux/linux-yocto/tpm_i2c.scc   |  6 +
 .../recipes-kernel/linux/linux-yocto/tpm_x86.cfg   |  4 +++
 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.cfg |  5 
 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.scc |  4 +++
 .../recipes-kernel/linux/linux-yocto_4.%.bbappend  | 17 +
 .../Convert-another-vdprintf-to-dprintf.patch  |  0
 .../files/Use-format-s-for-call-to-dprintf.patch   |  0
 .../libtpm/files/fix_signed_issue.patch|  0
 .../recipes-tpm}/libtpm/libtpm_1.0.bb  |  0
 .../recipes-tpm}/swtpm/files/fix_fcntl_h.patch |  0
 .../swtpm/files/fix_lib_search_path.patch  |  0
 .../swtpm/files/fix_signed_issue.patch |  0
 .../recipes-tpm}/swtpm/files/ioctl_h.patch |  0
 .../recipes-tpm}/swtpm/swtpm-wrappers-native.bb|  0
 .../recipes-tpm}/swtpm/swtpm_1.0.bb|  0
 .../tpm-tools/files/tpm-tools-extendpcr.patch  |  0
 .../recipes-tpm}/tpm-tools/tpm-tools_git.bb|  0
 .../recipes-tpm}/tpm2.0-tools/tpm2.0-tools_git.bb  |  0
 .../tpm2.0-tss/tpm2.0-tss/ax_pthread.m4|  0
 .../tpm2.0-tss/fix_musl_select_include.patch   |  0
 .../recipes-tpm}/tpm2.0-tss/tpm2.0-tss_git.bb  |  0
 .../tpm2simulator/tpm2simulator-native_116.bb  |  0
 ...path-use-POSIX-getpwent-instead-of-getpwe.patch |  0
 .../recipes-tpm}/trousers/files/tcsd.service   |  0
 .../trousers/files/trousers-udev.rules |  0
 .../recipes-tpm}/trousers/files/trousers.init.sh   |  0
 .../recipes-tpm}/trousers/trousers_git.bb  |  0
 recipes-kernel/linux/linux-yocto_4.10.bbappend |  3 ---
 .../packagegroup/packagegroup-core-security.bb | 18 ++
 41 files changed, 185 insertions(+), 19 deletions(-)
 create mode 100644 meta-tpm/README
 create mode 100644 meta-tpm/conf/layer.conf
 create mode 100644 meta-tpm/recipes-core/images/security-tpm-image.bb
 create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb
 create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb
 create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
 create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm.scc
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.cfg
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.scc
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/tpm_x86.cfg
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.cfg
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto/vtpm.scc
 create mode 100644 meta-tpm/recipes-kernel/linux/linux-yocto_4.%.bbappend
 rename {recipes-tpm => meta-tpm/recipes-tpm}/libtpm/files/Convert-another-vdprintf-to-dprintf.patch (100%)
 rename {recipes-tpm => meta-tpm/recipes-tpm}/libtpm/files/Use-format-s-for-call-to-dprintf.patch (100%)
 rename {recipes-tpm => meta-tpm/recipes-tpm}/libtpm/files/fix_signed_issue.patch (100%)
 rename {recipes-tpm => 

[yocto] [meta-raspberrypi][PATCH 2/2] mesa-gl: Enable gbm for rpi

2017-05-10 Thread Khem Raj
weston needs gbm support which is not
in userland

Signed-off-by: Khem Raj 
---
 recipes-graphics/mesa/mesa-gl_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-graphics/mesa/mesa-gl_%.bbappend

diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend 
b/recipes-graphics/mesa/mesa-gl_%.bbappend
new file mode 100644
index 000..7897125
--- /dev/null
+++ b/recipes-graphics/mesa/mesa-gl_%.bbappend
@@ -0,0 +1 @@
+PACKAGECONFIG_append_rpi = " gbm"
-- 
2.12.2

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


[yocto] [meta-raspberrypi][PATCH 1/2] userland: Add missing GLES2 defines

2017-05-10 Thread Khem Raj
Needed by weston

Signed-off-by: Khem Raj 
---
 ...-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch | 30 ++
 recipes-graphics/userland/userland_git.bb  |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
recipes-graphics/userland/userland/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch

diff --git 
a/recipes-graphics/userland/userland/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
 
b/recipes-graphics/userland/userland/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
new file mode 100644
index 000..2232d4b
--- /dev/null
+++ 
b/recipes-graphics/userland/userland/0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch
@@ -0,0 +1,30 @@
+From 55a66f56a14eb8c3ae8294860e49efc9c9598c46 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Wed, 10 May 2017 06:39:34 +
+Subject: [PATCH] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT
+
+weston code uses these defines
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj 
+---
+ interface/khronos/include/GLES2/gl2ext.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/interface/khronos/include/GLES2/gl2ext.h 
b/interface/khronos/include/GLES2/gl2ext.h
+index 4eacf7f..283e3e1 100644
+--- a/interface/khronos/include/GLES2/gl2ext.h
 b/interface/khronos/include/GLES2/gl2ext.h
+@@ -327,6 +327,9 @@ typedef void* GLeglImageOES;
+ #define GL_RGBX_BRCM0x80EE
+ #endif
+ 
++#define GL_R8_EXT   0x8229
++#define GL_RG8_EXT  0x822B
++
+ /* GL_EXT_texture_type_2_10_10_10_REV */
+ #ifndef GL_EXT_texture_type_2_10_10_10_REV
+ #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT  0x8368
+-- 
+1.9.1
+
diff --git a/recipes-graphics/userland/userland_git.bb 
b/recipes-graphics/userland/userland_git.bb
index 9526fae..1176ef2 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -33,6 +33,7 @@ SRC_URI = "\
 file://0011-build-shared-library-for-vchostif.patch \
 file://0012-implement-buffer-wrapping-interface-for-dispmanx.patch \
 file://0013-Implement-triple-buffering-for-wayland.patch \
+file://0014-GLES2-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch \
 "
 S = "${WORKDIR}/git"
 
-- 
2.12.2

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