All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Ryan Soussan <ryansvb91@gmail.com>, <yocto@yoctoproject.org>
Subject: Re: Problem overwriting default kernel config values
Date: Sun, 19 Jul 2015 00:32:02 -0400	[thread overview]
Message-ID: <55AB2842.6070405@windriver.com> (raw)
In-Reply-To: <55AB1F48.2050404@windriver.com>

On 2015-07-18 11:53 PM, Bruce Ashfield wrote:
> On 2015-07-17 9:35 PM, Ryan Soussan wrote:
>> Hello,
>> We're having a problem overwriting the default linux kernel config
>> values.  We tried adding our own .cfg file to our layer and appending it
>> to the source url of the linux-yocto bitbake file.  The variable in our
>> case is not getting overwritten though (changing CONFIG_ATH5K=m to =y).
>> Here's some relevant output from mismatch.txt:
>> Value requested for CONFIG_ATH5K not in final .config
>>        Requested value:  CONFIG_ATH5K=y
>>                  Actual value:     CONFIG_ATH5K=m
>>
>> And basically the same error message in missing_required.cfg.  So it
>> looks like yocto is seeing our request but ignoring it.  The source code
>> for these messages is located here:
>> http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check
>>
>>
>> We were following the instructions for editing the config file located
>> in the linux directory of the meta-skeleton layer in poky.   Any help
>> would be appreciated!
>>
>
> What release/branch are you using ? This is a test case that I run
> ever release (and use every day), so the overrides do work.
>
> The kernel configuration system doesn't have the opportunity to
> ignore settings. They are consolidated and then passed to the kernel's
> config subsystem and then the results audited.
>
> I'll run a similar test here, since if something else later in the
> configuration is selecting that driver as a module, or another constraint
> is kicking in .. you will end up with a module, no matter what you
> set in your fragment.

And yes, it was a contraint in the end. I needed this in my fragment to
flip ATH5K to =y

CONFIG_ATH5K=y
CONFIG_ATH_CARDS=y
CONFIG_ATH_COMMON=y
CONFIG_CFG80211=y
CONFIG_R8723AU=y
CONFIG_MAC80211=y

I'm working on some diagnostics and symbol lookups that will help with
this in the future .. but it is much more challenging than you'd expect!

Cheers,

Bruce

>
> Bruce
>
>> Thanks,
>> Ryan
>>
>>
>



  reply	other threads:[~2015-07-19  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18  1:35 Problem overwriting default kernel config values Ryan Soussan
2015-07-19  3:53 ` Bruce Ashfield
2015-07-19  4:32   ` Bruce Ashfield [this message]
2015-07-20 23:12     ` Ryan Soussan

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=55AB2842.6070405@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=ryansvb91@gmail.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.