All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Joshua Lock <josh@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: changing kernel config on a project built by Hob
Date: Thu, 17 Nov 2011 13:16:26 -0800	[thread overview]
Message-ID: <4EC579AA.3090105@linux.intel.com> (raw)
In-Reply-To: <4EC2C423.6010502@linux.intel.com>



On 11/15/2011 11:57 AM, Joshua Lock wrote:
> Hi Jitendra,
> 
> On 11/11/11 11:37, Jitendra Shekhawat wrote:
>> Newbie here. I think I've looked at the relevant documents and couldn't
>> find how to do this.
>>
>> What is the procedure for doing a kernel 'make menuconfig' on hob
>> assisted projects?
>>
>> I created a simple project using following steps:
>> 1. source poky-edison-6.0/oe-init-build-env
>> 2. hob
>> 3. configuration under hob:
>>  - Machine: atom-pc
>>  - Base image: core-image-minimal 
>>  - Added openssh
>> 4. save the image as test.bb <http://test.bb>
>> 5. Baked the image in hob
>> 6. Booted the result in Virtualbox after creating a bootable disk image,
>> etc.
>>
>> I need to now modify the kernel by adding CP210x USB/Serial converter
>> driver.
>>
>> What is the procedure for doing a 'make menuconfig' on this hob assisted
>> project?
> 
> Unfortunately we don't currently support modifying the kernel config via
> the hob GUI although it's certainly something we'd like to enable in the
> future.

Really what were talking about here is development of recipes versus
building them. Hob builds images - and offers some help configuring
which packages go into an image - but it doesn't modify the packages
themselves. "make menuconfig" is a development tool which makes
transient changes to the kernel build. In order for Hob (in its current
state anyway) to take advantage of those changes, they need to be made
permanent.  To do this, I suggest iterating on your kernel config using
the command line tools. Once you are happy with it, update the recipe to
use the new config, and then resume work with Hob. The final state of a
kernel config should be incorporated into the kernel recipes and source
repositories.

This isn't to say this process can't be improved, but such is the state
of things as they stand now.

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


      reply	other threads:[~2011-11-17 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 19:37 changing kernel config on a project built by Hob Jitendra Shekhawat
2011-11-15 19:57 ` Joshua Lock
2011-11-17 21:16   ` Darren Hart [this message]

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=4EC579AA.3090105@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=josh@linux.intel.com \
    --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.