mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
v2 beta
This commit is contained in:
11
os/platforms/v2/Dockerfile.part
Normal file
11
os/platforms/v2/Dockerfile.part
Normal 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
|
||||
5
os/platforms/v2/config.txt
Normal file
5
os/platforms/v2/config.txt
Normal 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
|
||||
1
os/platforms/v2/modules.load
Normal file
1
os/platforms/v2/modules.load
Normal file
@@ -0,0 +1 @@
|
||||
tc358743
|
||||
4
os/platforms/v2/udev.rules
Normal file
4
os/platforms/v2/udev.rules
Normal 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"
|
||||
Reference in New Issue
Block a user