* Help enabling the BT_QCA driver
@ 2024-10-08 15:10 Jesus Jimenez Sanchez
2024-10-09 9:37 ` [yocto] " Jesus Jimenez Sanchez
0 siblings, 1 reply; 4+ messages in thread
From: Jesus Jimenez Sanchez @ 2024-10-08 15:10 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
Hello,
I'm using Yocto for a project at work and I need to enable the btqca driver. I have tried using the menuconfig option in Yocto but the driver doesn't appear there. I have also modified the .config file manually inside the build-** folder but the file gets rewritten with the old version when I build the project.
What should I do here for enabling this driver?
Thank you.
[-- Attachment #2: Type: text/html, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Help enabling the BT_QCA driver
2024-10-08 15:10 Help enabling the BT_QCA driver Jesus Jimenez Sanchez
@ 2024-10-09 9:37 ` Jesus Jimenez Sanchez
2024-10-09 21:58 ` Khem Raj
2024-10-10 5:27 ` [EXTERNAL] " Guo, Yanmei
0 siblings, 2 replies; 4+ messages in thread
From: Jesus Jimenez Sanchez @ 2024-10-09 9:37 UTC (permalink / raw)
To: Jesus Jimenez Sanchez, yocto
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
Hello,
I wanted to add that I have been able to enable the driver using menuconfig by enabling its dependencies.
The problem I'm facing now is that Yocto is not building the kernel object files (.ko), not even the ones it was building before. As far as I know I have only changed the configuration to build this new driver but I could be wrong and maybe touche where I shouldn't.
Is there a way to tell Yocto to build those kernel objects?
Thank you.
[-- Attachment #2: Type: text/html, Size: 587 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Help enabling the BT_QCA driver
2024-10-09 9:37 ` [yocto] " Jesus Jimenez Sanchez
@ 2024-10-09 21:58 ` Khem Raj
2024-10-10 5:27 ` [EXTERNAL] " Guo, Yanmei
1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2024-10-09 21:58 UTC (permalink / raw)
To: yocto, Jesus.JimenezSanchez
On Wed, Oct 9, 2024 at 2:37 AM Jesus Jimenez Sanchez via
lists.yoctoproject.org
<Jesus.JimenezSanchez=verifone.com@lists.yoctoproject.org> wrote:
>
> Hello,
>
> I wanted to add that I have been able to enable the driver using menuconfig by enabling its dependencies.
>
> The problem I'm facing now is that Yocto is not building the kernel object files (.ko), not even the ones it was building before. As far as I know I have only changed the configuration to build this new driver but I could be wrong and maybe touche where I shouldn't.
>
> Is there a way to tell Yocto to build those kernel objects?
depending upon which kernel recipe is in use you might be able to use
kernel config fragments where you add a file with needed configs which
is then merged into the final .config file
by build system, linux-yocto kernel uses this method extensively.
Create something like bt.cfg with BT_QCA = m and then add bt.cfg to
SRC_URI this should hopefully enable the
driver and emit it as a separate output package like
kernel-module-btqca or somesuch. Which you can add to your image via
MACHINE_EXTRA_RRECOMMENDS:append = " kernel-module-btqca" in machine
conf or local.conf file.
>
> Thank you.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#63983): https://lists.yoctoproject.org/g/yocto/message/63983
> Mute This Topic: https://lists.yoctoproject.org/mt/108890949/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [EXTERNAL] Re: [yocto] Help enabling the BT_QCA driver
2024-10-09 9:37 ` [yocto] " Jesus Jimenez Sanchez
2024-10-09 21:58 ` Khem Raj
@ 2024-10-10 5:27 ` Guo, Yanmei
1 sibling, 0 replies; 4+ messages in thread
From: Guo, Yanmei @ 2024-10-10 5:27 UTC (permalink / raw)
To: yocto@lists.yoctoproject.org, Jesus.JimenezSanchez@verifone.com
[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]
Could it be that you disabled the support of the kernel modules in the kconfig by accident?
This config in particular,
```
CONFIG_MODULES=y
```
-May
From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of Jesus Jimenez Sanchez via lists.yoctoproject.org
Sent: Wednesday, October 9, 2024 8:07 PM
To: Jesus Jimenez Sanchez <Jesus.JimenezSanchez@verifone.com>; yocto@lists.yoctoproject.org
Subject: [EXTERNAL] Re: [yocto] Help enabling the BT_QCA driver
EXT email: be mindful of links/attachments.
Hello,
I wanted to add that I have been able to enable the driver using menuconfig by enabling its dependencies.
The problem I'm facing now is that Yocto is not building the kernel object files (.ko), not even the ones it was building before. As far as I know I have only changed the configuration to build this new driver but I could be wrong and maybe touche where I shouldn't.
Is there a way to tell Yocto to build those kernel objects?
Thank you.
[-- Attachment #2: Type: text/html, Size: 9736 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-10 5:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08 15:10 Help enabling the BT_QCA driver Jesus Jimenez Sanchez
2024-10-09 9:37 ` [yocto] " Jesus Jimenez Sanchez
2024-10-09 21:58 ` Khem Raj
2024-10-10 5:27 ` [EXTERNAL] " Guo, Yanmei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox