summaryrefslogtreecommitdiff
path: root/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@hxt-semitech.com>2018-12-07 13:10:04 +0300
committerAndrew Geissler <geissonator@yahoo.com>2019-03-12 16:13:58 +0300
commit88e7a15a69c32ee7d040216c585291670f3b98b4 (patch)
treeaf2627a432b80f5245279264ef2ec086bb258418 /meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh
parentc13f46e1deabb6ba19e818ce5050ccfbebc6d070 (diff)
downloadopenbmc-88e7a15a69c32ee7d040216c585291670f3b98b4.tar.xz
meta-hxt: add sol support
(From meta-hxt rev: 983f81795dcfb10acd7a9a138206476a0a3a1bb0) Change-Id: I745e731c32cfaf3c8e367a56b596dc2e6140a01f Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh')
-rw-r--r--meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh
new file mode 100644
index 000000000..a95c1a656
--- /dev/null
+++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+#Control UART mux for obmc-console-client
+echo 0 > /sys/class/gpio/gpio325/value
+obmc-console-client
+echo 1 > /sys/class/gpio/gpio325/value