Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-23 Thread Richard Leitner
On 24/01/2019 08:52, Robert Yang wrote: On 1/24/19 3:31 PM, Robert Yang wrote: Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my rootfs image. I think that set both INITRAMFS

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-23 Thread Robert Yang
On 1/24/19 3:31 PM, Robert Yang wrote: Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my rootfs image. I think that set both INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE should w

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-23 Thread Richard Leitner
On 24/01/2019 08:31, Robert Yang wrote: Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my rootfs image. My config is something like: KERNEL_IMAGETYPE = "fitImage" KERNEL_CLASSE

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-23 Thread Robert Yang
Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my rootfs image. My config is something like: KERNEL_IMAGETYPE = "fitImage" KERNEL_CLASSES  = "kernel-fitimage" KERNEL_DEVICETREE =

[OE-core] How to include fitImage-initramfs in rootfs image

2019-01-23 Thread Richard Leitner
Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my rootfs image. My config is something like: KERNEL_IMAGETYPE = "fitImage" KERNEL_CLASSES = "kernel-fitimage" KERNEL_DEVICETREE = "a.dtb b.dtb c.dtb" INITRAMFS_IMAGE = "initramfs-mine" To

[OE-core] [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF

2019-01-23 Thread Robert Yang
This can save configure time since it runs configure multiple times: $ time bitbake gcc-runtime -cconfigure 60s -> 54s Saved 6s Signed-off-by: Robert Yang --- meta/recipes-devtools/gcc/gcc-runtime.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.

[OE-core] [PATCH 0/3] meta: Add --cache-file for 3 core recipes

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/cf http://cgit.openembedded.org/openembedded-core-

[OE-core] [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF

2019-01-23 Thread Robert Yang
This can save configure time since it runs configure multiple times: $ time bitbake gettext-native -cconfigure 2m22s -> 2m2s Saved 20s Signed-off-by: Robert Yang --- meta/recipes-core/gettext/gettext_0.19.8.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/gettext/g

[OE-core] [PATCH 2/3] ncurses: Add --cache-file to EXTRA_OECONF

2019-01-23 Thread Robert Yang
This can save configure time since it runs configure multiple times: $ time bitbake ncurses-native -cconfigure 35s -> 25s Saved 10s Signed-off-by: Robert Yang --- meta/recipes-core/ncurses/ncurses_6.1+20181013.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recip

[OE-core] [PATCH 2/2] bitbake.conf: Add DEBUG_BUILD to vardeps

2019-01-23 Thread Robert Yang
Otherwise the recipe would not be rebuilt when enable/disable DEBUG_BUILD. Signed-off-by: Robert Yang --- meta/conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 0bdcd04..b00a52b 100644 --- a/meta/conf/bit

[OE-core] [PATCH 0/2] Fixes for DEBUG_BUILD

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/debug http://cgit.openembedded.org/openembedded-co

[OE-core] [PATCH 1/2] native.bbclass/cross.bbclass: No strip sysroot when DEBUG_BUILD

2019-01-23 Thread Robert Yang
This makes dbg work for native tools, and makes debug native tools problem easier, otherwise, there is no symbol since trippped. Signed-off-by: Robert Yang --- meta/classes/cross.bbclass | 3 +++ meta/classes/native.bbclass | 3 +++ 2 files changed, 6 insertions(+) diff --git a/meta/classes/cr

[OE-core] [PATCH 0/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/native http://cgit.openembedded.org/openembedded-c

[OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-23 Thread Robert Yang
This CONFIG_SITE has no effect since autotools.bbclass handles it. And the comment line is out of date, it was for "CONFIG_SITE = ''", so remove them. Signed-off-by: Robert Yang --- meta/classes/native.bbclass | 3 --- meta/site/native| 1 - 2 files changed, 4 deletions(-) delete mo

[OE-core] [PATCH 0/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ft http://cgit.openembedded.org/openembedded-core-

[OE-core] [PATCH 1/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-23 Thread Robert Yang
Otherwise, there would be build errors in the following 2 cases: * define HAVE_POSIX_FADVISE Or: * undef HAVE_POSIX_FADVISE Signed-off-by: Robert Yang --- ...cache.c-Fix-define-for-HAVE_POSIX_FADVISE.patch | 33 ++ .../fontconfig/fontconfig_2.12.6.bb| 1 + 2

[OE-core] [PATCH 1/1] packagegroup.bbclass: Set INHIBIT_DEFAULT_DEPS

2019-01-23 Thread Robert Yang
It doesn't need them since no compile happens. Signed-off-by: Robert Yang --- meta/classes/packagegroup.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index d540d42..94a59e0 100644 --- a/meta/classes/packagegro

[OE-core] [PATCH 0/1] packagegroup.bbclass: Set INHIBIT_DEFAULT_DEPS

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/package http://cgit.openembedded.org/openembedded-

[OE-core] [PATCH 5/5] ccache: Fix Segmentation fault error when gcc -o /dev/null

2019-01-23 Thread Robert Yang
Fixed: $ export CCACHE_DEBUG=1 $ ccache gcc -c hello.c -o /dev/null Segmentation fault (core dumped) This is because failed to open /dev/null.foo (Permission denied), check file stream before write to it can fix the problem. Signed-off-by: Robert Yang --- meta/recipes-devtools/ccache/ccache_3.

[OE-core] [PATCH 2/5] bitbake.conf: Add CCACHE_TOP_DIR to BB_HASHBASE_WHITELIST

2019-01-23 Thread Robert Yang
As we did for SSTATE_DIR. Signed-off-by: Robert Yang --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 0bdcd04..4ee14c6 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -866,7 +8

[OE-core] [PATCH 4/5] ccache: 3.5 -> 3.6

2019-01-23 Thread Robert Yang
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream, and got merged. * The LIC_FILES_CHKSUM is changed because of year updated. Signed-off-by: Robert Yang --- meta/recipes-devtools/ccache/ccache_3.5.bb| 11 --- meta/recipes-devtools/ccache/

[OE-core] [PATCH 1/5] cmake-native: Add --enable-ccache to configure options

2019-01-23 Thread Robert Yang
cmake-native requires --enable-ccache to enable ccache, target recipe doesn't need this since it is already handled by cmake.bbclass. Signed-off-by: Robert Yang --- meta/recipes-devtools/cmake/cmake-native_3.12.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/cmake/

[OE-core] [PATCH 3/5] ccache.bbclass: Only let native recipes depend on ccache-native

2019-01-23 Thread Robert Yang
Make native recipes depend on ccache-native should be enough since native recipes are on target/nativesdk recipes' dependency chain, this can reduce the size of DEPENDS. Signed-off-by: Robert Yang --- meta/classes/ccache.bbclass | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --g

[OE-core] [PATCH 0/5] Fixes for ccache

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ccache http://cgit.openembedded.org/openembedded-c

[OE-core] [PATCH 1/1] perl: Make install.perl depend on install.sym

2019-01-23 Thread Robert Yang
Fixed a race issue when do_install: Generating wrapper script for /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1 mv: cannot stat /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1: No such file or directory Signed-of

[OE-core] [PATCH 0/1] perl: Make install.perl depend on install.sym

2019-01-23 Thread Robert Yang
The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97: remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/perl http://cgit.openembedded.org/openembedded-cor

Re: [OE-core] [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis

2019-01-23 Thread Yeoh, Ee Peng
RP, The current patch allow files based regression, meaning if you have file#1 and file#2, the regression will select result instances for regression based on the configuration data available. There are 2 more regression use cases that I have in mind: Use case#1: directory based regression - A

[OE-core] [PATCH V2] arch-arm: Do not add -march options for arm architecture along with -mcpu

2019-01-23 Thread Khem Raj
tune files which inherit the arch definitions already define appropriate -mcpu option, which is equivalent of right -march and -mtune combination and is preferred since gcc is getting stricter and stricter with option check semantics and can now find incompatible -march and -mcpu options better wit

Re: [OE-core] [PATCH 10/10] devtool: add a command to print an overall list of recipes that can be updated

2019-01-23 Thread akuster808
On 1/23/19 8:17 AM, Alexander Kanavin wrote: > A sample portion of the output: > > $ devtool check-upgrade-status > ... > NOTE: acpid 2.0.30 2.0.31 Ross Burton > > NOTE: u-boot-fw-utils 2018.11 2019.01 Marek Vasut > d3689267f92c

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Andre McCurdy
On Wed, Jan 23, 2019 at 2:50 PM Khem Raj wrote: > > On Wed, Jan 23, 2019 at 5:27 PM Andre McCurdy wrote: > > > > On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > > > > > tune files which inherit the arch definitions already define appropriate > > > -mcpu option, which is equivalent of right

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Khem Raj
On Wed, Jan 23, 2019 at 5:27 PM Andre McCurdy wrote: > > On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > > > tune files which inherit the arch definitions already define appropriate > > -mcpu option, which is equivalent of right -march and -mtune combination > > And what about machines which

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Andre McCurdy
On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > tune files which inherit the arch definitions already define appropriate > -mcpu option, which is equivalent of right -march and -mtune combination And what about machines which inherit an arch definition instead of a cpu definition? Is that no

[OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Khem Raj
tune files which inherit the arch definitions already define appropriate -mcpu option, which is equivalent of right -march and -mtune combination and is preferred since gcc is getting stricter and stricter with option check semantics and can now find incompatible -march and -mcpu options better wit

[OE-core] [PATCH] linux-yocto/4.19: riscv: enable serial

2019-01-23 Thread Bruce Ashfield
Integrating the following configuration change for riscv serial: Author: Alistair Francis Date: Tue Jan 22 18:55:04 2019 + qemuriscv64: Enable the 8250 serial driver Signed-off-by: Alistair Francis Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_

Re: [OE-core] [PATCHv2] glibc: Separate out AArch64 multilib loader symlink creation

2019-01-23 Thread Mike Crowe
On Friday 11 January 2019 at 16:59:44 +, Mike Crowe wrote: > On Friday 11 January 2019 at 16:53:47 +, Richard Purdie wrote: > > On Fri, 2019-01-11 at 16:49 +, Mike Crowe wrote: > > > Until now, glibc was responsible for creating an AArch64 dynamic > > > loader symlink if required for AB

[OE-core] [PATCH 10/10] devtool: add a command to print an overall list of recipes that can be updated

2019-01-23 Thread Alexander Kanavin
A sample portion of the output: $ devtool check-upgrade-status ... NOTE: acpid 2.0.30 2.0.31 Ross Burton NOTE: u-boot-fw-utils 2018.11 2019.01 Marek Vasut d3689267f92c5956e09cc7d1baa4700141662bff NOTE: u-boot-tools 20

[OE-core] [PATCH 09/10] lib/oe/reciputils.py: parallelize upstream version checks

2019-01-23 Thread Alexander Kanavin
Previously this was done via bitbake tasks, and when this was rewritten to a for loop, performance sufered significantly: from 90 seconds to about 12 minutes for oe-core. This change restores the previous run time, and makes it possible to perform such checks with command line utilities in an inter

[OE-core] [PATCH 07/10] kmscube: update to latest commit, switch over to meson

2019-01-23 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/kmscube/kmscube_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb index 46aeeb01795..c6cb1842158 100644 --- a/meta/r

[OE-core] [PATCH 06/10] testimage.bbclass: add support for passing runqemu params

2019-01-23 Thread Alexander Kanavin
This is particularly useful when setting up GL tests. Signed-off-by: Alexander Kanavin --- meta/classes/testimage.bbclass| 4 +++- meta/lib/oeqa/core/target/qemu.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimag

[OE-core] [PATCH 03/10] qemuwrapper-cross: check qemu usermode only when building a target package

2019-01-23 Thread Alexander Kanavin
When building nativesdk- package, MACHINE_FEATURES do not apply as they are specified only for target machines, not ones hosting the sdk. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m

[OE-core] [PATCH 05/10] cmake: do not look into native sysroot in the nativesdk environment

2019-01-23 Thread Alexander Kanavin
I am not sure why we do this in the first place, but it is causing cmake to erroneously pick up items from the native sysroot when building for the target and the target item is missing, for example: https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/198/steps/7/logs/step2c Note th

[OE-core] [PATCH 04/10] lib/oe/package_manager: turn postinst_intercept warnings into failures for nativesdk

2019-01-23 Thread Alexander Kanavin
The few cases where they failed should be now all fixed. The only allowed exception is when building mingw32 SDKs, as there is currently no support for running postinst_intercepts through wine. Signed-off-by: Alexander Kanavin --- meta/lib/oe/package_manager.py | 7 ++- 1 file changed, 6 in

[OE-core] [PATCH 08/10] kmscube: make gstreamer dependency optional

2019-01-23 Thread Alexander Kanavin
This in particular saves build times for virgl oe-selftest. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/kmscube/kmscube_git.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmsc

[OE-core] [PATCH 02/10] fontcache: fix postinst for nativesdk case

2019-01-23 Thread Alexander Kanavin
Both installing the binary into the correct place, and passing that place to postinst_intercept were missing. Signed-off-by: Alexander Kanavin --- meta/classes/fontcache.bbclass| 1 + meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb | 6 ++ 2 files changed, 7 ins

[OE-core] [PATCH 01/10] sstate.bbclass: make sure changes to SSTATE_SCAN_FILES are not ignored

2019-01-23 Thread Alexander Kanavin
When changing the SSTATE_SCAN_FILES variable in a recipe it doesn't cause a rebuild, so if there's a sstate-cache available with "bad" sstate data in it that will still be used even though the recipe is updated to address this. [YOCTO #13144] Signed-off-by: Alexander Kanavin --- meta/classes/

Re: [OE-core] [PATCH] image-buildinfo: make the build file shell compatible

2019-01-23 Thread Khem Raj
On Wed, Jan 23, 2019 at 7:22 AM nick83ola wrote: > sorry here is the correct file > > > > # Build Configuration # > > DISTRO="esw-space-co

Re: [OE-core] [PATCH] image-buildinfo: make the build file shell compatible

2019-01-23 Thread nick83ola
sorry here is the correct file # Build Configuration # DISTRO="esw-space-controller" DISTRO_VERSION="2.6" TARGET_SYS="arm-poky-linux-musle

Re: [OE-core] [PATCH] image-buildinfo: make the build file shell compatible

2019-01-23 Thread nick83ola
example of the new format: # Build Configuration # DISTRO="esw-space-controller" DISTRO_VERSION="2.6" TARGET_SYS="arm-poky-linux-musleabi" MACHINE="bumbl

[OE-core] [PATCH] image-buildinfo: make the build file shell compatible

2019-01-23 Thread nick83ola
this patch permit to simplify extracting build information from the /etc/build file from a script, f ex shell or python. Signed-off-by: Nicola Lunghi --- meta/classes/image-buildinfo.bbclass | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/meta/clas

Re: [OE-core] [meta-oe][PATCH] openssl: fix multilib file install conflicts

2019-01-23 Thread Xulin Sun
On 01/22/2019 10:25 PM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Randy MacLeod Sent: den 22 januari 2019 00:01 To: Patches and discussions about the oe-core layer ; Xulin Sun Subject: Re: [OE-core] [meta-oe][PATCH