AnsweredAssumed Answered

Adding Packages to i.MX6ULL OS Image using BitBake

Question asked by oguzhan dalgic on Feb 14, 2018
Latest reply on Feb 20, 2018 by gusarambula

Hi guys,

 

I would like to install the driver of a USB Wi-Fi Dongle (or any other drivers) to my iMX6ULL14x14EVK using Yocto's bitbake command but I don't know how to do it.

 

So far I managed to create the simplest OS image using the following command and deployed the image to my target board, however when I plugged the USB WiFi dongle, the processor did not recognize it. 

bitbake core-image-minimal

 

Although there is wlan0 in "/etc/network/interfaces" I am not able to use it.

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
auto wlan0
iface wlan0 inet dhcp
      wireless_mode managed
      wireless_essid any
      wpa-driver wext
      wpa-conf /etc/wpa_supplicant.conf

      iface atml0 inet dhcp

 

Also see below output of U-Boot in the booting process,

Configuring network interfaces... Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
wlan0: ERROR while getting interface flags: No such device

 

My question is:

How do I add drivers and create the OS images including those driver using Yocto BitBake, or are there any other methods to do it without using Yocto?

 

Thanks in advance,

Regards.

Outcomes