[yocto] changing kernel config on a project built by Hob

Darren Hart dvhart at linux.intel.com
Thu Nov 17 13:16:26 PST 2011



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



More information about the yocto mailing list