diff options
author | Yura80 <[email protected]> | 2020-12-14 05:59:57 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-14 13:59:57 +0300 |
commit | 28b4f20ef339d9f559a66cb8a9900877600d2519 (patch) | |
tree | 26fd0952e1f40e4d45ff5f4874da3819d36158f9 /configs/os | |
parent | 53a5d19e3b11b26e905804e40321670416c46bf6 (diff) |
added v2-hdmi-rpi3 config for rpi3 model a (#20)
Diffstat (limited to 'configs/os')
-rw-r--r-- | configs/os/boot-config/v2-hdmi-rpi3.txt | 10 | ||||
-rw-r--r-- | configs/os/cmdline/v2-hdmi-rpi3.sed | 1 | ||||
-rw-r--r-- | configs/os/udev/v2-hdmi-rpi3.rules | 5 |
3 files changed, 16 insertions, 0 deletions
diff --git a/configs/os/boot-config/v2-hdmi-rpi3.txt b/configs/os/boot-config/v2-hdmi-rpi3.txt new file mode 100644 index 00000000..93f623d0 --- /dev/null +++ b/configs/os/boot-config/v2-hdmi-rpi3.txt @@ -0,0 +1,10 @@ +# 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=disable-bt +dtoverlay=dwc2,dr_mode=peripheral diff --git a/configs/os/cmdline/v2-hdmi-rpi3.sed b/configs/os/cmdline/v2-hdmi-rpi3.sed new file mode 100644 index 00000000..803b9b03 --- /dev/null +++ b/configs/os/cmdline/v2-hdmi-rpi3.sed @@ -0,0 +1 @@ +s/rootwait/cma=128M rootwait/g diff --git a/configs/os/udev/v2-hdmi-rpi3.rules b/configs/os/udev/v2-hdmi-rpi3.rules new file mode 100644 index 00000000..0cd04cba --- /dev/null +++ b/configs/os/udev/v2-hdmi-rpi3.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=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard" +KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse" |