Subject: Re: testers with cg6 needed
To: Michael <macallan18@earthlink.net>
From: Olev <hannula@gmail.com>
List: port-sparc
Date: 05/19/2005 00:36:53
On 5/18/05, Michael <macallan18@earthlink.net> wrote:

> For console only just add:
> wsdisplay* at cgsix?
> wskbd* at kbd?
>=20
> pseudo-device   wsmux                   # mouse and keyboard multiplexor
> pseudo-device   wsfont
>=20
> ... and something like this:
>=20
> #options        WSEMUL_SUN
> options         WSEMUL_VT100
> options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
> options         WSDISPLAY_CUSTOM_OUTPUT         # color customization fro=
m wsconsctl(8)
> options         WS_DEFAULT_FG=3DWSCOL_BLACK
> options         WS_DEFAULT_BG=3D0x0f
> options         WS_KERNEL_FG=3DWSCOL_GREEN
> options         WS_KERNEL_BG=3D0x0f
> options         WSDISPLAY_COMPAT_USL            # VT handling
> options         WSDISPLAY_DEFAULTSCREENS=3D1
>=20
> #options        FONT_GALLANT12x22       # the console font
> options         FONT_BOLD8x16           # a somewhat smaller font
>=20
> ... to your kernel config, pick whatever font you like but only one for
> now. A list is in src/sys/dev/wsfont/files.wsfont. Then remove or
> comment out stuff like this:
>=20
> options RASTERCONSOLE
> options         RASTERCONSOLE_FGCOL=3DWSCOL_BLACK
> options         RASTERCONSOLE_BGCOL=3DWSCOL_WHITE
>=20
> ... and do the usual config / make depend / make ritual.

I just tried that on a clean -current tree and added the lines to
GENERIC (and removed RASTERCONSOLE). Then config and with make depend
I got the following error:

../../../../dev/sbus/zx.c:83:2: #error Sorry, this driver needs the
RASTERCONSOLE option
nbmkdep: compile failed.

Ok fine, so I commented out zx. Config and make depend went fine but
then with make I got:

#      link  TEST/netbsd
/usr/src/tooldir.FreeBSD-5.3-RELEASE-p1-i386/bin/sparc--netbsdelf-ld
-n -T ../../../../arch/sparc/conf/kern.ldscript -Ttext F0004000 -e
start -X -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
kbd.o(.text+0xf90): In function `sunkbd_wskbd_cngetc':
: undefined reference to `prom_cngetc'

So it still has some problems. I'd be glad to help with testing to get
it working.

Olev