diff options
author | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
commit | 318724e3ae43ee561892a29f4f3f075e81293d06 (patch) | |
tree | 10108d2052b79bb4cee47082dd48ca4f0cff2deb /configs/os | |
parent | c96057772c8d845c90ad7429e51689eeffb63d71 (diff) |
v1
Diffstat (limited to 'configs/os')
21 files changed, 73 insertions, 0 deletions
diff --git a/configs/os/boot-config/v1-hdmi-rpi2.txt b/configs/os/boot-config/v1-hdmi-rpi2.txt new file mode 100644 index 00000000..e94b342d --- /dev/null +++ b/configs/os/boot-config/v1-hdmi-rpi2.txt @@ -0,0 +1,8 @@ +# See /boot/overlays/README for all available options +initramfs initramfs-linux.img followkernel + +hdmi_force_hotplug=1 +gpu_mem=128 +enable_uart=1 +dtoverlay=tc358743,i2c_pins_28_29=1 +dtoverlay=spi0-1cs diff --git a/configs/os/boot-config/v1-hdmi-rpi3.txt b/configs/os/boot-config/v1-hdmi-rpi3.txt new file mode 100644 index 00000000..ad44d95c --- /dev/null +++ b/configs/os/boot-config/v1-hdmi-rpi3.txt @@ -0,0 +1,9 @@ +# See /boot/overlays/README for all available options +initramfs initramfs-linux.img followkernel + +hdmi_force_hotplug=1 +gpu_mem=128 +enable_uart=1 +dtoverlay=tc358743 +dtoverlay=disable-bt +dtoverlay=spi0-1cs diff --git a/configs/os/boot-config/v1-hdmi-zero2w.txt b/configs/os/boot-config/v1-hdmi-zero2w.txt new file mode 100644 index 00000000..0a1e9009 --- /dev/null +++ b/configs/os/boot-config/v1-hdmi-zero2w.txt @@ -0,0 +1,9 @@ +# See /boot/overlays/README for all available options +initramfs initramfs-linux.img followkernel + +hdmi_force_hotplug=1 +gpu_mem=96 +enable_uart=1 +dtoverlay=tc358743,i2c_pins_28_29=1 +dtoverlay=disable-bt +dtoverlay=spi0-1cs diff --git a/configs/os/boot-config/v1-hdmiusb-rpi2.txt b/configs/os/boot-config/v1-hdmiusb-rpi2.txt new file mode 100644 index 00000000..9957f1a4 --- /dev/null +++ b/configs/os/boot-config/v1-hdmiusb-rpi2.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=spi0-1cs diff --git a/configs/os/boot-config/v1-hdmiusb-rpi3.txt b/configs/os/boot-config/v1-hdmiusb-rpi3.txt new file mode 100644 index 00000000..fe4ce032 --- /dev/null +++ b/configs/os/boot-config/v1-hdmiusb-rpi3.txt @@ -0,0 +1,8 @@ +# 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 +dtoverlay=spi0-1cs diff --git a/configs/os/boot-config/v1-hdmiusb-zero2w.txt b/configs/os/boot-config/v1-hdmiusb-zero2w.txt new file mode 100644 index 00000000..fe4ce032 --- /dev/null +++ b/configs/os/boot-config/v1-hdmiusb-zero2w.txt @@ -0,0 +1,8 @@ +# 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 +dtoverlay=spi0-1cs diff --git a/configs/os/cmdline/v1-hdmi-rpi2.sed b/configs/os/cmdline/v1-hdmi-rpi2.sed new file mode 100644 index 00000000..803b9b03 --- /dev/null +++ b/configs/os/cmdline/v1-hdmi-rpi2.sed @@ -0,0 +1 @@ +s/rootwait/cma=128M rootwait/g diff --git a/configs/os/cmdline/v1-hdmi-rpi3.sed b/configs/os/cmdline/v1-hdmi-rpi3.sed new file mode 100644 index 00000000..803b9b03 --- /dev/null +++ b/configs/os/cmdline/v1-hdmi-rpi3.sed @@ -0,0 +1 @@ +s/rootwait/cma=128M rootwait/g diff --git a/configs/os/cmdline/v1-hdmi-zero2w.sed b/configs/os/cmdline/v1-hdmi-zero2w.sed new file mode 100644 index 00000000..f350c89c --- /dev/null +++ b/configs/os/cmdline/v1-hdmi-zero2w.sed @@ -0,0 +1 @@ +s/rootwait/cma=96M rootwait/g diff --git a/configs/os/cmdline/v1-hdmiusb-rpi2.sed b/configs/os/cmdline/v1-hdmiusb-rpi2.sed new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/configs/os/cmdline/v1-hdmiusb-rpi2.sed diff --git a/configs/os/cmdline/v1-hdmiusb-rpi3.sed b/configs/os/cmdline/v1-hdmiusb-rpi3.sed new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/configs/os/cmdline/v1-hdmiusb-rpi3.sed diff --git a/configs/os/cmdline/v1-hdmiusb-zero2w.sed b/configs/os/cmdline/v1-hdmiusb-zero2w.sed new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/configs/os/cmdline/v1-hdmiusb-zero2w.sed diff --git a/configs/os/modules-load/v1-hdmi.conf b/configs/os/modules-load/v1-hdmi.conf new file mode 100644 index 00000000..5be25408 --- /dev/null +++ b/configs/os/modules-load/v1-hdmi.conf @@ -0,0 +1 @@ +tc358743 diff --git a/configs/os/sudoers/v1-hdmi b/configs/os/sudoers/v1-hdmi new file mode 100644 index 00000000..bb549dc8 --- /dev/null +++ b/configs/os/sudoers/v1-hdmi @@ -0,0 +1 @@ +kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount diff --git a/configs/os/sudoers/v1-hdmiusb b/configs/os/sudoers/v1-hdmiusb new file mode 100644 index 00000000..bb549dc8 --- /dev/null +++ b/configs/os/sudoers/v1-hdmiusb @@ -0,0 +1 @@ +kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount diff --git a/configs/os/udev/v1-hdmi-rpi2.rules b/configs/os/udev/v1-hdmi-rpi2.rules new file mode 100644 index 00000000..49ca9ce0 --- /dev/null +++ b/configs/os/udev/v1-hdmi-rpi2.rules @@ -0,0 +1,3 @@ +# 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=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" diff --git a/configs/os/udev/v1-hdmi-rpi3.rules b/configs/os/udev/v1-hdmi-rpi3.rules new file mode 100644 index 00000000..49ca9ce0 --- /dev/null +++ b/configs/os/udev/v1-hdmi-rpi3.rules @@ -0,0 +1,3 @@ +# 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=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" diff --git a/configs/os/udev/v1-hdmi-zero2w.rules b/configs/os/udev/v1-hdmi-zero2w.rules new file mode 100644 index 00000000..49ca9ce0 --- /dev/null +++ b/configs/os/udev/v1-hdmi-zero2w.rules @@ -0,0 +1,3 @@ +# 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=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" diff --git a/configs/os/udev/v1-hdmiusb-rpi2.rules b/configs/os/udev/v1-hdmiusb-rpi2.rules new file mode 100644 index 00000000..eafd8ef8 --- /dev/null +++ b/configs/os/udev/v1-hdmiusb-rpi2.rules @@ -0,0 +1,3 @@ +# 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", PROGRAM="/usr/bin/kvmd-udev-hdmiusb-check rpi2 %b", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" diff --git a/configs/os/udev/v1-hdmiusb-rpi3.rules b/configs/os/udev/v1-hdmiusb-rpi3.rules new file mode 100644 index 00000000..f28bdfae --- /dev/null +++ b/configs/os/udev/v1-hdmiusb-rpi3.rules @@ -0,0 +1,3 @@ +# 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", PROGRAM="/usr/bin/kvmd-udev-hdmiusb-check rpi3 %b", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" diff --git a/configs/os/udev/v1-hdmiusb-zero2w.rules b/configs/os/udev/v1-hdmiusb-zero2w.rules new file mode 100644 index 00000000..1a2a6f7d --- /dev/null +++ b/configs/os/udev/v1-hdmiusb-zero2w.rules @@ -0,0 +1,3 @@ +# 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" |