IMX6 Laird Support

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

IMX6 Laird Support

665 Views
MichaelBMiner
Contributor IV

I have been following this guide to add meta-summit-laird to my image. I am using Hardknott 3.3 and the meta-summit-laird-pre-3.4 layer. Today I finally got the radio to be recognized by the kernel and show up in ifconfig. 

 

root@imx6ull14x14evk:~# ifconfig
eth0      Link encap:Ethernet  HWaddr E2:EE:EE:EE:EE:EE
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:9360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9360 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:581440 (567.8 KiB)  TX bytes:581440 (567.8 KiB)

wlan0     Link encap:Ethernet  HWaddr C0:EE:40:84:83:AA
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@imx6ull14x14evk:~# iw dev
phy#0
        Unnamed/non-netdev interface
                wdev 0x2
                addr c2:ee:40:84:83:aa
                type P2P-device
                txpower 31.00 dBm
        Interface wlan0
                ifindex 5
                wdev 0x1
                addr c0:ee:40:84:83:aa
                type managed
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 31.00 dBm

Now I am trying to connect to a network but I do not have wpa_supplicant or nmcli. This is a point of frustration to me. 

 

In local.conf I have 

PREFERRED_RPROVIDER_wpa-supplicant = "summit-supplicant-lwb"
PREFERRED_RPROVIDER_wpa-supplicant-cli = "summit-supplicant-lwb"
PREFERRED_RPROVIDER_wpa-supplicant-passphrase = "summit-supplicant-lwb"
   
BBMASK += " \
    meta-summit-radio/meta-summit-radio-pre-3.4/recipes-packages/openssl \
    meta-summit-radio/meta-summit-radio-pre-3.4/recipes-packages/.*/.*openssl10.* \
    "
   
PREFERRED_RPROVIDER_wireless-regdb-static = "reg-lwb5-plus"
LWB_REGDOMAIN = "US"

In my image file I have

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

 

When I program my board or look at the files-in-image.txt I can see -rwxr-xr-x root root 84488 ./usr/sbin/wpa_cli is installed but no other networking tools. 

 

I know that the laird recipes remove and provide their own version of wpa_supplicant but they appear to be missing. 

 

For more information I am using laird version lrd-11.39.0.x

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

634 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply