Help enabling the BT_QCA driver
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.
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.
Quoted 8 lines · Jesus Jimenez Sanchez via lists.yoctoproject.org
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.
Quoted 12 lines
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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
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: [email protected] <[email protected]> On Behalf Of Jesus Jimenez Sanchez via lists.yoctoproject.org
Sent: Wednesday, October 9, 2024 8:07 PM
To: Jesus Jimenez Sanchez <[email protected]>; [email protected]
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.