Hello,

I am trying to build the wlan.ko kernel object to enable wifi in an embedded 
device but I haven't been able to do it so far.

I have tried having the code for Linux in a remote repository and in a 
repository in my local computer. For the config file, I have a defconfig file 
in the Yocto folder that has this:
```
CONFIG_MODULES=y
...
CONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not set
# CONFIG_WLAN_VENDOR_ADMTEK is not set
CONFIG_WLAN_VENDOR_ATH=y
CONFIG_ATH_DEBUG=y
CONFIG_ATH_TRACEPOINTS=y
CONFIG_ATH5K_PCI=y
CONFIG_ATH6KL=y
CONFIG_ATH6KL_SDIO=y
CONFIG_ATH6KL_USB=y
CONFIG_ATH6KL_DEBUG=y
CONFIG_ATH6KL_TRACING=y
```

That file is added in the linux-msm.inc recipe with this line:
```
SRC_URI   += " file://neo2_defconfig \"
```

With that, I have tried having the local repository with another defconfig 
which also has the `CONFIG_WLAN=y` line but it didn't work. A .config in the 
local repository just returns an error during the configuration phase.

After building when there is no configuration file in the local repository, 
there are two files I've found in the build directory that could be the config 
file:
```
./tmp-glibc/work/qrbx210_rbx-linux/linux-msm/5.4.191-r0/build/.config
./tmp-glibc/work/qrbx210_rbx-linux/linux-msm/5.4.191-r0/my_defconfig
```
Both of those files have different contents, but both have the `CONFIG_WLAN=y` 
line.

Every time I manage to build Linux, the wlan.ko file is missing. For trying to 
find it I have been using `find . -name wlan.ko` and `find . -name "*wlan*"` 
but I never find anything.

Do I need to do anything else to generate this file? Do I maybe need to 
configure something else or get some extra sources?

I am using Linux 5.4.191-r0 and I couldn't get the Yocto version, but the 
Bitbake version is 2.0.0.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64028): https://lists.yoctoproject.org/g/yocto/message/64028
Mute This Topic: https://lists.yoctoproject.org/mt/109046157/21656
Mute 
#kernelmodule:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernelmodule
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to