Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Sherif Omran
i have it now installed as a kernel module but still i get can not open rfkill control device at boot time On Wed, Dec 20, 2017 at 5:28 AM, Sherif Omran wrote: > Bluez5 is already added to local.conf. It gets installed, if i instal > rpi-basic-image > with no changes to local.conf, if i use cor

[yocto] call custom sh script in do_compile

2017-12-20 Thread Mircea Gliga
Hello I have a build.sh script used to build outside yocto, after sourcing the build environment. I want to use the same build.sh script inside the recipe, in the do_compile task, something like: do_compile () {  ./build.sh ${MACHINE} } The build.sh script eventually calls make for several

Re: [yocto] call custom sh script in do_compile

2017-12-20 Thread Burton, Ross
On 20 December 2017 at 09:08, Mircea Gliga wrote: > Hello > > I have a build.sh script used to build outside yocto, after sourcing the > build environment. > I want to use the same build.sh script inside the recipe, in the > do_compile task, something like: > > do_compile () { > > ./build.sh ${M

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Zoran Stojsavljevic
Inside poky distro (.../poky/meta/recipes-connectivity): [user@localhost recipes-connectivity]$ pwd /home/user/YOCTO/oe_core_embedded/poky/meta/recipes-connectivity [user@localhost recipes-connectivity]$ ls -al total 96 drwxrwxr-x. 24 user user 4096 Oct 18 12:49 . drwxrwxr-x. 19 user user 4096 Nov

Re: [yocto] call custom sh script in do_compile

2017-12-20 Thread Mircea Gliga
I'm trying to figure the proper way that the script *should* expect parameters... Some excerpt: function buildConfiguration {     CONFIGURATION=${1}     BINARY_TYPE=${2}     MACHINE=${3}     DTB=${4}     KEY_DIR=${5}     MAKE_OPTIONS="-j 8 VERBOSE=1 V=1"     MAKE="make"     echo ""     echo "com

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Zoran Stojsavljevic
> IMAGE_INSTALL_append += "rfkill" (my best guess, easiest way). My bad! :-( Should read: IMAGE_INSTALL_append += "Bluez5" Zoran On Wed, Dec 20, 2017 at 10:25 AM, Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > Inside poky distro (.../poky/meta/recipes-connectivity): > > [user@lo

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Burton, Ross
On 20 December 2017 at 10:18, Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > > IMAGE_INSTALL_append += "rfkill" (my best guess, easiest way). > > My bad! :-( > > Should read: IMAGE_INSTALL_append += "Bluez5" > Typo in the package name, no need to use += with _append, and missing wh

Re: [yocto] Rocko and Circular Dependencies

2017-12-20 Thread Burton, Ross
Nobody else has seen this as far as I'm aware, and the autobuilder doesn't see it. Is that a pure oe-core/bitbake or Poky, or do you have custom layers? Can you replicate with a stock configuration? On 20 December 2017 at 03:02, Barry Grussling wrote: > Hello all, > > I am trying to move one o

[yocto] libgfortran or cross compiling a fortran application

2017-12-20 Thread Matthias Schöpfer
Hi there, I am trying to cross compile a fortran library (lapack), which fails because it cannot find libgfortran. So I am trying to build libgfortran. I added: FORTRAN_forcevariable = ",fortran" to enable support for fortran cross compile in local conf. Anyhow, bitbake libgfortran still fails:

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Zoran Stojsavljevic
> IMAGE_INSTALL_append = " bluez5" I see. This should be the another way, should'n it? CORE_IMAGE_EXTRA_INSTALL += "bluez5" Thank you, Zoran On Wed, Dec 20, 2017 at 11:21 AM, Burton, Ross wrote: > On 20 December 2017 at 10:18, Zoran Stojsavljevic < > zoran.stojsavlje...@gmail.com> wrote: > >

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Burton, Ross
On 20 December 2017 at 10:30, Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > > IMAGE_INSTALL_append = " bluez5" > > I see. > > This should be the another way, should'n it? > > CORE_IMAGE_EXTRA_INSTALL += "bluez5" > If you're using core-image then that's the preferred way, yes. Ros

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Sherif Omran
this does not solve the issue so far. It seems a package installed by rpi-basic-image does the trick. what is the difference between : core-image-minimal rpi-basic-image On Wed, Dec 20, 2017 at 10:25 AM, Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > Inside poky distro (.../pok

Re: [yocto] rfkill cannot open control device

2017-12-20 Thread Burton, Ross
On 20 December 2017 at 12:09, Sherif Omran wrote: > this does not solve the issue so far. It seems a package installed by > rpi-basic-image does the trick. > > what is the difference between : > > core-image-minimal > rpi-basic-image > I've never used meta-raspberrypi but you can just look at t

Re: [yocto] call custom sh script in do_compile

2017-12-20 Thread Mircea Gliga
Let's put it the other way around. Does anyone know a recipe that uses an shell script to build something (which must set the environment correctly and call make itself) ? Any hints are appreciated. Thanks Mircea On 20/12/17 11:37, Mircea Gliga wrote: I'm trying to figure the proper way tha

Re: [yocto] call custom sh script in do_compile

2017-12-20 Thread Burton, Ross
On 20 December 2017 at 12:19, Mircea Gliga wrote: > > Let's put it the other way around. Does anyone know a recipe that uses an > shell script to build something (which must set the environment correctly > and call make itself) ? > I can't see the difficulty. Tasks are shell scripts by default,

Re: [yocto] [meta-swupd] allow username/password encoded in SWUPD_VERSION_URL and SWUPD_CONTENT_URL

2017-12-20 Thread Patrick Ohly
Hello Ingo! Sorry for the late reply. There were quite a few things in the patch that needed further discussion, so I kept postponing dealing with it. That, and I am not sure due to staffing questions whether I am really supposed to maintain meta-swupd at the moment :-/ Right now I refrain from a

[yocto] [meta-swupd][PATCH 1/1] bundles.py: allow username/password encoded in URLs

2017-12-20 Thread Patrick Ohly
Downloading content and version information via HTTP may need a username/password for basic authentication. To support this, SWUPD_VERSION_URL and SWUPD_CONTENT_URL can now contain URLs of the form http(s)://:@/. Original patch from: Ingo Flaschberger Signed-off-by: Patrick Ohly --- lib/swupd/

[yocto] issue with clang-native when building with bitbake

2017-12-20 Thread Tomasz Michalski
Hi When I build image I get such error and build stops: ERROR: Nothing PROVIDES 'clang-native'. Close matches: NOTE: Runtime target 'lib32-ty' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lib32-ty', 'clang-native'] NOTE: Runtime target 'lib32-duma' is unbuildable

[yocto] Trying to make PylonGPS build with DEPENDS, does not find includes

2017-12-20 Thread ccSmart
Greetings. I'm trying to set up a poky layer at https://github.com/navdata-net/meta-navdatanet/tree/rocko Compiling PylonGPS from https://github.com/charlesrwest/pylonGPS requires, amongst others Google protobuf. I include this as DEPENDS += "protobuf-native" During build i get fatal err

[yocto] Some trivial question about git update-ref refs/heads/rocko ...

2017-12-20 Thread Zoran Stojsavljevic
I am trying to upgrade my poky distro with current HEAD: 65d23bd7986615fdfb0f1717b615534a2a14ab80 It is ~ one month old. And to the latest HEAD:370483fce1c2429c81b19dcf8a36394dc3fc3d92 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=370483fce1c2429c81b19dcf8a36394dc3fc3d92 The transcri

[yocto] Trying to make PylonGPS build with DEPENDS, does not find includes

2017-12-20 Thread cc_Smart
Greetings. I'm trying to set up a poky layer at https://github.com/navdata-net/meta-navdatanet/tree/rocko Compiling PylonGPS from https://github.com/charlesrwest/pylonGPS requires, amongst others Google protobuf. I include this as DEPENDS += "protobuf-native" During build i get fatal err

Re: [yocto] Some trivial question about git update-ref refs/heads/rocko ...

2017-12-20 Thread Andre McCurdy
On Wed, Dec 20, 2017 at 8:32 AM, Zoran Stojsavljevic wrote: > I am trying to upgrade my poky distro with current HEAD: > 65d23bd7986615fdfb0f1717b615534a2a14ab80 > > It is ~ one month old. > > And to the latest HEAD:370483fce1c2429c81b19dcf8a36394dc3fc3d92 > http://git.yoctoproject.org/cgit/cgit.c

Re: [yocto] [meta-swupd][PATCH 1/1] bundles.py: allow username/password encoded in URLs

2017-12-20 Thread Ingo Flaschberger
Dear Patrick, this doesn't work: 0162:    """ 0163:    parsed_url = urllib.parse.urlsplit(url) 0164:    if parsed_url.username != None: 0165:    # Use the netloc with just the hostname, without username/password.  *** 0166:    parsed_url.netloc = parsed_url.hostname

[yocto] add kernel modules & dtbo's for Raspberry Pi3

2017-12-20 Thread Greg Wilson-Lindberg
I'm building an image for the Raspberry Pi 3 and I'm trying to add some modules to the kernel and I need to add some device tree overlays. The modules and overlays are part of the kernel, just not built by default. For the kernel modules I've added a linux-raspberrypi_4.4.bbappend file in the

Re: [yocto] Rocko and Circular Dependencies

2017-12-20 Thread Barry Grussling
It does have a custom layer in it. I am also using meta-linaro. I have tried to reproduce it in the stock configuration and have not been successful. It isn't yet obvious to me what I am doing in my layer that is causing the cirular reference in the base layers. I will keep digging and see what

[yocto] QA cycle report for 2.3.3 RC1

2017-12-20 Thread Cruz, Libertad
Hello All, Enjoy viewing the full Report for 2.3.3 RC1:  https://wiki.yoctoproject.org/wiki/WW51_-_2017-12-20-_Full_Test_Cycle_-_2.3.3_rc1 === Summary The QA cycle for release 2.3.3 RC1 is complete.  There are 4 new bugs from which so far none of them are high. QA has two big conce