Laird Radio Implementation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Laird Radio Implementation

Jump to solution
716 Views
MichaelBMiner
Contributor IV

I am trying to implement a LairdCP LWB5+ radio module. A year ago this was working on our platform, since then Laird has made changes in their github repo. I have renamed all of my includes to match their new names but I am not able to build. 

 

In my local.conf I have 

PREFERRED_PROVIDER_wpa-supplicant = "summit-supplicant"
PREFERRED_PROVIDER_wpa-supplicant-cli = "summit-supplicant"
PREFERRED_PROVIDER_wpa-supplicant-passphrase = "summit-supplicant"
PREFERRED_RPROVIDER_wireless-regdb-static = "wireless-regdb"
LWB_REGDOMAIN = "US"

 

In my mainapplication.inc I have

# Install necessary libraries
IMAGE_INSTALL_append = " packagegroup-core-ssh-openssh \
    openssl \
    can-utils \
    libsocketcan \
    sudo \
    wireless-tools crda \
    boost \
    libgpiod \
    lumissil-kernel-module \
    lumissil \
    logrotate \
    socat \
    iproute2 \
    rng-tools \
    ca-certificates \
    tzdata \
    htop \
    ethtool \
    iperf3 \
    tcpdump \
    iw wireless-tools wpa-supplicant wireless-regdb-static crda \
    lwb5plus-sdio-sa-firmware \
    kernel-module-lwb5p-backports-summit \
    sterling-supplicant-lwb \
    laird-localize-firmware \
    u-boot-fw-utils \
    open-plc-utils \
    dbcppp \
    i2c-tools \
    firmware-imx-sdma-imx6q \
    "

I am attempting to use https://github.com/LairdCP/meta-summit-radio/tree/lrd-10.0.0.x as this is what we have been using since this project was first created. 

When I do my bitbake I get the error 

 

ERROR: kernel-module-lwb5p-backports-summit-10.54.0.13-r0 do_compile: oe_runmake failed

 

|
| ERROR: Kernel configuration is invalid.
| include/generated/autoconf.h or include/config/auto.conf are missing.
| Run 'make oldconfig && make prepare' on kernel src to fix it.
|
| make[5]: *** [/mnt/YoctoDrive/Documents/mainpplication/build-fb/tmp/work-shared/imx6ull14x14evk/kernel-source/Makefile:720: include/config/auto.conf] Error 1
| make[4]: *** [Makefile:185: __sub-make] Error 2
| make[3]: *** [Makefile.build:13: modules] Error 2
| make[2]: *** [Makefile.real:91: modules] Error 2
| make[1]: *** [Makefile:43: modules] Error 2
| make: *** [Makefile:30: default] Error 2
| ERROR: oe_runmake failed

 

I can confirm that I have disabled bluetooth and cfg80211 and mac80211, I believe I have added all the required dependencies. Just wondering if anyone has encountered this.  

Labels (1)
0 Kudos
Reply
1 Solution
682 Views
borisk
Contributor V

That kind of error happens when kernel was restored from sstate cache without build

bitbake -c cleansstate linux-imx

should fix it, if not dump yocto build completely with sstate cache and build again

View solution in original post

0 Kudos
Reply
1 Reply
683 Views
borisk
Contributor V

That kind of error happens when kernel was restored from sstate cache without build

bitbake -c cleansstate linux-imx

should fix it, if not dump yocto build completely with sstate cache and build again

0 Kudos
Reply