Re: [yocto] Bluetooth

2017-12-14 Thread Dengke Du
On 2017年12月15日 13:55, Sherif Omran wrote: when i do hciattach, i get initialization timeout. This is a bug for initialization timeout:     https://github.com/agherzan/meta-raspberrypi/issues/148 Sometimes it works, sometimes it would not work. Still need research on it. could it be a

Re: [yocto] Bluetooth

2017-12-14 Thread Dengke Du
You should attach the bluez stack with the raspberry firmware bcm43xx:     hciattact -n /dev/ttyAMA0 bcm43xx 921600 noflow - or if you use systemd:     systemctl restart brcm43438.service Now you can see the the device:     rfkill list all Enable it:     rfkill unblock all     hciconfig

[yocto] Bluetooth

2017-12-14 Thread Sherif Omran
hello i ve been strugggeling since couple of days with raspberry pi 0 board and can not figure out how to enable the chip, whether it is enabled by default or it needs some intervention. I generated the rpi-basic-image and tested with the hiconfigure -a but the chip is not detected. Any body had

[yocto] Release Candidate Build for yocto-2.3.3.rc1 now available.

2017-12-14 Thread Poky Build User
A release candidate build for yocto-2.3.3.rc1 is now available at: https://autobuilder.yocto.io/pub/releases/yocto-2.3.3.rc1 Please begin QA on this build as soon as possible. Build hash information: meta-intel : 4cd63f57820ce0e4ebd598251d3a13b5a4b9b791 meta-qt4 :

Re: [yocto] How to disable a linux virtual terminal...

2017-12-14 Thread Andre McCurdy
On Thu, Dec 14, 2017 at 1:51 PM, Greer, Charles (ext) wrote: > Hi all, > > Would anyone know how to disable the virtual terminals in linux? I am using > Yocto, Morty version on an i.MX6 processor. Try adding: USE_VT = "0" to your machine config file. --

[yocto] How to disable a linux virtual terminal...

2017-12-14 Thread Greer, Charles (ext)
Hi all, Would anyone know how to disable the virtual terminals in linux? I am using Yocto, Morty version on an i.MX6 processor. Even though our base distribution is Yocto, unfortunately we have diverged from building it with recipes, so this is more of a straight linux question than Yocto...

Re: [yocto] CROPS status?

2017-12-14 Thread Martin Kelly
On 12/13/2017 12:44 PM, Avery, Brian wrote: + joshua. I am no longer working on the YP, but Joshua is looking after CROPS. It is actually a family of containers, so some parts have been updated more recently. -brian Thanks Brian. Joshua, do you know the code status? Is the project still

Re: [yocto] recipe to clean up files from rootfs

2017-12-14 Thread Chris Simmonds
Hi Sherif, Maybe this is a little late, but as been said already, the best solution is to remove psplash from your image altogether. You can to this quite simply by adding to your conf/local.conf IMAGE_FEATURES_remove = "splash" Rationale: the dependency on the psplash program is (usually)

Re: [yocto] [PATCH 08/12] upgradehelper.py: clean repo only once when recipes are specified

2017-12-14 Thread Alexander Kanavin
On 12/14/2017 04:13 AM, Robert Yang wrote: How about simply issuing 'git revert' after a build has failed? That's easier to implement than rearranging the order of commits, and the commit message can include a link to the build failure logs. Sounds reasonable to me, I will update the patch.

[yocto] [auh][PATCH 20/20] upgradehelper.py: revert commits that failed to build

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin This helps avoid 'cascading build failures' where one failed update holds up everything else. Signed-off-by: Alexander Kanavin --- modules/utils/git.py | 3 +++ upgradehelper.py | 3 +++ 2 files changed, 6

[yocto] [auh][PATCH 19/20] upgradehelper.py: when recovering from upgrade error, do not refer to a dict entry that may not exist

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- upgradehelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 3c41012..58fa0a6 100755 --- a/upgradehelper.py +++

[yocto] [auh][PATCH 18/20] upgradehelper.py: when attempting to commit changes do not discard previous errors

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- upgradehelper.py | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index d1f441c..3c41012 100755 --- a/upgradehelper.py

[yocto] [auh][PATCH 15/20] upgradehelper.py: fixups to the email message template

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- upgradehelper.py | 43 +++ 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index

[yocto] [auh][PATCH 10/20] modules/recipe: remove

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin The hand-crafted recipe updating/rewriting has been replaced by calling devtool. Signed-off-by: Alexander Kanavin --- modules/recipe/__init__.py | 0 modules/recipe/base.py | 724

[yocto] [auh][PATCH 14/20] testimage.py: add extra logging for the testimage logs retrieval

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin This helped with diagnozing issues described in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12396 Signed-off-by: Alexander Kanavin --- modules/testimage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git

[yocto] [auh][PATCH 13/20] testimage.py: do not call into removed code

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin This was using the removed recipe parsing code to determine if a package supports ptest; it should be replaced with using bitbake API but for now we can simply add all update packages to the list. Signed-off-by: Alexander Kanavin

[yocto] [auh][PATCH 11/20] upgradehelper.py: remove the package ordering code

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin It was broken and commented out, and not really necessary. Signed-off-by: Alexander Kanavin --- upgradehelper.py | 80 1 file changed, 80 deletions(-) diff --git

[yocto] [auh][PATCH 12/20] utils/git.py: print current dir when git fails

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- modules/utils/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils/git.py b/modules/utils/git.py index d1fe41b..a6f5422 100644 ---

[yocto] [auh][PATCH 09/20] Replace references to Aníbal Limón as the maintainer.

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- README | 2 +- upgradehelper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index e6b0dc2..60dbef9 100644 --- a/README +++ b/README

[yocto] [auh][PATCH 08/20] testimage.py: do not manipulate branches

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin AUH simply creates a series of commits now, so we can create and run testimage directly on the branch we're on. Signed-off-by: Alexander Kanavin --- modules/testimage.py | 32 1 file

[yocto] [auh][PATCH 07/20] buildhistory.py: replace cleanall with cleansstate

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin It should not be really necessary, and wastes time as the upstream source needs to be re-fetched. Signed-off-by: Alexander Kanavin --- modules/buildhistory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[yocto] [auh][PATCH 06/20] Add devtool support for upgrading recipes

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin devtool has a much better support for rebasing patches, can be used interactively when things go wrong, and we also need to avoid having two codebases for updating recipes that broadly do the same thing. Signed-off-by: Alexander Kanavin

[yocto] [auh][PATCH 05/20] upgradehelper.py: add the old recipe version in pkg_ctx

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin So that it can be later used in the commit message. Signed-off-by: Alexander Kanavin --- upgradehelper.py | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py

[yocto] [auh][PATCH 04/20] upgradehelper.py: support updates to a new vcs revision.

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Devtool has support for this, and it's useful when the upstream never issues new versions; in this situation we can simply attempt to update to the latest revision. Signed-off-by: Alexander Kanavin --- upgradehelper.py |

[yocto] [auh][PATCH 03/20] upgradehelper.py: do not manipulate git branches.

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Let's just write the commits into the current branch, and leave branch management to some other tool. Signed-off-by: Alexander Kanavin --- upgradehelper.py | 25 - 1 file changed, 25 deletions(-)

[yocto] [auh][PATCH 02/20] upgradehelper.py: always run checkpkg

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin There was code to skip upstream version check if it was performed recently, which was actually broken as it didn't verify that checkpkg.csv already contains the package we want to update. Let's just drop the whole logic and run checkpkg always.

[yocto] [auh][PATCH 00/20] Porting AUH to devtool and making it suitable for local use

2017-12-14 Thread Alexander Kanavin
This patchset replaces custom recipe rewriting code in AUH with calls to devtool and makes other improvements aimed at making it suitable for local, interactive use by recipe maintainers. The following changes since commit ccf93239c7def7b475fe20f8fcd91043bc59bd61: upgradehelper.py: Layer

[yocto] [auh][PATCH 01/20] upgradehelper.py: do not error out if testimage or buildhistory are enabled in bitbake conf, but not in AUH conf

2017-12-14 Thread Alexander Kanavin
From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- upgradehelper.py | 12 1 file changed, 12 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index 8e5466e..1356aef 100755 --- a/upgradehelper.py +++

[yocto] Ownership issues in rootfs but not in rpms

2017-12-14 Thread felix.lelc...@gmx.de
Hi everyone, I'm trying to set up my Jethro based Distro in such way that a daemon gets its own user and group to run as. The user and group are both created properly. I also have the files and directories chowned in the same manner useradd-example does in do_install. The rootfs however always

Re: [yocto] [meta-raspberrypi] linux kernel rt

2017-12-14 Thread Andreas Müller
On Thu, Dec 14, 2017 at 11:40 AM, Mirza Krak wrote: > 2017-12-14 9:41 GMT+01:00 Andreas Müller : > > On Thu, Dec 14, 2017 at 2:58 AM, Sherif Omran > > > wrote: > >> > >> hey guys, > >> > >> any body tried the real time

[yocto] Kernel size above KERNEL_IMAGE_MAXSIZE

2017-12-14 Thread Jaap de Jong
Hi All, not sure if I should put this here. If I define KERNEL_IMAGE_MAXSIZE below my actual kernel size I get this ugly error: ERROR: linux-at91-4.9.28-r0.4 do_sizecheck: Function failed: do_sizecheck (log file is located at xxx/linux-at91/4.9.28-r0.4/temp/log.do_sizecheck.1370) ERROR:

Re: [yocto] Permission denied while building rocko on Debian 8

2017-12-14 Thread Zoran Stojsavljevic
You might try also to post the same question in basic form here: http://forums.debian.net Zoran On Thu, Dec 14, 2017 at 7:53 AM, Mircea Gliga wrote: > Hi list > > See below > > On 11/12/17 15:22, Mircea Gliga wrote: > >> >> >> On 11/12/17 15:06, Paul Barker wrote: >>

Re: [yocto] [meta-raspberrypi] linux kernel rt

2017-12-14 Thread Mirza Krak
2017-12-14 9:41 GMT+01:00 Andreas Müller : > On Thu, Dec 14, 2017 at 2:58 AM, Sherif Omran > wrote: >> >> hey guys, >> >> any body tried the real time kernel? I get an error, it is snot in the >> compatibility list. >> can we skip it? >> >>

Re: [yocto] [meta-raspberrypi] linux kernel rt

2017-12-14 Thread Paul D. DeRocco
> > On Thu, Dec 14, 2017 at 2:58 AM, Sherif Omran > > wrote: > > > > any body tried the real time kernel? I get an error, it > > is snot in the compatibility list. > > From: Andreas Müller > > Good news: I use RT kernel only together with VC4 graphics >

Re: [yocto] [meta-raspberrypi] linux kernel rt

2017-12-14 Thread Andreas Müller
On Thu, Dec 14, 2017 at 2:58 AM, Sherif Omran wrote: > hey guys, > > any body tried the real time kernel? I get an error, it is snot in the > compatibility list. > can we skip it? > > thanks > > -- > Good news: I use RT kernel only together with VC4 graphics and have

[yocto] [meta-security][PATCH] xmlsec1: fix invalid paths in target xmlsec1Conf.sh

2017-12-14 Thread Ovidiu Panait
Remove build host paths from target xmlsec1Conf.sh script. Signed-off-by: Catalin Enache Signed-off-by: Ovidiu Panait --- recipes-security/xmlsec1/xmlsec1_1.2.24.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[yocto] [meta-raspberrypi] bluetooth device not available with rpi0w

2017-12-14 Thread Sherif Omran
guys, i tried to get the bluetooth to work but i get no default controller available hciconfig hci0 -> does not find the device i installed it with rpi-basic-image do i need to flash the bluetooth intell firmware? could you please help ! -- ___ yocto

Re: [yocto] recipe to clean up files from rootfs

2017-12-14 Thread Sherif Omran
hi Andre thank you for your mail. I tried to remove this package but i don't know where it is installed from, i can not find it and got lost. On Thu, Dec 14, 2017 at 9:11 AM, Sherif Omran wrote: > hi Martin, > > thank you for help .. well done .. it should now work..

Re: [yocto] recipe to clean up files from rootfs

2017-12-14 Thread Sherif Omran
hi Martin, thank you for help .. well done .. it should now work.. On Thu, Dec 14, 2017 at 8:17 AM, Martin Hundebøll < martin.hundeb...@prevas.dk> wrote: > Hi Sherif, > > On 2017-12-14 08:06, Sherif Omran wrote: > >> Here is my recipe, it runs suceeds but does not delete the files >> >>