summaryrefslogtreecommitdiff
path: root/schulung_tools/leds/README
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/leds/README')
-rw-r--r--schulung_tools/leds/README24
1 files changed, 24 insertions, 0 deletions
diff --git a/schulung_tools/leds/README b/schulung_tools/leds/README
new file mode 100644
index 0000000..b89d34d
--- /dev/null
+++ b/schulung_tools/leds/README
@@ -0,0 +1,24 @@
+#
+# build
+#
+QT_SELECT=qt5 qmake
+make
+
+#
+# leds expects that ivshmem-server is already running
+# (ivshmem-server does not need to run as root)
+#
+ivshmem-server -p /tmp/ivshmem-server.pid
+
+#
+# run leds
+# (must run as the same user as ivshmem-server)
+#
+./leds
+
+#
+# qemu should be started with the following extra options:
+#
+# -device ivshmem-doorbell,vectors=1,chardev=chid1
+# -chardev socket,path=/tmp/ivshmem_socket,id=chid1
+#