* Problem overwriting default kernel config values
@ 2015-07-18 1:35 Ryan Soussan
2015-07-19 3:53 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Soussan @ 2015-07-18 1:35 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
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!
Thanks,
Ryan
[-- Attachment #2: Type: text/html, Size: 1259 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problem overwriting default kernel config values
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
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2015-07-19 3:53 UTC (permalink / raw)
To: Ryan Soussan, yocto
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.
Bruce
> Thanks,
> Ryan
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem overwriting default kernel config values
2015-07-19 3:53 ` Bruce Ashfield
@ 2015-07-19 4:32 ` Bruce Ashfield
2015-07-20 23:12 ` Ryan Soussan
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2015-07-19 4:32 UTC (permalink / raw)
To: Ryan Soussan, yocto
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
>>
>>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem overwriting default kernel config values
2015-07-19 4:32 ` Bruce Ashfield
@ 2015-07-20 23:12 ` Ryan Soussan
0 siblings, 0 replies; 4+ messages in thread
From: Ryan Soussan @ 2015-07-20 23:12 UTC (permalink / raw)
To: Bruce Ashfield, yocto
[-- Attachment #1: Type: text/plain, Size: 2375 bytes --]
On Sat, Jul 18, 2015 at 9:32 PM, Bruce Ashfield <
bruce.ashfield@windriver.com> wrote:
> 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
>>>
>>>
>>>
>>
> Thanks so much for the help - adding the other configuration options fixed
the bug for us!
Best,
Ryan
[-- Attachment #2: Type: text/html, Size: 3768 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-20 23:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-07-20 23:12 ` Ryan Soussan
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.