* using and auditing kernel config fragments
@ 2012-04-06 9:34 Tomas Frydrych
2012-04-06 13:28 ` Autif Khan
2012-04-06 14:00 ` Bruce Ashfield
0 siblings, 2 replies; 5+ messages in thread
From: Tomas Frydrych @ 2012-04-06 9:34 UTC (permalink / raw)
To: yocto@yoctoproject.org
Hi,
I am trying to add a kernel config fragment to the yocto 2.6.37 kernel
for BeagleBoard, because I need a driver for a rt2800usb dongle.
For some reason which I cannot work out, the rt2800usb options are
removed (rather then disabled) from the yocto kernel config, i.e., if I
run 'bitbake -c menuconfig linux-yocto', there is very little under
Drivers->Net->WLAN. If I run menuconfig in the devshell, there are lots
more WLAN drivers available, including the rt2800.
So, I created custom fragment with the appropriate options, which works
to the extent it gets picked up, but then the options are removed during
the kernel_configme process and end up in the missing_required.cfg, and
there is no information I can find anywhere in the logs as to why this
is the case. Any ideas how to find out what the problem is?
(I am using yocto master)
Tomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: using and auditing kernel config fragments
2012-04-06 9:34 using and auditing kernel config fragments Tomas Frydrych
@ 2012-04-06 13:28 ` Autif Khan
2012-04-06 13:40 ` Autif Khan
2012-04-06 14:00 ` Bruce Ashfield
1 sibling, 1 reply; 5+ messages in thread
From: Autif Khan @ 2012-04-06 13:28 UTC (permalink / raw)
To: Tomas Frydrych; +Cc: yocto@yoctoproject.org
> For some reason which I cannot work out, the rt2800usb options are
> removed (rather then disabled) from the yocto kernel config, i.e., if I
> run 'bitbake -c menuconfig linux-yocto', there is very little under
> Drivers->Net->WLAN. If I run menuconfig in the devshell, there are lots
> more WLAN drivers available, including the rt2800.
Under Device Drivers -> Network device support -> Wireless LAN, You
have to enable Ralink driver support to see the options for
CONFIG_RT2800USB
It is not under Device Drivers -> Network device support -> Wireless LAN
It is under Device Drivers -> Network device support -> Wireless LAN
-> Ralink driver support
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: using and auditing kernel config fragments
2012-04-06 13:28 ` Autif Khan
@ 2012-04-06 13:40 ` Autif Khan
2012-04-06 14:48 ` Tomas Frydrych
0 siblings, 1 reply; 5+ messages in thread
From: Autif Khan @ 2012-04-06 13:40 UTC (permalink / raw)
To: Tomas Frydrych; +Cc: yocto@yoctoproject.org
>> For some reason which I cannot work out, the rt2800usb options are
>> removed (rather then disabled) from the yocto kernel config, i.e., if I
>> run 'bitbake -c menuconfig linux-yocto', there is very little under
>> Drivers->Net->WLAN. If I run menuconfig in the devshell, there are lots
>> more WLAN drivers available, including the rt2800.
>
> Under Device Drivers -> Network device support -> Wireless LAN, You
> have to enable Ralink driver support to see the options for
> CONFIG_RT2800USB
>
> It is not under Device Drivers -> Network device support -> Wireless LAN
>
> It is under Device Drivers -> Network device support -> Wireless LAN
> -> Ralink driver support
I forgot to mention - Under Networking Support -> Wireless, you need
to enable cfg80211 AND msc80211 (Generic IEEE 802.11 Netowrking Stack)
Then the Ralink driver support shows up under Wireless LAN
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: using and auditing kernel config fragments
2012-04-06 9:34 using and auditing kernel config fragments Tomas Frydrych
2012-04-06 13:28 ` Autif Khan
@ 2012-04-06 14:00 ` Bruce Ashfield
1 sibling, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2012-04-06 14:00 UTC (permalink / raw)
To: Tomas Frydrych; +Cc: yocto@yoctoproject.org
On Fri, Apr 6, 2012 at 5:34 AM, Tomas Frydrych
<tf+lists.yocto@r-finger.com> wrote:
> Hi,
>
> I am trying to add a kernel config fragment to the yocto 2.6.37 kernel
> for BeagleBoard, because I need a driver for a rt2800usb dongle.
>
> For some reason which I cannot work out, the rt2800usb options are
> removed (rather then disabled) from the yocto kernel config, i.e., if I
> run 'bitbake -c menuconfig linux-yocto', there is very little under
> Drivers->Net->WLAN. If I run menuconfig in the devshell, there are lots
> more WLAN drivers available, including the rt2800.
>
> So, I created custom fragment with the appropriate options, which works
> to the extent it gets picked up, but then the options are removed during
> the kernel_configme process and end up in the missing_required.cfg, and
> there is no information I can find anywhere in the logs as to why this
> is the case. Any ideas how to find out what the problem is?
If they end up in missing_required.cfg, it almost always means that a
dependency of the options listed in your fragment haven't been specified
and hence the option tossed out by lkc.
Looking via menuconfig or via the Kconfigs should show you what
the dependencies are, and your .config will show you what was specified
and ended up in the configuration. If dependencies are missing, add them
to your fragment .. and they should make it to the end.
Cheers,
Bruce
>
> (I am using yocto master)
>
> Tomas
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: using and auditing kernel config fragments
2012-04-06 13:40 ` Autif Khan
@ 2012-04-06 14:48 ` Tomas Frydrych
0 siblings, 0 replies; 5+ messages in thread
From: Tomas Frydrych @ 2012-04-06 14:48 UTC (permalink / raw)
To: yocto@yoctoproject.org
On 06/04/12 14:40, Autif Khan wrote:
> I forgot to mention - Under Networking Support -> Wireless, you need
> to enable cfg80211 AND msc80211 (Generic IEEE 802.11 Netowrking Stack)
>
> Then the Ralink driver support shows up under Wireless LAN
Thanks, that's the bit I was missing. :)
Tomas
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-06 14:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-06 9:34 using and auditing kernel config fragments Tomas Frydrych
2012-04-06 13:28 ` Autif Khan
2012-04-06 13:40 ` Autif Khan
2012-04-06 14:48 ` Tomas Frydrych
2012-04-06 14:00 ` Bruce Ashfield
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.