# 	$NetBSD: INSTALL,v 1.47.4.1 2023/11/05 17:47:07 martin Exp $
#
#	INSTALL kernel for RISC-NEWS

include 	"arch/newsmips/conf/std.newsmips"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-Os -mmemcpy"	# Optimise for space. Implies -O2

maxusers	8

# Enable the hooks used for initializing the ram-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
options 	MEMORY_DISK_SERVER=0		# no userspace md(4) support
options 	MEMORY_DISK_ROOT_SIZE=6000	# 3000 Kilobytes
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

options 	news3400
options 	news5000
options 	MIPS1			# R2000/R3000 support
options 	MIPS3			# R4000 support
options 	CPU_SINGLE		# no I/O processor

options 	USERCONF		# userconf(4) support
options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Compatibility options
include 	"conf/compat_netbsd14.config"

# Filesystems
file-system	FFS		# Berkeley Fast Filesystem
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	MFS		# memory-based filesystem
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system	PTYFS		# /dev/pts/N support

# Filesystem options
options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	WAPBL		# File system journaling support

# Networking options
options 	INET		# Internet protocols
#options 	INET6		# IPV6
options 	NFS_BOOT_BOOTPARAM

# wscons options
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
#options 	FONT_GALLANT12x22
options 	FONT_SONY8x16

config		netbsd	root on ? type ?

mainbus0 at root

cpu0	at mainbus0
hb0	at mainbus0			# Hyper-bus
ap0	at mainbus0			# APbus

mkclock0 at hb0 addr 0xbff40000		# MK48T02 realtime clock
mkclock0 at ap?

le0	at hb0 addr 0xbff80000 level 1	# built-in LANCE ethernet
le1	at hb0 addr 0xb8c30000 level 0

sn*	at ap?				# SONIC Ethernet
tlp*	at ap?

kb0	at hb0 addr 0xbfd00000 level 2	# keyboard
#ms0	at hb0 addr 0xbfd00004 level 2	# mouse

zsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board
zsc0	at ap?

zstty0	at zsc0 channel 0		# tty00
zstty1	at zsc0 channel 1		# tty01

fb0	at hb0 addr 0x88000000		# NWB-253 frame buffer
fb0	at hb0 addr 0x90200000		# LCD-MONO on NWS-32x0

xafb*	at ap?
kb0	at ap?
#ms0	at ap?

sc0	at hb0 addr 0xbfe00100 level 0	# on-board cxd1185 SCSI controller
scsibus* at sc0

dmac*	at ap?				# dmac3
spifi*	at ap?				# SPIFI SCSI
scsibus* at spifi?

sd*	at scsibus? target ? lun ?	# SCSI disks
st*	at scsibus? target ? lun ?	# SCSI tapes
cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs

wsdisplay0 at fb? console ?
wsdisplay0 at xafb? console ?
wskbd0	at kb? console ?
#wsmouse0 at ms?

pseudo-device	loop			# loopback interface; required
pseudo-device	pty			# pseudo-terminals
pseudo-device	md			# memory disk device
#pseudo-device	fss			# file system snapshot device

