This commit is contained in:
Devaev Maxim
2018-09-26 02:11:23 +03:00
parent 6e9a3222ce
commit 940989b6e9
24 changed files with 265 additions and 173 deletions

View File

@@ -0,0 +1,11 @@
RUN pkg-install \
dkms \
tc358743-dkms
RUN sed -i -e "s/rootwait/cma=128M rootwait/g" /boot/cmdline.txt
COPY stages/pikvm-v2/config.txt /boot/
COPY stages/pikvm-v2/udev.rules /etc/udev/rules.d/pikvm.rules
COPY stages/pikvm-v2/modules.load /etc/modules-load.d/pikvm.conf
RUN cp /usr/share/kvmd/configs/kvmd/v2.yaml /etc/kvmd.yaml

View File

@@ -0,0 +1,5 @@
gpu_mem=16
start_x=1
enable_uart=1
dtoverlay=tc358743,i2c_pins_28_29=1
dtparam=act_led_gpio=27

View File

@@ -0,0 +1 @@
tc358743

View File

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