summaryrefslogtreecommitdiffstats
path: root/scripts
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-01 17:06:32 +1100
commitc87f5681888863acc433d1e129992cc2d29e0463 (patch)
treed10cf92e4d03343080efbafbb559f72523fe3d11 /scripts
parent5a80c7caffd53b9c4145768cff9ebd72997c38c3 (diff)
Update some helper scripts
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'scripts')
-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
5 files changed, 10 insertions, 4 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