toes-image-builder/audio/build-audio.sh
2026-05-13 20:23:09 +00:00

14 lines
304 B
Bash
Executable File

#! /bin/bash
set -ex
# builds the audio overlay _inside_ the image.
modprobe i2c-dev || true
modprobe snd-soc-simple-card || true
modprobe snd-soc-tlv320aic31xx || true
modprobe snd-soc-ics43432 || true
dtc -@ -I dts -O dtb -o \
"/boot/firmware/overlays/toesaudio.dtbo" \
"/tmp/audio/toesaudio.dts"