summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-01-27 13:22:58 +0300
committerDevaev Maxim <[email protected]>2021-01-27 13:22:58 +0300
commit83f9406fa0c8e5ba2ceb384a2e3c7c6ed5557296 (patch)
tree5ef419be9750495bbaed2795eba2983a101b9234 /configs/os
parent10be8339d4671822ac7cef6b5973a7562535d975 (diff)
v0-hdmi-zerow
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/boot-config/v0-hdmi-zerow.txt9
-rw-r--r--configs/os/cmdline/v0-hdmi-zerow.sed1
-rw-r--r--configs/os/udev/v0-hdmi-zerow.rules4
3 files changed, 14 insertions, 0 deletions
diff --git a/configs/os/boot-config/v0-hdmi-zerow.txt b/configs/os/boot-config/v0-hdmi-zerow.txt
new file mode 100644
index 00000000..b426e9c6
--- /dev/null
+++ b/configs/os/boot-config/v0-hdmi-zerow.txt
@@ -0,0 +1,9 @@
+# See /boot/overlays/README for all available options
+initramfs initramfs-linux.img followkernel
+
+hdmi_force_hotplug=1
+gpu_mem=64
+start_x=1
+enable_uart=1
+dtoverlay=tc358743,i2c_pins_28_29=1
+dtoverlay=disable-bt
diff --git a/configs/os/cmdline/v0-hdmi-zerow.sed b/configs/os/cmdline/v0-hdmi-zerow.sed
new file mode 100644
index 00000000..69372c9f
--- /dev/null
+++ b/configs/os/cmdline/v0-hdmi-zerow.sed
@@ -0,0 +1 @@
+s/rootwait/cma=64M rootwait/g
diff --git a/configs/os/udev/v0-hdmi-zerow.rules b/configs/os/udev/v0-hdmi-zerow.rules
new file mode 100644
index 00000000..8d080d74
--- /dev/null
+++ b/configs/os/udev/v0-hdmi-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=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="20801000.csi|20801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"