Onboard Wifi & Custom Yocto

I am trying to get the onboard wifi working with a custom yocto build. Without custom yocto, it works no problem. But when I update with wifi drivers with a custom yocto build installed, the probation period fails in the same place every time.

I am using the VM from Sierra’s website to build everything. I have updated the toolchain, legato, yocto, and kernel to the latest versions. I have tried legato versions 19.01.0-19.04.0. I have also tried the steps in this post. Below is the end of the log when I install the wifi update.

Jul 15 13:48:24 swi-mdm9x28-wp user.err kernel: [ 2577.528802] cp2130: version magic '3.18.44 preempt mod_unload ARMv7 p2v8 ' should be '3.18.131 preempt mod_unload ARMv7 p2v8 '
Jul 15 13:48:24 swi-mdm9x28-wp user.crit Legato: *CRT* | supervisor[5332]/supervisor T=main | kernelModules.c ExecuteCommand() 248 | /sbin/insmod exited with error code 8.
Jul 15 13:48:24 swi-mdm9x28-wp user.err Legato: =ERR= | supervisor[5332]/supervisor T=main | kernelModules.c installModules() 1074 | Error in installing module cp2130.ko. Restarting system ...
Jul 15 13:48:24 swi-mdm9x28-wp user.emerg Legato: *EMR* | supervisor[5332]/supervisor T=main | supervisor.c framework_Reboot() 704 | Supervisor going down to trigger reboot.
Jul 15 13:48:24 swi-mdm9x28-wp user.err kernel: [ 2577.541218] cp2130: version magic '3.18.44 preempt mod_unload ARMv7 p2v8 ' should be '3.18.131 preempt mod_unload ARMv7 p2v8 '

So the kernel is the wrong version (3.18.44 instead of 3.18.131), but I’m at a loss as to why. Any insight would be greatly appreciated!

If you customize the yocto image, you likely need a customized toolchain as well. You can create that by running make toolchain_bin from the same location you do make image_bin. The resulting .sh file will be in build_bin/tmp/deploy/sdk

1 Like

That was the solution, thank you!