summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/boot-config/v0-hdmiusb-rpi2.txt6
-rw-r--r--configs/os/boot-config/v0-hdmiusb-rpi3.txt7
-rw-r--r--configs/os/cmdline/v0-hdmiusb-rpi2.sed2
-rw-r--r--configs/os/cmdline/v0-hdmiusb-rpi3.sed2
-rw-r--r--configs/os/udev/v0-hdmiusb-rpi2.rules4
-rw-r--r--configs/os/udev/v0-hdmiusb-rpi3.rules4
6 files changed, 25 insertions, 0 deletions
diff --git a/configs/os/boot-config/v0-hdmiusb-rpi2.txt b/configs/os/boot-config/v0-hdmiusb-rpi2.txt
new file mode 100644
index 00000000..d78de4ae
--- /dev/null
+++ b/configs/os/boot-config/v0-hdmiusb-rpi2.txt
@@ -0,0 +1,6 @@
+# See /boot/overlays/README for all available options
+initramfs initramfs-linux.img followkernel
+
+hdmi_force_hotplug=1
+gpu_mem=16
+enable_uart=1
diff --git a/configs/os/boot-config/v0-hdmiusb-rpi3.txt b/configs/os/boot-config/v0-hdmiusb-rpi3.txt
new file mode 100644
index 00000000..5d41ab3c
--- /dev/null
+++ b/configs/os/boot-config/v0-hdmiusb-rpi3.txt
@@ -0,0 +1,7 @@
+# See /boot/overlays/README for all available options
+initramfs initramfs-linux.img followkernel
+
+hdmi_force_hotplug=1
+gpu_mem=16
+enable_uart=1
+dtoverlay=disable-bt
diff --git a/configs/os/cmdline/v0-hdmiusb-rpi2.sed b/configs/os/cmdline/v0-hdmiusb-rpi2.sed
new file mode 100644
index 00000000..57f42700
--- /dev/null
+++ b/configs/os/cmdline/v0-hdmiusb-rpi2.sed
@@ -0,0 +1,2 @@
+s/console=ttyAMA0\,115200//g
+s/kgdboc=ttyAMA0\,115200//g
diff --git a/configs/os/cmdline/v0-hdmiusb-rpi3.sed b/configs/os/cmdline/v0-hdmiusb-rpi3.sed
new file mode 100644
index 00000000..57f42700
--- /dev/null
+++ b/configs/os/cmdline/v0-hdmiusb-rpi3.sed
@@ -0,0 +1,2 @@
+s/console=ttyAMA0\,115200//g
+s/kgdboc=ttyAMA0\,115200//g
diff --git a/configs/os/udev/v0-hdmiusb-rpi2.rules b/configs/os/udev/v0-hdmiusb-rpi2.rules
new file mode 100644
index 00000000..dcbae9b8
--- /dev/null
+++ b/configs/os/udev/v0-hdmiusb-rpi2.rules
@@ -0,0 +1,4 @@
+# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
+# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
+KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.5:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
diff --git a/configs/os/udev/v0-hdmiusb-rpi3.rules b/configs/os/udev/v0-hdmiusb-rpi3.rules
new file mode 100644
index 00000000..dee441ff
--- /dev/null
+++ b/configs/os/udev/v0-hdmiusb-rpi3.rules
@@ -0,0 +1,4 @@
+# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
+# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
+KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"