Configure wlan0 and bluetooth in Yocto Raspberry Pi 3


(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-1277391562939326”,
enable_page_level_ads: true

In previous blog I have explained how to add existing recipe to Yocto build. If you don’t have the environment setup to build Yocto for Rpi3, please visit this blog.This is in continuation with my vlog which demonstrates how to configure linux kernel using menuconfig.

A) Adding recipes and necessary features to Yocto build

  1. Add following line to local.confDISTRO_FEATURES_append += ” bluez5 bluetooth wifi”
    IMAGE_INSTALL_append += ” linux-firmware-brcm43430 bluez5 i2c-tools python-smbus bridge-utils hostapd dhcp-server iptables wpa-supplicant”
  2. Add following lines to bblayers.conf${BSPDIR}/sources/meta-openembedded/meta-python \
    ${BSPDIR}/sources/meta-openembedded/meta-networking \
  3. cd to home directory for Yoctocd ~/rpi/
  4. Source the build environment scriptsource sources/poky/oe-init-build-env rpi-build
  5. Build Image with new recipes and featuresbitbake [image-name]


B) Configure the Wi-Fi in Raspberry Pi

  1. Copy the newly built image in SD card
  2. Boot Raspberry Pi 3 with newly built image.
  3. Edit wpa_supplicant filevi /etc/wpa_supplicant.conf
  4. Change to content to followingctrl_interface=/var/run/wpa_supplicant
  5. Restart Rpi3
  6. Log in to Raspberry Pi 3 and configure Wi-Fiifup wlan0

And your Rpi3 should be connected to your router.





One thought on “Configure wlan0 and bluetooth in Yocto Raspberry Pi 3

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s