diff options
| author | John Ogness <john.ogness@linutronix.de> | 2019-02-15 12:50:06 +0106 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-02-15 12:50:06 +0106 |
| commit | e5382e43fcc8d143db24d80833a02b44b9c0b78e (patch) | |
| tree | 3057ebdfaa833808265501e4b3173ce20d39ab21 /schulung_tools/leds/README | |
| parent | e46aa51aa27833e44975b24842e8175c4a0a54da (diff) | |
schulung_tools: leds: add Qt leds application for host
The leds application runs on the host and is used to simulate
PCI hardware with 3 LEDs. See the README for information about
how to build and use it.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/leds/README')
| -rw-r--r-- | schulung_tools/leds/README | 24 |
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 +# |
