summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-08-21 08:05:43 +0300
committerDevaev Maxim <[email protected]>2020-08-21 08:05:43 +0300
commitac396c3a72e93ad0228760960b529de9c49130e6 (patch)
tree01c93e64adc3d76e1df969fa7806114198bf39db /configs/os
parent19cbb62295aae784e0405638a3ecef8264d5cfca (diff)
v0-hdmiusb-zerow
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/boot-config/v0-hdmiusb-zerow.txt7
-rw-r--r--configs/os/cmdline/v0-hdmiusb-zerow.sed2
-rw-r--r--configs/os/udev/v0-hdmiusb-zerow.rules4
3 files changed, 13 insertions, 0 deletions
diff --git a/configs/os/boot-config/v0-hdmiusb-zerow.txt b/configs/os/boot-config/v0-hdmiusb-zerow.txt
new file mode 100644
index 00000000..5d41ab3c
--- /dev/null
+++ b/configs/os/boot-config/v0-hdmiusb-zerow.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-zerow.sed b/configs/os/cmdline/v0-hdmiusb-zerow.sed
new file mode 100644
index 00000000..57f42700
--- /dev/null
+++ b/configs/os/cmdline/v0-hdmiusb-zerow.sed
@@ -0,0 +1,2 @@
+s/console=ttyAMA0\,115200//g
+s/kgdboc=ttyAMA0\,115200//g
diff --git a/configs/os/udev/v0-hdmiusb-zerow.rules b/configs/os/udev/v0-hdmiusb-zerow.rules
new file mode 100644
index 00000000..933f7337
--- /dev/null
+++ b/configs/os/udev/v0-hdmiusb-zerow.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=="video0", SUBSYSTEM=="video4linux", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"