* Configuring linux-yocto-custom to build specific kernel modules
@ 2013-09-20 19:53 John Doe
2013-09-20 19:56 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: John Doe @ 2013-09-20 19:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Hi,
I would like to know how I can build a specific kernel module (one that is
already in the linux kernel). Do I have to create a custom bitbake recipe
for the module or can I simply configure linux-yocto-custom?
My specific aim is to build the kernel module
drivers/net/wireless/rtl818x/rtl8187 as part of the core-image-minimal
build.
Regards,
J
[-- Attachment #2: Type: text/html, Size: 458 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Configuring linux-yocto-custom to build specific kernel modules
2013-09-20 19:53 Configuring linux-yocto-custom to build specific kernel modules John Doe
@ 2013-09-20 19:56 ` Bruce Ashfield
2013-09-22 16:05 ` John Doe
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2013-09-20 19:56 UTC (permalink / raw)
To: John Doe; +Cc: yocto
On 13-09-20 03:53 PM, John Doe wrote:
> Hi,
>
> I would like to know how I can build a specific kernel module (one that
> is already in the linux kernel). Do I have to create a custom bitbake
> recipe for the module or can I simply configure linux-yocto-custom?
Is your kernel already building from linux-yocto-custom ? Or are you
using the default linux-yocto kernel and recipes already ?
If you are using one of the standard qemu machines, or a BSP that
is already working with linux-yocto*, you can simply enable the module
by creating a configuration fragment, and putting it on the SRC_URI.
config fragments and how to add them to the SRC_URI are covered in
the kernel development manuals found off the yocto site.
Cheers,
Bruce
>
> My specific aim is to build the kernel module
> drivers/net/wireless/rtl818x/rtl8187 as part of the core-image-minimal
> build.
>
> Regards,
> J
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Configuring linux-yocto-custom to build specific kernel modules
2013-09-20 19:56 ` Bruce Ashfield
@ 2013-09-22 16:05 ` John Doe
2013-09-23 2:38 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: John Doe @ 2013-09-22 16:05 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: yocto
> Is your kernel already building from linux-yocto-custom ? Or are you
> using the default linux-yocto kernel and recipes already ?
I have a project that is using linux-yocto-custom and another project
which is using the default linux-yocto kernel.
> If you are using one of the standard qemu machines, or a BSP that
> is already working with linux-yocto*, you can simply enable the module
> by creating a configuration fragment, and putting it on the SRC_URI.
The problem is that I can not find the driver (rtl8187 under
drivers/net/wireless/rtl818x) in the menuconfig. It seems all device
drivers are missing despite them being in the repository or tarball.
Cheers
J
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Configuring linux-yocto-custom to build specific kernel modules
2013-09-22 16:05 ` John Doe
@ 2013-09-23 2:38 ` Bruce Ashfield
2013-10-11 9:27 ` John Doe
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2013-09-23 2:38 UTC (permalink / raw)
To: John Doe; +Cc: yocto
On 13-09-22 12:05 PM, John Doe wrote:
>> Is your kernel already building from linux-yocto-custom ? Or are you
>> using the default linux-yocto kernel and recipes already ?
>
> I have a project that is using linux-yocto-custom and another project
> which is using the default linux-yocto kernel.
>
>> If you are using one of the standard qemu machines, or a BSP that
>> is already working with linux-yocto*, you can simply enable the module
>> by creating a configuration fragment, and putting it on the SRC_URI.
>
> The problem is that I can not find the driver (rtl8187 under
> drivers/net/wireless/rtl818x) in the menuconfig. It seems all device
> drivers are missing despite them being in the repository or tarball.
>
If there's a missing dependency (say for example PCI), or a wrapping
Kconfig options that hides the menu, you won't see the drivers offered
in menuconfig.
Looking at the kernel source and the Kconfig is my next step, since it
lists all the dependencies that you need.
Bruce
> Cheers
> J
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Configuring linux-yocto-custom to build specific kernel modules
2013-09-23 2:38 ` Bruce Ashfield
@ 2013-10-11 9:27 ` John Doe
0 siblings, 0 replies; 5+ messages in thread
From: John Doe @ 2013-10-11 9:27 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: yocto
Thanks Bruce,
It was exactly as you say, I forgot to enable cfg80211 and mac80211.
Now I can see all the drivers.
Regards,
J
On Mon, Sep 23, 2013 at 3:38 AM, Bruce Ashfield
<bruce.ashfield@windriver.com> wrote:
> On 13-09-22 12:05 PM, John Doe wrote:
>>>
>>> Is your kernel already building from linux-yocto-custom ? Or are you
>>> using the default linux-yocto kernel and recipes already ?
>>
>>
>> I have a project that is using linux-yocto-custom and another project
>> which is using the default linux-yocto kernel.
>>
>>> If you are using one of the standard qemu machines, or a BSP that
>>> is already working with linux-yocto*, you can simply enable the module
>>> by creating a configuration fragment, and putting it on the SRC_URI.
>>
>>
>> The problem is that I can not find the driver (rtl8187 under
>> drivers/net/wireless/rtl818x) in the menuconfig. It seems all device
>> drivers are missing despite them being in the repository or tarball.
>>
>
> If there's a missing dependency (say for example PCI), or a wrapping
> Kconfig options that hides the menu, you won't see the drivers offered
> in menuconfig.
>
> Looking at the kernel source and the Kconfig is my next step, since it
> lists all the dependencies that you need.
>
> Bruce
>
>> Cheers
>> J
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-11 9:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 19:53 Configuring linux-yocto-custom to build specific kernel modules John Doe
2013-09-20 19:56 ` Bruce Ashfield
2013-09-22 16:05 ` John Doe
2013-09-23 2:38 ` Bruce Ashfield
2013-10-11 9:27 ` John Doe
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.