Switch NetBSD/shark's installation kernel and disk image to use wscons

instead of pccons, just like its GENERIC kernel does.

This obsoletes pccons in this platform, which will probably be removed
later.
This commit is contained in:
jmmv 2007-07-31 19:51:58 +00:00
parent f6199f0afb
commit d291012153
4 changed files with 65 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.3 2007/03/12 14:47:15 jmmv Exp $
# $NetBSD: dot.profile,v 1.4 2007/07/31 19:51:58 jmmv Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@ -55,7 +55,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
# get the terminal type
case ${_consdev} in
tty[Ev]*)
TERM=pc3
TERM=wsvt25
;;
*)
@ -64,9 +64,9 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo "" >& 2
echo "Setting terminal type. Options:" >& 2
echo "" >& 2
echo " pc3 for graphics console" >& 2
echo " vt100 for dumb serial terminal" >& 2
echo " xterm for xterm." >& 2
echo " vt100 for dumb serial terminal" >& 2
echo " wsvt25 for graphics console" >& 2
echo " xterm for xterm" >& 2
echo "" >& 2
eval `tset -s -m ":?$TERM"`
if [ "X${TERM}" != X"unknown" ]; then

View File

@ -1,4 +1,4 @@
LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.896 $>
LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.897 $>
[Note: This file does not mention every change made to the NetBSD source tree.
@ -176,4 +176,5 @@ Changes from NetBSD 4.0 to NetBSD 5.0:
shark: Add dhclient(8) to the install disk image to be able to
configure network interfaces through DHCP. [jmmv 20070729]
sparc: The cgfourteen driver now supports wscons. [macallan 20070730]
shark: Switched the installation disk to use wscons instead of
pccons. [jmmv 20070731]

View File

@ -1,4 +1,4 @@
# $NetBSD: MAKEDEV.conf,v 1.8 2007/07/30 14:03:17 jmmv Exp $
# $NetBSD: MAKEDEV.conf,v 1.9 2007/07/31 19:51:58 jmmv Exp $
all_md)
makedev wscons wd0 wd1 wd2 wd3
@ -15,4 +15,5 @@ ramdisk|floppy)
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
makedev bpf
makedev ttyE0 # needed by the ramdisk's .profile
;;

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL,v 1.31 2007/07/29 15:14:08 jmmv Exp $
# $NetBSD: INSTALL,v 1.32 2007/07/31 19:51:58 jmmv Exp $
#
# Shark installation kernel
#
@ -141,6 +141,46 @@ options DDB # in-kernel debugger
#options KERNEL_DEBUG # compile in kernel debugging capability
#makeoptions DEBUG="-g" # compile full symbol table
#
# wscons options
#
# builtin terminal emulations
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
#options WS_DEFAULT_FG=WSCOL_WHITE
#options WS_DEFAULT_BG=WSCOL_BLACK
#options WS_DEFAULT_COLATTR="(0)"
#options WS_DEFAULT_MONOATTR="(0)"
#options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
#options WS_KERNEL_COLATTR=""
#options WS_KERNEL_MONOATTR=""
# customization of console border color
#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
# 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/pckbport/wskbdmap_mfii.c for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
#options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
# allocate a number of virtual screens at autoconfiguration time
#options WSDISPLAY_DEFAULTSCREENS=4
# 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="\"80x24\""
# console scrolling support.
#options WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options VGA_RASTERCONSOLE
# the font to be used by vga(4); the hardware built-in font is broken
options FONT_VT220L8x16
config netbsd root on ? type ffs # root on miniroot
# The main bus device
@ -171,12 +211,22 @@ cd* at atapibus? drive?
sd* at atapibus? drive?
# PCCONS@OFW
ofisapc* at ofbus?
pc* at ofisapc?
#ofisapc* at ofbus?
#pc* at ofisapc?
# PS/2 Mouse
#opms0 at spckbd? irq 12
# wscons
pckbc* at ofisa?
pckbd* at pckbc?
#pms* at pckbc?
vga* at ofbus?
#igsfb* at ofbus?
wsdisplay* at wsemuldisplaydev?
wskbd* at pckbd? console ?
#wsmouse* at pms? mux 0
# CS8900 Ethernet@OFW
cs* at ofisa?
@ -215,3 +265,5 @@ pseudo-device rnd # /dev/random and /dev/urandom
pseudo-device md 1 # Ramdisk driver
#pseudo-device profiler 1 # fiq based profiling device
#pseudo-device sequencer 1 # MIDI sequencer
pseudo-device wsmux # mouse & keyboard multiplexor
#pseudo-device wsfont