Laird Radio Implementation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Laird Radio Implementation

跳至解决方案
310 次查看
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.  

标签 (1)
0 项奖励
1 解答
276 次查看
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 项奖励
1 回复
277 次查看
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 项奖励