[yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Valentin Le bescond
Hi all, I'm working an a meta-wolfson layer to add the wolfson audio card support to the meta-raspberrypi layer. It's a very simple set of patche, but they apply to linux kernel 3.10.* And the PREFERED_VERSION of the machine configuration (raspberrypi.conf) is : PREFERRED_VERSION_linux-raspberr

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Gaurang Shastri
Well, if you want to use your own kernel source, you can use something like this: == inherit kernel externalsrc EXTERNALSRC = "/home/xyz/linux-stable" S = "${EXTERNALSRC}" ... == //Gaurang Shastri On Wed, Feb 18, 2015 at 4:23 PM, Valentin Le bescond < valentin.lebesc...@gmail.com> wrote: > Hi a

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Valentin Le bescond
Thank you for your help ! What you propose is using a kernel downloaded manually and outside of the yocto build directory ? I don't intend to use a custom kernel source. I was hopping to just use the existing 3.10.% kernel recipe. this is the content of the recipes-kernel folder : ~/yocto/poky/

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Paul Eggleton
Hi Valentin, On Wednesday 18 February 2015 11:53:57 Valentin Le bescond wrote: > I'm working an a meta-wolfson layer to add the wolfson audio card support > to the meta-raspberrypi layer. > > It's a very simple set of patche, but they apply to linux kernel 3.10.* > > And the PREFERED_VERSION of

[yocto] Error while building x264 for FreeScale

2015-02-18 Thread Bipnesh, Abhinav (Abhinav)
Hi All, I was trying to build x264 for FreeScale PowerPc and it getting failed with below error log Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | No working C compile

Re: [yocto] Yocto Realtime tests on beaglebone black

2015-02-18 Thread Bruce Ashfield
On 15-02-17 05:57 PM, Stephen Flowers wrote: I loaded the system effectively and also changed my rt application to use asynchronous IO - I find the rt kernel is much tighter at periodic latency yet seems to be worse in the latency measurements. I'm asuming the non-deteministic nature of userland

Re: [yocto] Yocto Realtime tests on beaglebone black

2015-02-18 Thread Stephen Flowers
The device is just a gpio pin registered at /sys/class/gpio/gpioxx/value Can you link to where I can read about the "well known" latency issues running -rt with USB and flash? The rootfs is located on flash so could this explain the cause? Steve On 18/02/2015 14:57, Bruce Ashfield wrote: On

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Valentin Le bescond
Hi Paul, thank you. I tryed editing /meta-wolfson/conf/layer.conf or /build/conf/layer.conf, adding : PREFERED_VERSION_linux-raspberrypi = "3.10.%" but neither worked (still using 3.12) I endded up editing meta-raspberrypi's machine configuration and it works fine. It's good, but that means I w

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Gary Thomas
On 2015-02-18 09:33, Valentin Le bescond wrote: Hi Paul, thank you. I tryed editing /meta-wolfson/conf/layer.conf or /build/conf/layer.conf, adding : PREFERED_VERSION_linux-raspberrypi = "3.10.%" but neither worked (still using 3.12) I endded up editing meta-raspberrypi's machine configuratio

Re: [yocto] [meta-sunxi] handle no soname shared library

2015-02-18 Thread Qiang Yu
do it by adding: python package_do_shlibs_append() { pn = d.getVar('PN', True) libdir = d.getVar('libdir', True) shlibs_file = os.path.join(shlibswork_dir, pn + ".list") fd = open(shlibs_file, 'w') fd.write('libEGL.so:' + libdir + ':' + ver + '\n') fd.write('libGLESv1

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Paul Eggleton
On Wednesday 18 February 2015 17:33:26 Valentin Le bescond wrote: > I tryed editing /meta-wolfson/conf/layer.conf or /build/conf/layer.conf, > adding : > PREFERED_VERSION_linux-raspberrypi = "3.10.%" > > but neither worked (still using 3.12) I assume you tried build/conf/local.conf not build/conf

Re: [yocto] How to switch kernel version without touching PREFERED VERSION

2015-02-18 Thread Valentin Le bescond
@Gary, you were right on the spelling. It always works best without spelling mistakes (inside "meta-wolfson/conf/layer.conf") I did indeed meant local.conf, not layer.conf in the build dir. I wanted to use an older kernel because the wolfson audio card for the rpi is distributed as a set of patch

Re: [yocto] Yocto Realtime tests on beaglebone black

2015-02-18 Thread Bruce Ashfield
On 15-02-18 10:19 AM, Stephen Flowers wrote: The device is just a gpio pin registered at /sys/class/gpio/gpioxx/value Can you link to where I can read about the "well known" latency issues running -rt with USB and flash? The rootfs is located on flash so could this explain the cause? I should

[yocto] Simple recipe quit working in dizzy

2015-02-18 Thread Jim Rafert
Hi all, The following recipe, spectra-postbuild_0.1.bb, quit working when I ported from 1.6 daisy to 1.7.1 dizzy. I include the recipe in my image by adding it at the end of of the IMAGE_INSTALL_append variable in my local.conf file. The purpose of the recipe is simply to lay down some files

Re: [yocto] [OE-core] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade

2015-02-18 Thread Richard Purdie
On Wed, 2015-02-18 at 10:38 -0800, Khem Raj wrote: > > On Feb 18, 2015, at 5:06 AM, Richard Purdie > > wrote: > > On Wed, 2015-02-18 at 11:51 +, Richard Purdie wrote: > >> On Wed, 2015-02-18 at 01:01 -0800, Khem Raj wrote: > > The series needs: > > > > TUNE_CCARGS_x86 := "${@oe_filter_out('-

Re: [yocto] [OE-core] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade

2015-02-18 Thread Khem Raj
> On Feb 18, 2015, at 1:41 PM, Richard Purdie > wrote: > > On Wed, 2015-02-18 at 10:38 -0800, Khem Raj wrote: >>> On Feb 18, 2015, at 5:06 AM, Richard Purdie >>> wrote: >>> On Wed, 2015-02-18 at 11:51 +, Richard Purdie wrote: On Wed, 2015-02-18 at 01:01 -0800, Khem Raj wrote: >>> The

Re: [yocto] [OE-core] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade

2015-02-18 Thread Khem Raj
> On Feb 18, 2015, at 4:23 PM, Khem Raj wrote: > > >> On Feb 18, 2015, at 1:41 PM, Richard Purdie >> wrote: >> >> On Wed, 2015-02-18 at 10:38 -0800, Khem Raj wrote: On Feb 18, 2015, at 5:06 AM, Richard Purdie wrote: On Wed, 2015-02-18 at 11:51 +, Richard Purdie wrote: >>

Re: [yocto] [OE-core] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade

2015-02-18 Thread Khem Raj
> On Feb 18, 2015, at 4:28 PM, Khem Raj wrote: > > >> On Feb 18, 2015, at 4:23 PM, Khem Raj wrote: >> >> >>> On Feb 18, 2015, at 1:41 PM, Richard Purdie >>> wrote: >>> >>> On Wed, 2015-02-18 at 10:38 -0800, Khem Raj wrote: > On Feb 18, 2015, at 5:06 AM, Richard Purdie > wrote: >

Re: [yocto] [OE-core] [RFT] upcoming glibc 2.21 and gcc 4.9 upgrade

2015-02-18 Thread Khem Raj
> On Feb 18, 2015, at 4:31 PM, Khem Raj wrote: > > >> On Feb 18, 2015, at 4:28 PM, Khem Raj wrote: >> >> >>> On Feb 18, 2015, at 4:23 PM, Khem Raj wrote: >>> >>> On Feb 18, 2015, at 1:41 PM, Richard Purdie wrote: On Wed, 2015-02-18 at 10:38 -0800, Khem Raj wrote: >>

[yocto] [meta-selinux][PATCH] layer: update configuration and dependencies

2015-02-18 Thread Joe MacDonald
Add in support for optional bbappends based on the presence of other layers in the project and move the lxc recipe to a meta-virtualization location. Signed-off-by: Joe MacDonald --- README | 13 + conf/layer.conf

[yocto] Issue while building the meta-oic layer for my bsp

2015-02-18 Thread Raghavendra Kakarla
Hi, I need to build meta-oic layer on yocto for my machine which is a mips32 processor core. While i am building i got following errors. Could you please help me for resolve this issue. Errors are like following: ERROR: Function failed: do_install (log file is located at /home/testuser/poky/