Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

46 lines (30 sloc) 1.85 KB


Yocto layer to build Bluetooth DAC image for Raspberry Pi Zero W + pHAT DAC.


This layer extends the meta-raspberrypi BSP layer and builds a Linux image that allows to use Raspberry Pi Zero W and DAC hat as a Bluetooth audio sink. When the device is powered on, it will automatically become discoverable by Bluetooth. Pairing can be done without a pin, and the Pi is then recognized as a Bluetooth audio device (Advanced Audio Distribution Profile, A2DP).


Raspberry Pi Zero W


Pre-built images

Latest pre-built image can be found from the Releases page. It can be directly flashed to a SD card.


This layer depends on:

  • URI: git://

    • branch: warrior
  • URI: git://

    • layers: meta-oe, meta-networking, meta-python
    • branch: warrior
  • URI: git://

    • branch: warrior

Quick Start

  1. Clone the dependencies and switch to correct branch
  2. source poky/oe-init-build-env build
  3. Add this layer to build/conf/bblayers.conf and the dependencies above
  4. Set MACHINE in local.conf to raspberrypi0-wifi
    • To remove unnecessary features, the following can also be added to local.conf:
    • MACHINE_FEATURES_remove = "apm wifi screen touchscreen"
    • DISTRO_FEATURES_remove = "ipv4 ipv6 irda usbgadget usbhost wifi nfs zeroconf 3g nfc x11 wayland vulkan"
    • For read-only root filesystem, add IMAGE_FEATURES += "read-only-rootfs" to local.conf
  5. bitbake core-image-base
  6. dd to a SD card the generated sdimg file (build/tmp/deploy/images/raspberrypi0-wifi/core-image-base-raspberrypi0-wifi.rpi-sdimg)
  7. Boot your RPI.
You can’t perform that action at this time.