Hi tech@,

Here is a diff to enable virtual consoles on armv7, the same way it is
done on arm64.

Also see the diff I sent earlier to sync fbtab.

Tested on a Cubieboard2.

Comments? OK?

Index: etc/etc.armv7/ttys
===================================================================
RCS file: /cvs/src/etc/etc.armv7/ttys,v
retrieving revision 1.1
diff -u -p -r1.1 ttys
--- etc/etc.armv7/ttys  4 Sep 2013 16:53:40 -0000       1.1
+++ etc/etc.armv7/ttys  18 Jun 2020 13:28:18 -0000
@@ -4,6 +4,18 @@
 # name getty                           type    status          comments
 #
 console        "/usr/libexec/getty std.115200" vt220   on  secure
+ttyC0  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyC1  "/usr/libexec/getty std.9600"   vt220   on  secure
+ttyC2  "/usr/libexec/getty std.9600"   vt220   on  secure
+ttyC3  "/usr/libexec/getty std.9600"   vt220   on  secure
+ttyC4  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyC5  "/usr/libexec/getty std.9600"   vt220   on  secure
+ttyC6  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyC7  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyC8  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyC9  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyCa  "/usr/libexec/getty std.9600"   vt220   off secure
+ttyCb  "/usr/libexec/getty std.9600"   vt220   off secure
 tty00  "/usr/libexec/getty std.115200" unknown off secure
 tty01  "/usr/libexec/getty std.9600"   unknown off secure
 tty02  "/usr/libexec/getty std.9600"   unknown off
Index: sys/arch/armv7/conf/GENERIC
===================================================================
RCS file: /cvs/src/sys/arch/armv7/conf/GENERIC,v
retrieving revision 1.131
diff -u -p -r1.131 GENERIC
--- sys/arch/armv7/conf/GENERIC 29 Apr 2020 19:30:58 -0000      1.131
+++ sys/arch/armv7/conf/GENERIC 18 Jun 2020 13:28:18 -0000
@@ -17,9 +17,9 @@ makeoptions   KERNEL_BASE_VIRT="0xc0300000
 maxusers       32                      # estimated number of users
 option         CPU_ARMv7               # Support the ARMv7
 
-#option WSDISPLAY_COMPAT_USL           # VT handling
+option WSDISPLAY_COMPAT_USL            # VT handling
 option WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
-option WSDISPLAY_DEFAULTSCREENS=1
+option WSDISPLAY_DEFAULTSCREENS=6      # initial number of text consoles
 
 option         CONF_HAVE_GPIO
 option         PCIVERBOSE

Reply via email to