All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diego Sueiro <diego.sueiro@gmail.com>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
	Rudolf Streif <rstreif@linuxfoundation.org>
Subject: Re: Custom defconfig is not used
Date: Wed, 16 Oct 2013 14:25:38 -0300	[thread overview]
Message-ID: <CAMCfZKF_Rp=uds8tnDPSD9k3GO5dEiHSx9WfYjZ0yPkmh_9YPg@mail.gmail.com> (raw)
In-Reply-To: <CAAQYJAu+wU0ODvVoTrRBFhVOUVh+CdMg3mimfgGkj-pwJh3A1g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4069 bytes --]

Guys,

As I told before, I already tried the config fragment strategy and it did
not worked too.

Looking at linux-mailine-3.8.bb from meta-beagleboard[1] it just inherits
kernel and not inherits linux-yocto or requires linux-yocto.inc. So I
believe that the config fragment will not work. But I can be wrong.

On directory "meta-mine/recipes-kernel/linux/" I have this:

.
├── files
│   ├── mine.patch
│   └── defconfig
└── linux-mainline_3.8.bbappend


And my linux-mainline_3.8.bbappend recipe:

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " file://mine.patch \
             file://defconfig \
             "

The mine.patch is applied but defconfig not.

I've already tried to use another FILESEXTRAPATHS layout like[2],but no
success too.

How can I have the "bb" command listed on the following link?
http://www.crashcourse.ca/wiki/index.php/OE_FILESEXTRAPATHS


[1] -
 https://github.com/beagleboard/meta-beagleboard/blob/dylan/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
[2] -
http://cgit.openembedded.org/meta-handheld/tree/recipes-kernel/linux/linux-yocto_3.10.bbappend

Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/


2013/10/15 Andrea Adami <andrea.adami@gmail.com>

> Hi,
>
> I guess you're setting a wrong FILESEXTRAPATHS_prepend :=
> "${THISDIR}/files:"
>
> See this example, using simple defconfig for some devices and an
> experimental configuration (WIP ;) fo others using fragments.
>
>
> http://cgit.openembedded.org/meta-handheld/tree/recipes-kernel/linux/linux-yocto_3.10.bbappend
>
> Cheers
>
> Andrea
>
>
> On Tue, Oct 15, 2013 at 11:49 PM, Rudolf Streif
> <rstreif@linuxfoundation.org> wrote:
> > Diego,
> >
> > You are appending a kernel recipe that uses the Linux Yocto tooling. The
> > defconfig is essentially comprised of many different pieces from the meta
> > branch of the Yocto kernel repository and optional configuration
> fragments
> > that you provide. This tooling will not recognize a defconfig file you
> > provide but it does recognize configuration fragments to be added to
> > .config.
> >
> > You need to put
> >
> > CONFIG_WATCHDOG_NOWAYOUT=y
> >
> > into a file that ends with .cfg eg. watchdog.cfg and then modify your
> > bbappend to
> >
> > FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> > SRC_URI += " file://0019-mine.patch \
> >              file://watchdog.cfg \
> >              "
> >
> > Rudi
> >
> >
> >
> > On Tue, Oct 15, 2013 at 2:07 PM, Diego Sueiro <diego.sueiro@gmail.com>
> > wrote:
> >>
> >> Folks,
> >>
> >> I created the following bbapend recipe for linux-mainline_3.8.bb (from
> >> meta-beagleboard on dylan branch) for beaglebone.
> >> meta-mine/recipes-kernel/linux/linux-mainline_3.8.bbappend:
> >>
> >> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> >> SRC_URI += " file://0019-mine.patch \
> >>              file://defconfig \
> >>              "
> >>
> >> But the defconfig and .config files on ${S} and ${WORKDIR} used are from
> >> meta-beagleboad, not from my bbappend.
> >>
> >> I tried to follow the instructions to add config fragments on the page
> >> below but it did not worked too.
> >>
> >>
> http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration
> >>
> >> The strange thing is: My patch is applied but my defconfig, or config
> >> fragment is not used.
> >> I just want to add CONFIG_WATCHDOG_NOWAYOUT=y.
> >>
> >> I already did a cleasstate but no success.
> >>
> >> Any hints?
> >>
> >>
> >> 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
> >
>

[-- Attachment #2: Type: text/html, Size: 6900 bytes --]

  reply	other threads:[~2013-10-16 17:25 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 21:07 Custom defconfig is not used Diego Sueiro
2013-10-15 21:29 ` Katu Txakur
2013-10-15 21:49 ` Rudolf Streif
2013-10-15 21:55   ` Andrea Adami
2013-10-16 17:25     ` Diego Sueiro [this message]
2013-10-16 18:19       ` Diego Sueiro
2013-10-17  3:56         ` Bruce Ashfield
2013-10-17 10:39           ` Diego Sueiro
2013-10-17 12:50             ` Bruce Ashfield
2013-10-17 13:15               ` Diego Sueiro
2013-10-17 13:19                 ` Bruce Ashfield
2013-10-17 13:51                   ` Andrea Adami
2013-10-17 15:47                   ` Diego Sueiro
2013-10-18  4:48                     ` Bruce Ashfield
2013-10-18  9:17                       ` Diego Sueiro
2013-10-18 20:17                         ` Bruce Ashfield
2013-10-22 16:23                           ` Mike Lewis
2013-10-22 22:10                             ` Bruce Ashfield
2013-10-24  0:17                             ` Bruce Ashfield
2013-10-25 11:43                               ` Diego Sueiro
2013-10-25 18:44                                 ` Bruce Ashfield
2013-10-26  1:19                                   ` Mike Lewis
2013-10-26 10:57                                     ` Diego Sueiro
2013-10-26 14:54                                       ` Bruce Ashfield
2013-10-28 20:58                                       ` Bruce Ashfield
2013-10-28 21:41                                         ` Mike Lewis
2013-10-29 10:33                                         ` Diego Sueiro
2013-10-29 11:00                                           ` Andrea Adami
2013-10-29 14:55                                             ` Diego Sueiro
2013-10-29 15:31                                               ` Diego Sueiro
2013-10-30 13:04                                                 ` Bruce Ashfield
2013-10-30 13:54                                                 ` Bruce Ashfield
2013-10-30 14:08                                                   ` Diego Sueiro
2013-10-30 14:26                                                 ` Bruce Ashfield
2013-11-04  3:14                                                 ` Bruce Ashfield
2013-11-28 15:37                                                   ` Diego Sueiro
2013-11-28 15:49                                                     ` Bruce Ashfield
2013-11-28 16:26                                                       ` Diego Sueiro
2013-11-28 16:28                                                         ` Bruce Ashfield
2013-11-28 16:41                                                           ` Paul Eggleton
2013-11-28 17:26                                                             ` Bruce Ashfield
2013-10-30  7:57 ` Jukka Rissanen
2013-10-30 12:27   ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMCfZKF_Rp=uds8tnDPSD9k3GO5dEiHSx9WfYjZ0yPkmh_9YPg@mail.gmail.com' \
    --to=diego.sueiro@gmail.com \
    --cc=andrea.adami@gmail.com \
    --cc=rstreif@linuxfoundation.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.