Subject: Re: testers with cg6 needed
To: Olev <hannula@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 05/18/2005 18:54:21
--Signature_Wed__18_May_2005_18_54_21_-0400_6agjqG3GVYhHQMtD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> > 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 from 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.
>=20
> 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:
>=20
> ../../../../dev/sbus/zx.c:83:2: #error Sorry, this driver needs the
> RASTERCONSOLE option
> nbmkdep: compile failed.
Well, you won't need this driver when using a cg6 as console.
> Ok fine, so I commented out zx. Config and make depend went fine but
> then with make I got:
>=20
> # 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'
>=20
> So it still has some problems. I'd be glad to help with testing to get
> it working.
Argh, one thing I forgot. This function is defined in
arch/sparc/dev/kd.c, but it's declared static, remove the static keyword
and it should work.
good luck
Michael
--Signature_Wed__18_May_2005_18_54_21_-0400_6agjqG3GVYhHQMtD
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQovHncpnzkX8Yg2nAQKWeggAmCOuCsS9CqRr7jbU6jnVEHa3LTa2yr21
9/BpAjpWjsw8Xo8CbWjEJUwH8BNjmKClslgye8oBht4KIU3OCsa02D21yiB7fhX7
P9uS79bVAaCjaAZp5NezgxtBGWQlbxb+h4zbIBFEO/Gg4R0LJE8Zh4+NGY9GSfXs
hUyToADqbwYyPxkF7fyxI97VHFBl+UMG/6hxTr2POcsk3Ud2FUdv3p5Tzbk4mKt4
Sr4BR0DsKWwuJ57VGo/rUw4NgV1FzCUGo2vZR2Kiu+86oja/xHh32+4p2s8ozvvW
VVWyZYVhRRjycfpbApJfDyzhB7RbsIsx2JGe+jZg5IIy9rliHI1IMg==
=SbIA
-----END PGP SIGNATURE-----
--Signature_Wed__18_May_2005_18_54_21_-0400_6agjqG3GVYhHQMtD--