Setup kernel menuconfig in yocto

  • make menuconfig

We want to mount the wireless driver because of project requirements.
I tried to make menuconfig under the kernel folder(yocto\kernel) and setup driver configure,
then back to the yocto directory and recompile the kernel again, but I can’t find the .ko file (e.g. brcmutil.ko, brcmfmac.ko) in the “build_bin” folder.

Is the way to set menuconfig in yocto environment correct?
Can I generate a driver in this way?


  • insmod cfg80211.ko

Another question is that an error occurs when we mount cfg80211.ko
error message as follow:
insmod: can’t insert’cfg80211.ko’: unknown symbol in module, or unknown parameter

demg message:

[1895.925521] cfg80211: Unknown symbol bp_extack_genl_unregister_family (err 0)
[1895.925801] cfg80211: Unknown symbol bp_extack_genl_register_family (err 0)
[1895.925859] cfg80211: Unknown symbol backport_nla_put_64bit (err 0)
[1895.964788] cfg80211: Unknown symbol bp_extack_genl_unregister_family (err 0)
[1895.965067] cfg80211: Unknown symbol bp_extack_genl_register_family (err 0)
[1895.965123] cfg80211: Unknown symbol backport_nla_put_64bit (err 0)

if you compile the whole yocto image, after downloading to module, do you see the driver in module’s file system?

Hi jyijyi,
Thanks, I have solved it through the driver.
For another question, If I want to modify the device tree of Yocto, which file should I modify? (about sdio interface)

you can see this as an example on how to change the SDIO voltage: