All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: gmane@reliableembeddedsystems.com, poky@pokylinux.org
Subject: Re: workflow - kernel config
Date: Tue, 08 Nov 2011 11:24:47 -0800	[thread overview]
Message-ID: <4EB981FF.7020403@linux.intel.com> (raw)
In-Reply-To: <CADkTA4OJ5qFh50jJCKBDJiLHHhdaDdJ8_W8jpOhpWY4_zdg=0w@mail.gmail.com>



On 11/07/2011 09:58 AM, Bruce Ashfield wrote:
> On Mon, Nov 7, 2011 at 11:39 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Fri, 2011-11-04 at 15:15 -0400, Bruce Ashfield wrote:
>>> On Fri, Nov 4, 2011 at 1:23 PM, Robert Berger
>>> <gmane@reliableembeddedsystems.com> wrote:
>>>> Hi,
>>>>
>>>> I'm playing with poky-edison-6.0 and the default 2.6.37.6 kernel on a
>>>> beagle board with core-image-sato-sdk.
>>>>
>>>> Interestingly enough there is user space support e.g. for oprofile, but
>>>> oprofile is not configured in the kernel.
>>>>
>>>> The same for lacencytop and powertop,...
>>>
>>> We have feature descriptions for all of the above as components in the
>>> linux-yocto
>>> kernel repository, but they do need to be turned on and tested on a per board
>>> basis.
>>>
>>> We can trigger kernel options based on userspace packages being enabled or
>>> disabled, but that still wouldn't be a guarantee that they'd work. The
>>> options that
>>> are within the tree are a documentation of what has actually been tested.
>>>
>>> The 2.6.37 tree was a transition point,and we've continued standardizing the
>>> options and feature set in the later kernels. For yocto 1.2 we'll have a better
>>> defined and consistent set of feature blocks. It's a building process
>>> and we move
>>> forward.
>>>
>>> As others will point out there are other/deeper beagle board BSPs and layers
>>> (i.e. meta-texasinstruments) that likely already have support for these options\
>>> (but I haven't checked recently), so that's an avenue to explore as well.
>>>
>>>>
>>>> So I was wondering what's the preferred workflow to start with the
>>>> "yocto-default" kernel config and add kernel configuration options
>>>> afterwards.
>>>>
>>>> What's I've tried so far is:
>>>>
>>>> bitbake virtual/kernel -c clean
>>>> bitbake virtual/kernel -c configure
>>>> bitbake virtual/kernel -c menuconfig
>>>> bitbake virtual/kernel -c compile
>>>> bitbake virtual/kernel -c deploy
>>>
>>> This is one flow that will work to make changes to the default kernel, and
>>> test them on a board. I use something like:
>>>
>>>  bitbake -f -c configure linux-yocto
>>>  bitbake -f -c menuconfig
>>>  bitbake -c linux-yocto
>>
>> I suspect you mean:
>>
>> bitbake -f -c configure linux-yocto
>> bitbake -f -c menuconfig
>> bitbake linux-yocto
> 
> Heh. Indeed. Random use of -c does not produce the results that
> one is looking for.

Close. Still need the target for menuconfig as well. Details ;-)

$ bitbake linux-yocto -c configure -f
$ bitbake linux-yocto -c menuconfig -f
$ bitbake linux-yocto


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2011-11-08 19:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 17:23 workflow - kernel config Robert Berger
2011-11-04 18:08 ` Robert Berger
2011-11-04 19:15 ` Bruce Ashfield
2011-11-05  6:34   ` Robert Berger
2011-11-07 14:39     ` Bruce Ashfield
2011-11-07 16:39   ` Richard Purdie
2011-11-07 17:58     ` Bruce Ashfield
2011-11-08 19:24       ` Darren Hart [this message]
2011-11-05 11:27 ` Robert Berger

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=4EB981FF.7020403@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=gmane@reliableembeddedsystems.com \
    --cc=poky@pokylinux.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.