From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4F265E01777 for ; Sat, 26 Oct 2013 03:57:52 -0700 (PDT) Received: by mail-ie0-f175.google.com with SMTP id aq17so7938752iec.6 for ; Sat, 26 Oct 2013 03:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EBiUWQr7YJaSD/kj88Ht38bqubDbJfh4+yNqBuZKJU4=; b=JDdfPsCJwedvzDvMZqA3uOeFYhyDtjAFoGf3Wses2JSBEjhaMzenMoMwRmZY7hozUl 3C3CxTPxCSfQius+NAK0eilSyYfGok4aggFFBF6yNomarzkCGU3rm27OmTuMIB/yZzGI sTnxExLCzU3WagAbdvMh8fQGGaMxm1rU4P5DAHjZi7s4cA2gn/B1Rpyu/6P//OfstRZM QO/Tdc7eSbwtcCIf+xHbhj6e5TusNBzJTxXhp1BH6SyV9d0hnteMhNSKmfNLvL+t8DnR jNvVxAHTofQgC49X0pqPD0UDPdXVIFNjOFqmUkocUAj7OCDlfiju+XGhciFwfAL4e6zc /RdQ== X-Received: by 10.50.22.101 with SMTP id c5mr1787674igf.17.1382785071442; Sat, 26 Oct 2013 03:57:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.26.233 with HTTP; Sat, 26 Oct 2013 03:57:31 -0700 (PDT) In-Reply-To: <526B18BC.5050302@alphalem.com> References: <525FDD08.90400@windriver.com> <525FE3C9.3070003@windriver.com> <5260BDA6.4020807@windriver.com> <5261974C.7010202@windriver.com> <5266A665.8030303@alphalem.com> <52686723.4080305@windriver.com> <526B18BC.5050302@alphalem.com> From: Diego Sueiro Date: Sat, 26 Oct 2013 08:57:31 -0200 Message-ID: To: Mike Lewis Cc: "yocto@yoctoproject.org" Subject: Re: Custom defconfig is not used X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 10:57:53 -0000 Content-Type: multipart/alternative; boundary=047d7b10c9cbfc0f9904e9a2bc3a --047d7b10c9cbfc0f9904e9a2bc3a Content-Type: text/plain; charset=ISO-8859-1 Bruce, We have two scenarios here: 1. bbapend with full defconfig replacement 2. bbapend with config fragments The first scenario just worked when using FILESPATH_prepend. For me it does not make sense, since on YP manual says that FILESEXTRAPATHS_prepend must be use [1]. The second scenario did not worked even changing to FILESPATH_prepend. [1] - http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-FILESEXTRAPATHS Regards, -- *dS Diego Sueiro /*long live rock 'n roll*/ 2013/10/25 Mike Lewis > Bruce: yep, fixed my issue. Sorry for the bother! > > Diego: thanks for the solution! > > - Mike > > > On 10/25/2013 11:44 AM, Bruce Ashfield wrote: > >> On Fri, Oct 25, 2013 at 7:43 AM, Diego Sueiro >> wrote: >> >>> Bruce, >>> >>> Regarding the defconfig not used, I've found this thread on Angstrom >>> devel >>> ML: >>> http://www.mail-archive.com/**angstrom-distro-devel@** >>> linuxtogo.org/msg06721.html >>> >>> I've replaced "FILESEXTRAPATHS_prepend" with "FILESPATH_prepend" and >>> removed >>> the custom "do_configure_prepend" function and bitbake is now using my >>> defconfig. >>> So, it seems that there is an issue with FILESEXTRAPATHS variable. >>> >>> Aha. That does make sense. >> >> Mike: does that same change fix your issues ? >> >> Bruce >> >> Regards, >>> >>> -- >>> *dS >>> Diego Sueiro >>> >>> /*long live rock 'n roll*/ >>> >>> >>> 2013/10/23 Bruce Ashfield >>> >>>> On 13-10-22 12:23 PM, Mike Lewis wrote: >>>> >>>>> Hi Bruce, >>>>> >>>>> I'm trying to accomplish the nearly the same thing (i.e. adding config >>>>> fragment) and I'm having the same issue at the do_patch step. Were you >>>>> able to reproduce this on your end? >>>>> >>>> >>>> Mike, >>>> >>>> Is you config/layer somewhere than I can have a look at it ? I was >>>> trying >>>> some builds here, and my tests are working. But I'd like to try it >>>> with your config as well. >>>> >>>> Bruce >>>> >>>> >>>> Thanks, >>>>> Mike >>>>> >>>>> On 10/18/2013 01:17 PM, Bruce Ashfield wrote: >>>>> >>>>>> On 13-10-18 05:17 AM, Diego Sueiro wrote: >>>>>> >>>>>>> >>>>>>> 2013/10/18 Bruce Ashfield >>>>>> >>>>>>> >> >>>>>>> >>>>>>> I fell behind today .. i had 2300 unread email to start this >>>>>>> morning :) >>>>>>> Is there a way that I can get a copy of your recipes and layers >>>>>>> ? >>>>>>> If >>>>>>> I can do a build myself, I can easily debug and fix this .. >>>>>>> otherwise, we'll >>>>>>> go back and forth many times debugging. >>>>>>> >>>>>>> Cheers, >>>>>>> >>>>>>> Bruce >>>>>>> >>>>>>> >>>>>>> I'm using the environment provided by Angstrom from it's github setup >>>>>>> scripts. >>>>>>> If you want to exactly reproduce it you need to: >>>>>>> >>>>>>> git clone >>>>>>> https://github.com/Angstrom-**distribution/setup-scripts.git >>>>>>> cd setup-scripts >>>>>>> git checkout angstrom-v2013.06-yocto1.4 >>>>>>> MACHINE=beaglebone ./oebb.sh config beaglebone >>>>>>> >>>>>>> Here is the setup and files for meta-mine: >>>>>>> >>>>>>> bblayers.conf: >>>>>>> >>>>>>> BBLAYERS = \" >>>>>>> >>>>>>> ... >>>>>>> ${TOPDIR}/sources/meta-mine \ >>>>>>> " >>>>>>> >>>>>>> meta-mine/conf/layer.conf: >>>>>>> >>>>>>> # We have a conf and classes directory, append to BBPATH >>>>>>> BBPATH .= ":${LAYERDIR}" >>>>>>> # We have a recipes directory, add to BBFILES >>>>>>> BBFILES += "${LAYERDIR}/recipes*/*/*.bb >>>>>>> ${LAYERDIR}/recipes*/*/*.**bbappend" >>>>>>> BBFILE_COLLECTIONS += "mine-layer" >>>>>>> BBFILE_PATTERN_mine-layer := "^${LAYERDIR}/" >>>>>>> BBFILE_PRIORITY_mine-layer = "10" >>>>>>> LAYERDEPENDS_mine-layer = "angstrom-layer" >>>>>>> >>>>>>> meta-mine/recipes-kernel/**linux/linux-mainline_3.8.**bbappend: >>>>>>> >>>>>>> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.8:" >>>>>>> inherit kernel >>>>>>> require recipes-kernel/linux/linux-**yocto.inc >>>>>>> COMPATIBLE_MACHINE_beaglebone = "(beaglebone)" >>>>>>> SRC_URI += " file://config-addons.cfg " >>>>>>> >>>>>>> meta-mine/recipes-kernel/**linux/linux-mainline-3.8/** >>>>>>> config-addons.cfg: >>>>>>> >>>>>>> CONFIG_WATCHDOG_NOWAYOUT=y >>>>>>> CONFIG_NTFS_FS=y >>>>>>> CONFIG_NTFS_RW=y >>>>>>> >>>>>>> >>>>>>> >>>>>>> But I think that instead of using the whole Angstrom you can just use >>>>>>> poky and meta-beagleboard/common-bsp on dylan branch. >>>>>>> >>>>>> >>>>>> Great. I'll launch some test builds and see what breaks (or works) :) >>>>>> >>>>>> Bruce >>>>>> >>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> -- >>>>>>> *dS >>>>>>> Diego Sueiro >>>>>>> >>>>>>> /*long live rock 'n roll*/ >>>>>>> >>>>>> >>>>>> ______________________________**_________________ >>>>>> yocto mailing list >>>>>> yocto@yoctoproject.org >>>>>> https://lists.yoctoproject.**org/listinfo/yocto >>>>>> >>>>> >>>>> ______________________________**_________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.**org/listinfo/yocto >>>> >>> >>> >>> ______________________________**_________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.**org/listinfo/yocto >>> >>> >> >> > --047d7b10c9cbfc0f9904e9a2bc3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Bruce,

We have two scenarios here= :
  1. bbapend with full defconfig replaceme= nt
  2. bbapend with config fragments
The firs= t scenario just worked when using=A0FILESPATH_prepend. For me it does not make sense, sinc= e on YP manual says that=A0FILESEXTRAPATHS_prepend=A0must be use [1].

=
The second scenario did not worked even changing to=A0FILESPATH_prepend.

=



=
Regards,

-= -
*dS
Diego Sueiro

/*long live rock 'n roll*/


2013/10/25 Mike Lewis = <mikelewis@a= lphalem.com>
Bruce: yep, fixed my issue. Sorry for the bother!

Diego: thanks for the solution!
- Mike


On 10/25/2013 11:44 AM, Bruce Ashfield wrote:
On Fri, Oct 25, 2013 at 7:43 AM, Diego Sueiro <diego.sueiro@gmail.com> wrote:
Bruce,

Regarding the defconfig not used, I've found this thread on Angstrom de= vel
ML:
http://www.mail-archive.com/angstro= m-distro-devel@linuxtogo.org/msg06721.html

I've replaced "FILESEXTRAPATHS_prepend" with "FILESPATH_= prepend" and removed
the custom "do_configure_prepend" function and bitbake is now usi= ng my
defconfig.
So, it seems that there is an issue with FILESEXTRAPATHS variable.

Aha. That does make sense.

Mike: does that same change fix your issues ?

Bruce

Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/


2013/10/23 Bruce Ashfield <bruce.ashfield@windriver.com>
On 13-1= 0-22 12:23 PM, Mike Lewis wrote:
Hi Bruce,

I'm trying to accomplish the nearly the same thing (i.e. adding config<= br> fragment) and I'm having the same issue at the do_patch step. Were you<= br> able to reproduce this on your end?

Mike,

Is you config/layer somewhere than I can have a look at it ? I was trying some builds here, and my tests are working. But I'd like to try it
with your config as well.

Bruce


Thanks,
Mike

On 10/18/2013 01:17 PM, Bruce Ashfield wrote:
On 13-1= 0-18 05:17 AM, Diego Sueiro wrote:

2013/10/18 Bruce Ashfield <bruce.ashfield@windriver.com
<mailto:bruce.ashfield@windriver.com>>

=A0 =A0 =A0I fell behind today .. i had 2300 unread email to start this
morning :)
=A0 =A0 =A0Is there a way that I can get a copy of your recipes and layers = ?
If
=A0 =A0 =A0I can do a build myself, I can easily debug and fix this ..
=A0 =A0 =A0otherwise, we'll
=A0 =A0 =A0go back and forth many times debugging.

=A0 =A0 =A0Cheers,

=A0 =A0 =A0Bruce


I'm using the environment provided by Angstrom from it's github set= up
scripts.
If you want to exactly reproduce it you need to:

=A0 =A0 =A0git clone
https://github.com/Angstrom-distribution/setup-scripts= .git
=A0 =A0 =A0cd setup-scripts
=A0 =A0 =A0git checkout angstrom-v2013.06-yocto1.4
=A0 =A0 =A0MACHINE=3Dbeaglebone ./oebb.sh config beaglebone

Here is the setup and files for meta-mine:

bblayers.conf:

=A0 =A0 =A0BBLAYERS =3D \"

=A0 =A0 =A0 =A0 =A0...
=A0 =A0 =A0 =A0 =A0${TOPDIR}/sources/meta-mine \
=A0 =A0 =A0 =A0 =A0"

meta-mine/conf/layer.conf:

=A0 =A0 =A0# We have a conf and classes directory, append to BBPATH
=A0 =A0 =A0BBPATH .=3D ":${LAYERDIR}"
=A0 =A0 =A0# We have a recipes directory, add to BBFILES
=A0 =A0 =A0BBFILES +=3D "${LAYERDIR}/recipes*/*/*.bb
=A0 =A0 =A0${LAYERDIR}/recipes*/*/*.bbappend"
=A0 =A0 =A0BBFILE_COLLECTIONS +=3D "mine-layer"
=A0 =A0 =A0BBFILE_PATTERN_mine-layer :=3D "^${LAYERDIR}/"
=A0 =A0 =A0BBFILE_PRIORITY_mine-layer =3D "10"
=A0 =A0 =A0LAYERDEPENDS_mine-layer =3D "angstrom-layer"

meta-mine/recipes-kernel/linux/linux-mainline_3.8.bbappend:
=A0 =A0 =A0FILESEXTRAPATHS_prepend :=3D "${THISDIR}/${PN}-3.8:" =A0 =A0 =A0inherit kernel
=A0 =A0 =A0require recipes-kernel/linux/linux-yocto.inc
=A0 =A0 =A0COMPATIBLE_MACHINE_beaglebone =3D "(beaglebone)"
=A0 =A0 =A0SRC_URI +=3D " file://config-addons.cfg "

meta-mine/recipes-kernel/linux/linux-mainline-3.8/config-addo= ns.cfg:

=A0 =A0 =A0CONFIG_WATCHDOG_NOWAYOUT=3Dy
=A0 =A0 =A0CONFIG_NTFS_FS=3Dy
=A0 =A0 =A0CONFIG_NTFS_RW=3Dy



But I think that instead of using the whole Angstrom you can just use
poky and meta-beagleboard/common-bsp on dylan branch.

Great. I'll launch some test builds and see what breaks (or works) :)
Bruce


Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/

_______________________________________________
yocto mailing list
yocto@yoctoproj= ect.org
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
yocto@yoctoproj= ect.org
https://lists.yoctoproject.org/listinfo/yocto


_______________________________________________
yocto mailing list
yocto@yoctoproj= ect.org
https://lists.yoctoproject.org/listinfo/yocto





--047d7b10c9cbfc0f9904e9a2bc3a--