14 lines
304 B
Bash
Executable File
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"
|