19cfed5bd7
This script has no bash-ism, so /bin/sh (dash on Debian/Ubuntu) is fine.
10 lines
403 B
Bash
Executable file
10 lines
403 B
Bash
Executable file
#!/bin/sh
|
|
#dtoverlay -r seeed-2mic-voicecard
|
|
DTC_FLAGS="-b 0 -Wno-unit_address_vs_reg -I dts -O dtb"
|
|
|
|
dtc -@ $DTC_FLAGS -o seeed-2mic-voicecard.dtbo seeed-2mic-voicecard-overlay.dts
|
|
dtc -@ $DTC_FLAGS -o seeed-4mic-voicecard.dtbo seeed-4mic-voicecard-overlay.dts
|
|
dtc -@ $DTC_FLAGS -o seeed-8mic-voicecard.dtbo seeed-8mic-voicecard-overlay.dts
|
|
|
|
# cp *.dtbo /boot/overlays
|
|
# dtoverlay seeed-2mic-voicecard
|