Subject: Re: list of supported models
To: None <port-sparc64@NetBSD.org>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: port-sparc64
Date: 05/27/2004 17:00:51
--dcv4+U1QHVytmYUX
Content-Type: multipart/mixed; boundary="qPRehgwKaTVCe+gW"
Content-Disposition: inline


--qPRehgwKaTVCe+gW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* On 2004-05-27 at 08:42 BST, Martin Husemann wrote:

> On Thu, May 27, 2004 at 12:12:30AM -0700, Michael Wolfson wrote:
>
> > Not even a PCI video card known to work on another platform (such as an=
=20
> > ATI Mac card with Open Firmware)?
>=20
> We support the build-in vga card (machfb* at pci?)

A friend tried installing 1.6 onto his Blade100 earlier this
week, and failed due to the USB keyboard not being configured.
I told him he'd probably have better luck with 2.0_BETA, but to
check I grabbed a spare Blade100 and was surprised to see it
still not enabled in the INSTALL kernel.

Are there still too many bugs in machfb/wscons support to commit
the following diff?  It'd be nice for Blade100 users to be able
to install the 2.0 CD at their desktop, even if it may not be
all that useful after that (rather than having to sort out a
netboot).  It makes this Blade at least usable at the keyboard.

Unfortunately, having a USB keyboard doesn't help when hitting
bugs, as it stops working :-)  I managed to get this much when
attempting to enable ttyE* in ttys and setting up wscons, but
nothing else (pasted here incase it's useful):

  data fault: pc=3D12b03a8 addr=3D8
  kernel trap 30: data access exception
  Stopped in pid 479.1 (getty) at netbsd:rasops8_putchar8+0x104: st %g2, [%=
i1 + %g0]
  db>=20

Cheers,

--=20
Jonathan Perkin                         <jonathan@perkin.org.uk>
BBC Internet Services         http://www.perkin.org.uk/jonathan/

--qPRehgwKaTVCe+gW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="blade100.diff"
Content-Transfer-Encoding: quoted-printable

Index: GENERIC32
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/arch/sparc64/conf/GENERIC32,v
retrieving revision 1.80
diff -u -r1.80 GENERIC32
--- GENERIC32	2 May 2004 03:14:48 -0000	1.80
+++ GENERIC32	27 May 2004 15:31:19 -0000
@@ -21,8 +21,8 @@
 ## Use a faster console than the PROM's slow drawing routines.  Not needed
 ## for headless (no framebuffer) machines.
 # XXX borken on sparc64
-#options 	RASTERCONSOLE		# fast rasterop console
-#options 	FONT_GALLANT12x22	# the console font
+options 	RASTERCONSOLE		# fast rasterop console
+options 	FONT_GALLANT12x22	# the console font
 #options 	FONT_BOLD8x16		# a somewhat smaller font
=20
 #### System options that are the same for all ports
@@ -199,6 +199,37 @@
 options 	PPP_FILTER	# Add active filters for ppp (via bpf)
 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
=20
+#
+# wscons options
+#
+# builtin terminal emulations
+#options	WSEMUL_SUN		# sun terminal emulation
+options		WSEMUL_VT100		# VT100 / VT220 emulation
+# different kernel output - see dev/wscons/wsdisplayvar.h
+options		WS_KERNEL_FG=3DWSCOL_GREEN
+options		WS_KERNEL_BG=3DWSCOL_BLACK
+# compatibility to other console drivers
+#options	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
+options		WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
+#options	WSDISPLAY_COMPAT_USL		# VT handling
+options		WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
+# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
+#options	PCKBD_LAYOUT=3D"(KB_DE | KB_NODEAD)"
+# allocate a number of virtual screens at autoconfiguration time
+options		WSDISPLAY_DEFAULTSCREENS=3D4
+# use a large software cursor that doesn't blink
+#options	PCDISPLAY_SOFTCURSOR
+# modify the screen type of the console; defaults to "80x25"
+#options	VGA_CONSOLE_SCREENTYPE=3D"\"80x34\""
+# work around a hardware bug that loaded fonts don't work; found on ATI ca=
rds
+#options	VGA_CONSOLE_ATI_BROKEN_FONTSEL
+# the following enables some functions to get mouse console support.
+# if you want a really secure system, it may be better not to enable them,
+# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
+#options	WSDISPLAY_CHARFUNCS		# mouse console support
+# enable VGA raster mode capable of displaying multilingual text on console
+#options	VGA_RASTERCONSOLE
+
=20
 #### Main bus and CPU .. all systems.
 mainbus0 at root
@@ -494,6 +525,12 @@
 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID
 uhid*	at uhidev? reportid ?				# USB Generic HID
=20
+ukbd*	at uhidev? reportid ?				# USB Keyboards
+wskbd*	at ukbd? console ? mux 1
+
+ums*	at uhidev? reportid ?				# USB Mice
+wsmouse* at ums? mux 0
+
 ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
=20
 umodem*	at uhub? port ? configuration ?			# USB Modem
@@ -665,6 +702,10 @@
 #ffb*		at mainbus0
 #wsdisplay*	at ffb?
=20
+# ATI Rage/Mach64 framebuffer
+machfb*		at pci? dev ? function ?
+wsdisplay*	at machfb?
+
 #### Other device configuration
=20
 ### Other pseudo-devices
@@ -682,3 +723,7 @@
=20
 pseudo-device	clockctl		# user control of clock subsystem
 pseudo-device	ksyms			# /dev/ksyms
+
+# wscons pseudo-devices
+pseudo-device	wsmux			# mouse & keyboard multiplexor
+pseudo-device	wsfont =20

--qPRehgwKaTVCe+gW--

--dcv4+U1QHVytmYUX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUBQLYQsyFee6/VMqV4AQI07Af/RmkLvXYhUhnXEM4b9O8IF3IBklYIyyCo
RQlw3EJPyFzK3vJGU+Fvn2PMJq/CcCXvfduJ1rfshwwXbeJrJow8K9BeEKVDTW9e
pIPydTwtAAJqFOKI5qxEt5XyXwna0iKFxOvERwMntE95OoTjTiSmAsRyKxa2hYmL
dDl6ECaSTr4Gd8r0xm0LmaBsF257ak/qDYnOWkwH3Q/cZmyEkcKnvj0C7PZ9MhH9
z3NHBHyZw4ZCcIkNVySCTrF2mjtB3t/hairCb88/lh+gIXM1iakmw8ar4TSeGZS8
9tZS9OEGHEsqJTGxTcXl/KAhWAo4E1aPtmW6Ot03p/rjwcFpQZ6zng==
=TRPF
-----END PGP SIGNATURE-----

--dcv4+U1QHVytmYUX--