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.confiface 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.
Hello Oguzhan DALGIC,
You could add the driver manually it you want, as you can generate the toolchain from the Yocto BSP. However, using bitbake has its advantages.
The question here would be in what medium is your Wifi Dongle’s driver. On the following document you can see how to add a driver that is already on a Yocto layer. In this case it’s very straightforward because the driver is available on a layer, otherwise you would need to create a recipe to add the new driver.
https://community.nxp.com/docs/DOC-334088
I hope this helps!
Regards,