diff options
author | Devaev Maxim <[email protected]> | 2019-11-08 17:20:06 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-11-08 17:20:06 +0300 |
commit | 976130bcd9ba2822428f5358efe5e9395b89a55f (patch) | |
tree | ab0380b7ffbc18a98a9c08c39324ebf4d6a69941 /configs/os | |
parent | fa40676136483dd287caf5df324ca429e5adbace (diff) |
zerow configs
Diffstat (limited to 'configs/os')
-rw-r--r-- | configs/os/boot-config/v2-hdmi-zerow.txt | 10 | ||||
-rw-r--r-- | configs/os/cmdline/v0-hdmi-rpi2.sed (renamed from configs/os/cmdline/v0-hdmi.sed) | 0 | ||||
-rw-r--r-- | configs/os/cmdline/v0-hdmi-rpi3.sed (renamed from configs/os/cmdline/v1-hdmi.sed) | 0 | ||||
-rw-r--r-- | configs/os/cmdline/v0-vga-rpi2.sed (renamed from configs/os/cmdline/v0-vga.sed) | 0 | ||||
-rw-r--r-- | configs/os/cmdline/v0-vga-rpi3.sed (renamed from configs/os/cmdline/v1-vga.sed) | 0 | ||||
-rw-r--r-- | configs/os/cmdline/v1-hdmi-rpi2.sed | 3 | ||||
-rw-r--r-- | configs/os/cmdline/v1-hdmi-rpi3.sed | 3 | ||||
-rw-r--r-- | configs/os/cmdline/v1-vga-rpi2.sed | 2 | ||||
-rw-r--r-- | configs/os/cmdline/v1-vga-rpi3.sed | 2 | ||||
-rw-r--r-- | configs/os/cmdline/v2-hdmi-rpi4.sed (renamed from configs/os/cmdline/v2-hdmi.sed) | 0 | ||||
-rw-r--r-- | configs/os/cmdline/v2-hdmi-zerow.sed | 1 | ||||
-rw-r--r-- | configs/os/udev/v2-hdmi-zerow.rules | 5 |
12 files changed, 26 insertions, 0 deletions
diff --git a/configs/os/boot-config/v2-hdmi-zerow.txt b/configs/os/boot-config/v2-hdmi-zerow.txt new file mode 100644 index 00000000..a7c9f3d1 --- /dev/null +++ b/configs/os/boot-config/v2-hdmi-zerow.txt @@ -0,0 +1,10 @@ +# 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=pi3-disable-bt +dtoverlay=dwc2 diff --git a/configs/os/cmdline/v0-hdmi.sed b/configs/os/cmdline/v0-hdmi-rpi2.sed index b3614eb0..b3614eb0 100644 --- a/configs/os/cmdline/v0-hdmi.sed +++ b/configs/os/cmdline/v0-hdmi-rpi2.sed diff --git a/configs/os/cmdline/v1-hdmi.sed b/configs/os/cmdline/v0-hdmi-rpi3.sed index b3614eb0..b3614eb0 100644 --- a/configs/os/cmdline/v1-hdmi.sed +++ b/configs/os/cmdline/v0-hdmi-rpi3.sed diff --git a/configs/os/cmdline/v0-vga.sed b/configs/os/cmdline/v0-vga-rpi2.sed index 57f42700..57f42700 100644 --- a/configs/os/cmdline/v0-vga.sed +++ b/configs/os/cmdline/v0-vga-rpi2.sed diff --git a/configs/os/cmdline/v1-vga.sed b/configs/os/cmdline/v0-vga-rpi3.sed index 57f42700..57f42700 100644 --- a/configs/os/cmdline/v1-vga.sed +++ b/configs/os/cmdline/v0-vga-rpi3.sed diff --git a/configs/os/cmdline/v1-hdmi-rpi2.sed b/configs/os/cmdline/v1-hdmi-rpi2.sed new file mode 100644 index 00000000..b3614eb0 --- /dev/null +++ b/configs/os/cmdline/v1-hdmi-rpi2.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/v1-hdmi-rpi3.sed b/configs/os/cmdline/v1-hdmi-rpi3.sed new file mode 100644 index 00000000..b3614eb0 --- /dev/null +++ b/configs/os/cmdline/v1-hdmi-rpi3.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/v1-vga-rpi2.sed b/configs/os/cmdline/v1-vga-rpi2.sed new file mode 100644 index 00000000..57f42700 --- /dev/null +++ b/configs/os/cmdline/v1-vga-rpi2.sed @@ -0,0 +1,2 @@ +s/console=ttyAMA0\,115200//g +s/kgdboc=ttyAMA0\,115200//g diff --git a/configs/os/cmdline/v1-vga-rpi3.sed b/configs/os/cmdline/v1-vga-rpi3.sed new file mode 100644 index 00000000..57f42700 --- /dev/null +++ b/configs/os/cmdline/v1-vga-rpi3.sed @@ -0,0 +1,2 @@ +s/console=ttyAMA0\,115200//g +s/kgdboc=ttyAMA0\,115200//g diff --git a/configs/os/cmdline/v2-hdmi.sed b/configs/os/cmdline/v2-hdmi-rpi4.sed index 803b9b03..803b9b03 100644 --- a/configs/os/cmdline/v2-hdmi.sed +++ b/configs/os/cmdline/v2-hdmi-rpi4.sed diff --git a/configs/os/cmdline/v2-hdmi-zerow.sed b/configs/os/cmdline/v2-hdmi-zerow.sed new file mode 100644 index 00000000..69372c9f --- /dev/null +++ b/configs/os/cmdline/v2-hdmi-zerow.sed @@ -0,0 +1 @@ +s/rootwait/cma=64M rootwait/g diff --git a/configs/os/udev/v2-hdmi-zerow.rules b/configs/os/udev/v2-hdmi-zerow.rules new file mode 100644 index 00000000..25ad13de --- /dev/null +++ b/configs/os/udev/v2-hdmi-zerow.rules @@ -0,0 +1,5 @@ +# 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", GROUP="kvmd", SYMLINK+="kvmd-video" +KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard" +KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse" |