[yocto] [Custom PV for Image] Image not build correctyl - exits with an error

2015-12-09 Thread Kubalski, Lukasz (EXT-Espotel - PL/Wroclaw)
Hi In our project we had an idea to use more customized Image names based on PV. The idea was to set PV to format CommitDate.hash. I achieved that by creating class and inheriting it in our image .bb recipes. Class content (brief): DESCRIPTION = "Class for automatic recipe versioning based o

Re: [yocto] in-tree defconfig

2015-12-09 Thread Daniel.
Hey Robert, I've done this by prepending kernel configure task. It just copies the *_defconfig file to WORKDIR as defconfig. do_configure_prepend() { cp ${S}/arch/arm/configs/my_defconfig ${WORKDIR}/defconfig } Regards, - dhs 2015-12-09 21:43 GMT-02:00 Robert Berger : > Hi, > > This seems t

Re: [yocto] in-tree defconfig

2015-12-09 Thread Robert Berger
Hi, This seems to do the trick: https://github.com/RobertBerger/meta-mainline/blob/jethro-training-v4.1.x/multi-v7-ml/recipes-kernel/linux/linux-yocto-custom.inc Regards, Robert ..."The scientific name for an animal that doesn't either run from or fight its enemies is lunch." - Michael Fried

[yocto] in-tree defconfig

2015-12-09 Thread Robert Berger
Hi, What I wanted to do is to start from an in-tree defconfig like multi_v7_defconfig instead of a defconfig file in a kernel recipe (which works). Maybe we have a different definition of an in-tree defconfig file, but what I mean is the output of make multi_v7_defconfig, I guess what you mean is

[yocto] Cleanly moving files from one package to another

2015-12-09 Thread Bryan Evenson
All, I'm on poky/dizzy-1.7.3 and I'm using opkg for a package manager. I have a few script files that are part of one package that really belong with another. So I updated both recipes, removed the file from one recipe and added it to the other recipe. I built everything, made the opkg feed

[yocto] Trying to add a recipe for ROOT

2015-12-09 Thread Giordon Stark
Hi all, I'm trying to add a recipe for ROOT (from CERN) but I'm running into various issues with just trying to get compilers working. Current recipe: https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb Current log: https://gist.github.com/kratsg/cd3184a167676eb69

Re: [yocto] Fetching source from multiple git repositories

2015-12-09 Thread Khem Raj
> On Dec 8, 2015, at 1:28 AM, V, Nishanth wrote: > > Hi, > > I am trying to write a recipe which has to fetch source from 2 different git > URI. Basically, I have to place code from 2 different git projects in folders > side by side and apply patch to add a makefile which will build both of t

[yocto] Fetching source from multiple git repositories

2015-12-09 Thread V, Nishanth
Hi, I am trying to write a recipe which has to fetch source from 2 different git URI. Basically, I have to place code from 2 different git projects in folders side by side and apply patch to add a makefile which will build both of them together. Can I have multiple git:// SRC_URI in a single re

Re: [yocto] Custom kernel headers and SDK

2015-12-09 Thread Vuille, Martin (Martin)
Hi Valentin, Not sure whether this the “canonical” Yocto way, but here’s how we solved the same issue. First, let me say that we use a BSP from our technology partner, and have our own meta-XXX layer for customization. - Created a .bbappend in our layer for the kernel recipe -

[yocto] [PATCH] poky.conf: Bump for 2.1 development

2015-12-09 Thread Beth Flanagan
Signed-off-by: Beth Flanagan --- meta-yocto/conf/distro/poky.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index 2c99da8..e62ad4d 100644 --- a/meta-yocto/conf/distro/poky.conf +++ b/meta-yocto/conf/

[yocto] To Customize the toolchain path in meta-bsp layer

2015-12-09 Thread Yukatharsani Jeyachandra
Hi All, I am trying to build my meta-bsp layer using external linaro toolchain path. But i am getting some issues since i set EXTERNAL_TOOLCHAIN path in local.conf file. Is there any way to customize my meta layer alone to take external linaro tool chain not other

Re: [yocto] how can i figure out where a particular kernel config option came from?

2015-12-09 Thread Robert P. J. Day
On Wed, 9 Dec 2015, Bruce Ashfield wrote: > On 12/09/2015 05:36 AM, Robert P. J. Day wrote: > > > >short version: with a short BSP layer i've been handed, the eventual > > kernel .config file ends up with the setting: > > > >CONFIG_WIRELESS=y > > > > which makes no sense as the target boar

Re: [yocto] how can i figure out where a particular kernel config option came from?

2015-12-09 Thread Bruce Ashfield
On 12/09/2015 05:36 AM, Robert P. J. Day wrote: short version: with a short BSP layer i've been handed, the eventual kernel .config file ends up with the setting: CONFIG_WIRELESS=y which makes no sense as the target board has no wireless and the BSP itself doesn't set that, so how can i

Re: [yocto] [meta-raspberrypi][fido][PATCH 0/4] Backport of various fixes

2015-12-09 Thread Andrei Gherzan
On Thu, Aug 13, 2015 at 03:12:20PM +0200, Petter Mabäcker wrote: > Backport of various fixes and important updates (backward compatible) from > meta-raspberrypi:master to meta-raspberrypi:fido > > The following changes since commit b896a7da70dd7a16ba7ffd664f7747cb37e1d142: > > .gitignore: Ignore

[yocto] how can i figure out where a particular kernel config option came from?

2015-12-09 Thread Robert P. J. Day
short version: with a short BSP layer i've been handed, the eventual kernel .config file ends up with the setting: CONFIG_WIRELESS=y which makes no sense as the target board has no wireless and the BSP itself doesn't set that, so how can i start tracking back to figure out where that particu

[yocto] DHCP kernel 2.6.35

2015-12-09 Thread ed
Hi, Regards the Yocto 2.6.35 kernel I have two questions; this is for an imx28; 1) What if anything is responsible for getting a new DHCP lease (and IP address) after it expires or misses the initial lease? If the Ethernet cable is plugged in post booting up, the device never gets an address.