[linux-yocto] [PATCH 1/2] netatop: Initial integration

2018-03-28 Thread He Zhe
This is a net statistics collector for atop from: http://atoptool.nl/netatop.php https://atoptool.nl/download/netatop-2.0.tar.gz Two changes: Adjust pathes for netatop.h and netatopversion.h Add module_init and module_exit Signed-off-by: He Zhe ---

[linux-yocto] [PATCH 2/2] netatop: Add Kconfig and Makefile

2018-03-28 Thread He Zhe
Add CONFIG_NETATOP to control enablement Signed-off-by: He Zhe --- drivers/staging/Kconfig | 2 ++ drivers/staging/Makefile | 1 + drivers/staging/netatop/Kconfig | 13 + drivers/staging/netatop/Makefile | 1 + 4 files changed, 17

[yocto] [meta-security][PATCH] samhain-server: do not extend to native

2018-03-28 Thread jackie.huang
From: Jackie Huang No packages depend on samhain-server-native and it doesn't make sense to extend a server package to native, so remove the BBCLASSEXTEND. Signed-off-by: Jackie Huang --- recipes-security/samhain/samhain-server_4.2.2.bb

Re: [yocto] CPU Load

2018-03-28 Thread Andre McCurdy
On Tue, Mar 27, 2018 at 4:44 AM, Ryan Meulenkamp wrote: > Hi y'all, > > I have some questions about CPU load and performance, but first some > background information. > > We have small embedded system running an openembedded classic (Angström) > distro. Now to get

Re: [yocto] defconfig file (or fragment files) not used

2018-03-28 Thread Khem Raj
On 3/28/18 9:27 AM, Vincent Daanen wrote: Hi, I want to add CAN driver support to the kernel. Here is the procedure I followed: 1. Generate a .config file 2. Copy it to meta-myWork/recipes-kernel/linux/files/defconfig 3. Update it: set at the end the config to enable CAN as follows #

Re: [yocto] python-fcntl missing in rocko?

2018-03-28 Thread Giordon Stark
Indeed, I seem to have gotten lucky by having it included without an explicit RDEPENDS/DEPENDS line for it. I've added it manually and now it's included :) Thanks. Giordon On Tue, Mar 27, 2018 at 1:32 PM Burton, Ross wrote: > python-core is just "an arbitrary subset of

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread rtillet
All, I figured out and solved my issue. In fact the trouble was not due to the RDEPENDS value, but only to the fact that the recipe name (folder and bb file) contained one upper case later in their names. It seems that to avoid any issue, this is important to not use upper case letter in

[yocto] defconfig file (or fragment files) not used

2018-03-28 Thread Vincent Daanen
Hi, I want to add CAN driver support to the kernel. Here is the procedure I followed: 1. Generate a .config file 2. Copy it to meta-myWork/recipes-kernel/linux/files/defconfig 3. Update it: set at the end the config to enable CAN as follows # CAN Bus CONFIG_NET=y CONFIG_CAN=y

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread rtillet
Hello Ross, Thanks for your quick reply, but I have already tried your suggests: Without "RDEPENDS", libncurses.is is not in the rootFs, With "REDEPENDS=ncurses-libncurses", is not in the rootFs also. I'm sure that the library is not called from a dlopen. The only way to make to work is to add

Re: [yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread Burton, Ross
On 28 March 2018 at 16:00, Raphaël TILLET wrote: > I’m using « Pyro », and have built a very simple recipe. The build program > Inside the recipe needs « libncurses.so » at run time, so I have added to my > recipe the following : > > DEPENDS_{PN} = « ncurses » > RDEPENDS_${PN}= «

[yocto] RDEPENDS is ignored when building rootfs

2018-03-28 Thread Raphaël TILLET
Hi, I’m using « Pyro », and have built a very simple recipe. The build program Inside the recipe needs « libncurses.so » at run time, so I have added to my recipe the following : - DEPENDS_{PN} = « ncurses » - RDEPENDS_${PN}= «  ncurses-libform » The build is ok, but my final RootFs does not

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Andrei Gherzan
On Wed, Mar 28, 2018 at 2:57 PM, Andrei Gherzan wrote: > Hi guys, > > On Wed, Mar 28, 2018 at 2:40 PM, Paul Barker > wrote: > >> On Wed, Mar 28, 2018 at 1:41 PM, Måns Zigher >> wrote: >> > Hi, >> > >> > Thanks I will do that. But

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Andrei Gherzan
On Wed, Mar 28, 2018 at 1:38 PM, Sherif Omran wrote: > Please use Morty, it works fine. > I don't think that is true though. It needs newer firmware. Not even master has it. -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Andrei Gherzan
Hi guys, On Wed, Mar 28, 2018 at 2:40 PM, Paul Barker wrote: > On Wed, Mar 28, 2018 at 1:41 PM, Måns Zigher > wrote: > > Hi, > > > > Thanks I will do that. But I have other layers that depend on the rocko > of > > meta-raspberrypi so I believe I

Re: [yocto] ssh-copy-id is part of which package?

2018-03-28 Thread Zoran Stojsavljevic
Hello Anuj, This is very correct. Thank you for the answer. Anyway, I have complicated configuration, so YOCTO copy-ssh-id does not work from client to server, but vice versa is very OK. In this case, server is VM, and client DUT hardware, in between there is transparent host. Host and VM are

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Paul Barker
On Wed, Mar 28, 2018 at 1:41 PM, Måns Zigher wrote: > Hi, > > Thanks I will do that. But I have other layers that depend on the rocko of > meta-raspberrypi so I believe I will have to use the rocko at some point but > for testing I will try Morty. What is the reason for

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Måns Zigher
Hi, Thanks I will do that. But I have other layers that depend on the rocko of meta-raspberrypi so I believe I will have to use the rocko at some point but for testing I will try Morty. What is the reason for using Morty do you know? Is rocko unstable? BR Mans Zigher 2018-03-28 14:38 GMT+02:00

Re: [yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Sherif Omran
Please use Morty, it works fine. On Wed, Mar 28, 2018 at 11:41 AM, Måns Zigher wrote: > Hi, > > I am using the meta-raspberrypi layer in my build currently on the rocko > branch. When powering on the rpi3 Model B+ the power led turns red then > when the green led is

[yocto] Bitbake problems recognizing the latest version of a repo

2018-03-28 Thread Jakob Hasse
Hello, Right now it's still a mystery for me when bitbake builds the latest version of a repository and why. I make changes in my code and whether I commit them or not, sometimes bitbake builds a package with the recent version, sometimes with an old version. So my strategy is doing mock

Re: [yocto] ssh-copy-id is part of which package?

2018-03-28 Thread Anuj Mittal
Hi Zoran, On 03/28/2018 07:18 PM, Zoran Stojsavljevic wrote: > Hello to all, > > Seems, that command: > IMAGE_INSTALL_append = " openssh" > > Does install ssh, sshd, but not a ssh-copy-id?! > > Strange... ssh-copy-id should be part of the openssh!? > >

[yocto] ssh-copy-id is part of which package?

2018-03-28 Thread Zoran Stojsavljevic
Hello to all, Seems, that command: IMAGE_INSTALL_append = " openssh" Does install ssh, sshd, but not a ssh-copy-id?! Strange... ssh-copy-id should be part of the openssh!? http://lists.openembedded.org/pipermail/openembedded-commits/2015-January/170233.html root@beaglebone:/root# which

Re: [yocto] how to add libsrtp and libsrtp-staticdev to sdk

2018-03-28 Thread Burton, Ross
On 28 March 2018 at 11:56, Mostafa Farzane wrote: > -- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA Issue: jrtplib.pc failed > sanity test (tmpdir) in path > /opt/yocto/toradex-morty/build-intercom/tmp-glibc/work/armv7at2hf-neon-angstrom-linux >

Re: [yocto] Bitbake failure:

2018-03-28 Thread pawanKumar
Thanks, I'll look into it. For yocto-2.5 M3 rc1 they have given as bitbake -c fetchall core-image-sato That means it is a failure. On Tue, Mar 27, 2018, 7:52 PM Joshua Watt wrote: > On Tue, 2018-03-27 at 09:19 +, pawanKumar wrote: > > Thanks for your tip. > Can I use

[yocto] [Yocto][meta-raspberrypi] raspberrypi3 model B+ not booting

2018-03-28 Thread Måns Zigher
Hi, I am using the meta-raspberrypi layer in my build currently on the rocko branch. When powering on the rpi3 Model B+ the power led turns red then when the green led is turned on the red is turned off and nothing is booting the green continues to flash sporadically. My build works fine on rpi 3

Re: [yocto] [PATCH 2/2] audit: fix pkgconfigdir

2018-03-28 Thread Anuj Mittal
Hi, On 03/28/2018 02:55 PM, Kai Kang wrote: > Because 'libdir' is set with ${base_libdir} in recipe file of audit, > package config files(.pc) are installed to ${base_libdir}/pkgconfig that > variable pkgconfigdir is set with ${libdir}/pkgconfig in makefile. > > Set pkgconfigdir directly to

Re: [yocto] [meta-selinux][PATCH 0/2] Fix systemd configure error when enable audit

2018-03-28 Thread Kang Kai
On 2018年03月28日 14:55, Kai Kang wrote: Test with configure in local.conf DISTRO_FEATURES_append = " selinux systemd" Kai Kang (2): enable-audit.bbclass: remove implement of packageconfig audit audit: fix pkgconfigdir classes/enable-audit.bbclass | 1 -

[yocto] [PATCH 0/2] Fix systemd configure error when enable audit

2018-03-28 Thread Kai Kang
Test with configure in local.conf DISTRO_FEATURES_append = " selinux systemd" Kai Kang (2): enable-audit.bbclass: remove implement of packageconfig audit audit: fix pkgconfigdir classes/enable-audit.bbclass | 1 - recipes-security/audit/audit_2.7.6.bb | 3 ++- 2 files changed, 2

[yocto] [PATCH 2/2] audit: fix pkgconfigdir

2018-03-28 Thread Kai Kang
Because 'libdir' is set with ${base_libdir} in recipe file of audit, package config files(.pc) are installed to ${base_libdir}/pkgconfig that variable pkgconfigdir is set with ${libdir}/pkgconfig in makefile. Set pkgconfigdir directly to install .pc files to right directory. Signed-off-by: Kai

[yocto] [PATCH 1/2] enable-audit.bbclass: remove implement of packageconfig audit

2018-03-28 Thread Kai Kang
enable-audit.bbclass is only used by systemd. And systemd has adapted to use build tool meson and implement PACKAGECONFIG audit in recipe file of systemd in oe-core. So remove implement of PACKAGECONFIG audit from enable-audit.bbclass. Signed-off-by: Kai Kang ---

[yocto] [meta-yocto][PATCH v2 3/3] linux-yocto: update genericx86* SRCREVs for 4.15

2018-03-28 Thread Anuj Mittal
Bump to stable kernel release 4.15.13. Signed-off-by: Anuj Mittal --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.15.bbappend | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.15.bbappend

[yocto] [meta-yocto][PATCH v2 2/3] linux-yocto: update genericx86* SRCREVs for 4.14

2018-03-28 Thread Anuj Mittal
Bump to stable kernel release 4.14.30 Signed-off-by: Anuj Mittal --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend

[yocto] [meta-yocto][PATCH v2 1/3] linux-yocto: update genericx86* SRCREVs for 4.12

2018-03-28 Thread Anuj Mittal
Bump to stable kernel release 4.12.21. Signed-off-by: Anuj Mittal --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend

[yocto] [meta-yocto][PATCH v2 0/3] Update SRCREVs for genericx86* BSPs

2018-03-28 Thread Anuj Mittal
This series replaces the earlier one sent by me. It syncs the genericx86* BSP kernel revisions with the latest kernel series sent by Bruce for oe-core. Sanity tested on NUC7 and Minnowboard. Thanks, Anuj Mittal (3): linux-yocto: update genericx86* SRCREVs for 4.12 linux-yocto: update