Skip to content
Yocto layer to build Bluetooth DAC image for Raspberry Pi Zero W + pHAT DAC
C BitBake Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
recipes-bsp/bootfiles
recipes-connectivity
recipes-core
recipes-kernel/linux
recipes-multimedia/bluez-alsa
LICENSE
README.md

README.md

meta-rpi-bt-dac

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

Description

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).

Hardware

Raspberry Pi Zero W

pHAT DAC

Pre-built images

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

Dependencies

This layer depends on:

  • URI: git://git.yoctoproject.org/poky

    • branch: warrior
  • URI: git://git.openembedded.org/meta-openembedded

    • layers: meta-oe, meta-networking, meta-python
    • branch: warrior
  • URI: git://git.yoctoproject.org/meta-raspberrypi

    • 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.