Skip to content

Commit

Permalink
Uses virtio-console instead of serial for better performance (and aut…
Browse files Browse the repository at this point in the history
…o resize in the future)
  • Loading branch information
alexkar598 committed Jun 23, 2024
1 parent 917dbcb commit 5ab3130
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion byondvm/busybox.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.36.1
# Fri Jun 21 20:59:07 2024
# Sat Jun 22 18:39:46 2024
#
CONFIG_HAVE_DOT_CONFIG=y

Expand Down
4 changes: 2 additions & 2 deletions byondvm/kernel.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CONFIG_MPENTIUMIII=y
# CONFIG_X86_UMIP is not set
# CONFIG_RELOCATABLE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS1 HOME=/root"
CONFIG_CMDLINE="console=hvc1 HOME=/root"
# CONFIG_MODIFY_LDT_SYSCALL is not set
# CONFIG_CPU_MITIGATIONS is not set
# CONFIG_SUSPEND is not set
Expand Down Expand Up @@ -64,7 +64,6 @@ CONFIG_INPUT_FF_MEMLESS=y
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_SERPORT is not set
# CONFIG_VT is not set
# CONFIG_UNIX98_PTYS is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_LEGACY_TIOCSTI is not set
# CONFIG_LDISC_AUTOLOAD is not set
Expand All @@ -75,6 +74,7 @@ CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_HW_RANDOM is not set
# CONFIG_DEVMEM is not set
# CONFIG_DEVPORT is not set
Expand Down
2 changes: 0 additions & 2 deletions package/byondvm-controller/byondvm-controller.hash

This file was deleted.

2 changes: 1 addition & 1 deletion package/byondvm-controller/byondvm-controller.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

BYONDVM_CONTROLLER_VERSION = v1.1.1
BYONDVM_CONTROLLER_VERSION = v2.0.0
BYONDVM_CONTROLLER_SITE = $(call github,spacestation13,dm-playground_controller,$(BYONDVM_CONTROLLER_VERSION))
BYONDVM_CONTROLLER_LICENSE = ISC

Expand Down
6 changes: 3 additions & 3 deletions rootfs_overlay/etc/inittab
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ null::sysinit:/bin/setserial /dev/ttyS0 sak
::sysinit:/etc/init.d/rcS

#run controller
::respawn:/usr/bin/controller
::respawn:/usr/bin/controller /dev/hvc2


# Auto-login as root on ttyS0
::respawn:/sbin/getty ttyS0 38400 xterm -n -l /bin/sh
# Auto-login as root on hvc0
::respawn:/sbin/getty hvc0 38400 xterm -n -l /bin/sh

0 comments on commit 5ab3130

Please sign in to comment.