os configs

This commit is contained in:
Devaev Maxim
2019-02-16 21:16:53 +03:00
parent 7d79f48fd8
commit 303715ee61
20 changed files with 69 additions and 6 deletions

View File

@@ -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,i2c_pins_28_29=1
dtparam=act_led_gpio=26

View File

@@ -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
dtparam=act_led_gpio=26
dtoverlay=pi3-disable-bt

View File

@@ -0,0 +1,7 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=16
dtparam=act_led_gpio=26
enable_uart=1

View File

@@ -0,0 +1,8 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=16
dtparam=act_led_gpio=26
enable_uart=1
dtoverlay=pi3-disable-bt

View File

@@ -0,0 +1,3 @@
s/console=ttyAMA0\,115200//g
s/kgdboc=ttyAMA0\,115200//g
s/rootwait/cma=128M rootwait/g

View File

@@ -0,0 +1,2 @@
s/console=ttyAMA0\,115200//g
s/kgdboc=ttyAMA0\,115200//g

View File

@@ -0,0 +1 @@
tc358743

3
configs/os/sysctl.conf Normal file
View File

@@ -0,0 +1,3 @@
# https://github.com/raspberrypi/linux/issues/1753
vm.dirty_background_bytes = 5
vm.dirty_writeback_centisecs = 25

View File

@@ -9,8 +9,8 @@ Type=simple
Restart=always
RestartSec=3
ExecStart=/usr/bin/kvmd --config /etc/kvmd/kvmd.yaml
ExecStopPost=/usr/bin/kvmd-cleanup --config /etc/kvmd/kvmd.yaml
ExecStart=/usr/bin/kvmd
ExecStopPost=/usr/bin/kvmd-cleanup
[Install]
WantedBy=multi-user.target

View File

@@ -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.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.4:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@@ -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.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@@ -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=="1-1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.4:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@@ -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=="1-1.1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"