I am trying to install WireGuard in Yocto.
I have included the code and recipe and compiled all with bitbake and generated an image.
I have added the code provided by NXP in folder sources/meta-openembedded/meta-networking/recipes-kernel.
Also added "wireguard-tools" in IMAGE_INSTALL_append in meta-freescale/recipes-fsl/images/fsl-image-core.bb, then run "bitbake fsl-image-core"
I can generate public and private keys with wg command.
But when I try to configure WireGuard, it seems that it is not loaded the module.
root@vpx3-152:~# modprobe wireguard
modprobe: FATAL: Module wireguard not found.
root@vpx3-152:~#
What I am doing wrong?
Regards.
#Yocto-wireguard