summaryrefslogtreecommitdiffstats
path: root/dung-3.4.25-m2/sdhi.0
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-06-14 11:51:43 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2016-06-14 11:51:51 +0200
commite2472c7b1d061aef8bb05a4d7940fd8159c4a329 (patch)
treed02452b65c994c373f88199028f53020722d9815 /dung-3.4.25-m2/sdhi.0
parent87cdfd4626c0cb47fc22f328867e49d6268df85c (diff)
add dung-3.4.25-m2, required by some JTA Functional.* testsblowfish_2.0.12.0.1
collection of shell scripts Used in multiple tests: * Functional.arch_timer/arch_timer.sh * Functional.scifab/scifab.sh * Functional.cmt/cmt.sh * Functional.sdhi_0/sdhi_0.sh Change-Id: I268c426071890554518e8b4927620fe6df587c34 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'dung-3.4.25-m2/sdhi.0')
-rwxr-xr-xdung-3.4.25-m2/sdhi.0/unbind-bind-write.sh18
-rwxr-xr-xdung-3.4.25-m2/sdhi.0/write-10M.sh9
-rwxr-xr-xdung-3.4.25-m2/sdhi.0/write-1k.sh9
3 files changed, 36 insertions, 0 deletions
diff --git a/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh b/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh
new file mode 100755
index 0000000..07a5d57
--- /dev/null
+++ b/dung-3.4.25-m2/sdhi.0/unbind-bind-write.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+echo "SDHI unbind/bind/write test"
+
+if [ $# -ne 0 ]; then
+ echo "usage: $(basename $0)" >& 2
+ exit 1
+fi
+
+DRIVER="sh_mobile_sdhi"
+DEV_NAME=$DRIVER.0
+BLOCK_DEV="/dev/disk/by-path/platform-$DEV_NAME"
+
+exec $(dirname $0)/../common/unbind-bind-write.sh \
+ "$DRIVER" "$DEV_NAME" "$BLOCK_DEV"
diff --git a/dung-3.4.25-m2/sdhi.0/write-10M.sh b/dung-3.4.25-m2/sdhi.0/write-10M.sh
new file mode 100755
index 0000000..6d17f56
--- /dev/null
+++ b/dung-3.4.25-m2/sdhi.0/write-10M.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+echo "SDHI 1k write test"
+
+exec $(dirname $0)/../common/write-dd.sh \
+ /dev/disk/by-path/platform-sh_mobile_sdhi.0 1M 10
diff --git a/dung-3.4.25-m2/sdhi.0/write-1k.sh b/dung-3.4.25-m2/sdhi.0/write-1k.sh
new file mode 100755
index 0000000..5789b5a
--- /dev/null
+++ b/dung-3.4.25-m2/sdhi.0/write-1k.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+echo "SDHI 1k write test"
+
+exec $(dirname $0)/../common/write-dd.sh \
+ /dev/disk/by-path/platform-sh_mobile_sdhi.0 1k 1