summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-05-21 04:38:21 +0300
committerDevaev Maxim <[email protected]>2019-05-21 04:38:21 +0300
commitb9e6ffee9756dadb769dc6391d8cd1e6570e4632 (patch)
tree82c9f3ab014f57a4569de9c030050e6880750f9e /configs/os
parentd5d07c48c0f7c4bdf51f330d976de3cab86bb069 (diff)
v0 configs
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/boot-config/v0-hdmi-rpi2.txt8
-rw-r--r--configs/os/boot-config/v0-hdmi-rpi3.txt9
-rw-r--r--configs/os/boot-config/v0-vga-rpi2.txt6
-rw-r--r--configs/os/boot-config/v0-vga-rpi3.txt7
-rw-r--r--configs/os/cmdline/v0-hdmi.sed3
-rw-r--r--configs/os/cmdline/v0-vga.sed2
-rw-r--r--configs/os/modules-load/v0-hdmi.conf1
-rw-r--r--configs/os/udev/v0-hdmi-rpi2.rules4
-rw-r--r--configs/os/udev/v0-hdmi-rpi3.rules4
-rw-r--r--configs/os/udev/v0-vga-rpi2.rules4
-rw-r--r--configs/os/udev/v0-vga-rpi3.rules4
11 files changed, 52 insertions, 0 deletions
diff --git a/configs/os/boot-config/v0-hdmi-rpi2.txt b/configs/os/boot-config/v0-hdmi-rpi2.txt
new file mode 100644
index 00000000..d2ccfdac
--- /dev/null
+++ b/configs/os/boot-config/v0-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=256
+start_x=1
+enable_uart=1
+dtoverlay=tc358743,i2c_pins_28_29=1
diff --git a/configs/os/boot-config/v0-hdmi-rpi3.txt b/configs/os/boot-config/v0-hdmi-rpi3.txt
new file mode 100644
index 00000000..0e1d8637
--- /dev/null
+++ b/configs/os/boot-config/v0-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=256
+start_x=1
+enable_uart=1
+dtoverlay=tc358743
+dtoverlay=pi3-disable-bt
diff --git a/configs/os/boot-config/v0-vga-rpi2.txt b/configs/os/boot-config/v0-vga-rpi2.txt
new file mode 100644
index 00000000..d78de4ae
--- /dev/null
+++ b/configs/os/boot-config/v0-vga-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-vga-rpi3.txt b/configs/os/boot-config/v0-vga-rpi3.txt
new file mode 100644
index 00000000..34eab89a
--- /dev/null
+++ b/configs/os/boot-config/v0-vga-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=pi3-disable-bt
diff --git a/configs/os/cmdline/v0-hdmi.sed b/configs/os/cmdline/v0-hdmi.sed
new file mode 100644
index 00000000..b3614eb0
--- /dev/null
+++ b/configs/os/cmdline/v0-hdmi.sed
@@ -0,0 +1,3 @@
+s/console=ttyAMA0\,115200//g
+s/kgdboc=ttyAMA0\,115200//g
+s/rootwait/cma=128M rootwait/g
diff --git a/configs/os/cmdline/v0-vga.sed b/configs/os/cmdline/v0-vga.sed
new file mode 100644
index 00000000..57f42700
--- /dev/null
+++ b/configs/os/cmdline/v0-vga.sed
@@ -0,0 +1,2 @@
+s/console=ttyAMA0\,115200//g
+s/kgdboc=ttyAMA0\,115200//g
diff --git a/configs/os/modules-load/v0-hdmi.conf b/configs/os/modules-load/v0-hdmi.conf
new file mode 100644
index 00000000..5be25408
--- /dev/null
+++ b/configs/os/modules-load/v0-hdmi.conf
@@ -0,0 +1 @@
+tc358743
diff --git a/configs/os/udev/v0-hdmi-rpi2.rules b/configs/os/udev/v0-hdmi-rpi2.rules
new file mode 100644
index 00000000..835b1fb4
--- /dev/null
+++ b/configs/os/udev/v0-hdmi-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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
diff --git a/configs/os/udev/v0-hdmi-rpi3.rules b/configs/os/udev/v0-hdmi-rpi3.rules
new file mode 100644
index 00000000..835b1fb4
--- /dev/null
+++ b/configs/os/udev/v0-hdmi-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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
diff --git a/configs/os/udev/v0-vga-rpi2.rules b/configs/os/udev/v0-vga-rpi2.rules
new file mode 100644
index 00000000..026a3694
--- /dev/null
+++ b/configs/os/udev/v0-vga-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.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
diff --git a/configs/os/udev/v0-vga-rpi3.rules b/configs/os/udev/v0-vga-rpi3.rules
new file mode 100644
index 00000000..c2945059
--- /dev/null
+++ b/configs/os/udev/v0-vga-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.1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"