summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-03-01 17:05:29 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-03-05 10:33:28 +1100
commite53ee4684ebff1d8ef22ee67474c678054938c47 (patch)
tree589a167cc51fae8ae6f671b60ac57ec9a6c2607e
parent5b750f0a9b7b94bc4096090f943deaa06938e47f (diff)
Update some helper scripts
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rwxr-xr-xscripts/load.sh2
-rwxr-xr-xscripts/make-agl.sh2
-rwxr-xr-xscripts/test_configfs_cleanup.sh6
-rwxr-xr-xscripts/test_configfs_run.sh (renamed from scripts/test_configfs.sh)0
-rwxr-xr-xscripts/unload.sh4
-rw-r--r--sound/avirt.h2
6 files changed, 11 insertions, 5 deletions
diff --git a/scripts/load.sh b/scripts/load.sh
index 103a63b..e3f21b4 100755
--- a/scripts/load.sh
+++ b/scripts/load.sh
@@ -8,6 +8,6 @@ insmod dummy/snd-avirt-ap-dummy.ko
insmod loopback/snd-avirt-ap-loopback.ko
# Run the test script
-./scripts/test_configfs.sh
+./scripts/test_configfs_run.sh
echo "Drivers Loaded!"
diff --git a/scripts/make-agl.sh b/scripts/make-agl.sh
index 34afff4..f4a6235 100755
--- a/scripts/make-agl.sh
+++ b/scripts/make-agl.sh
@@ -1,7 +1,7 @@
#!/bin/bash
SDK_ROOT=/opt/agl-sdk
-SDK_VERSION=6.99.4
+SDK_VERSION=7.0.0
SDK_VAR=aarch64
# Source environment
diff --git a/scripts/test_configfs_cleanup.sh b/scripts/test_configfs_cleanup.sh
new file mode 100755
index 0000000..9697818
--- /dev/null
+++ b/scripts/test_configfs_cleanup.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rmdir /config/snd-avirt/streams/playback_media
+rmdir /config/snd-avirt/streams/playback_navigation
+rmdir /config/snd-avirt/streams/playback_emergency
+rmdir /config/snd-avirt/streams/capture_voice
diff --git a/scripts/test_configfs.sh b/scripts/test_configfs_run.sh
index b6a56f6..b6a56f6 100755
--- a/scripts/test_configfs.sh
+++ b/scripts/test_configfs_run.sh
diff --git a/scripts/unload.sh b/scripts/unload.sh
index a18e1f5..acce310 100755
--- a/scripts/unload.sh
+++ b/scripts/unload.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-rmdir /config/snd-avirt/streams/playback_*
-rmdir /config/snd-avirt/streams/capture_*
+# Cleanup the configfs filesystem
+./scripts/test_configfs_cleanup.sh
rm_module() {
lsmod |grep "^$1\>" && rmmod $1 || true
diff --git a/sound/avirt.h b/sound/avirt.h
index 92bb07d..6f15143 100644
--- a/sound/avirt.h
+++ b/sound/avirt.h
@@ -3,7 +3,7 @@
* AVIRT - ALSA Virtual Soundcard
*
* Copyright (c) 2010-2018 Fiberdyne Systems Pty Ltd
- *
+ *
* avirt.h - AVIRT system-level header
*/