# 	$NetBSD: INSTALL,v 1.7 2017/02/19 07:47:00 rin Exp $
#
# Distribution	install kernel (any model)
#    netbsd:	cut-down kernel for miniroots.
#    nfsnetbsd:	root on NFS to boot diskless for installation,
#	disk drivers for labelling disks and installation on local disk.
#
#
include		"arch/emips/conf/std.emips"

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

maxusers	8

# CPU options
options 	MIPS1			# R2000/R3000 support
options 	NOFPU		# No FPU
options 	SOFTFLOAT	# emulate FPU insn

# Support for specific models
options 	XILINX_ML40X	# Xilinx Ml401/2 dev boards
options		XS_BEE3		# MSR/BeCube BEE3 system

# Standard system options
options 	USERCONF		# userconf(4) support
options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)

#options 	NTP			# network time protocol

# File systems
file-system 	FFS			# BSD fast filesystem
file-system 	NFS			# Sun NFS-compatible filesystem (client)
file-system 	CD9660			# ISO 9660 + Rock Ridge file system
file-system 	KERNFS			# kernel data-structure filesystem


# Filesystem options
#options 	DISKLABEL_EI		# disklabel Endian Independent support
#options 	FFS_EI			# FFS Endian Independent support
#options 	NFS_V2_ONLY		# Exclude NFS3 and NQNFS code to save space
options 	FFS_NO_SNAPSHOT		# No FFS snapshot support


# Networking options
options 	INET			# Internet protocols

# Workstation console options
#options 	FONT_BOLD8x16		# Font for fb devices
#options 	FONT_GALLANT12x22

#options		WSEMUL_VT100
#options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
#options		WS_KERNEL_FG=WSCOL_GREEN
#options		WS_KERNEL_BG=WSCOL_BLACK

# Disable kernel security levels.  Needed for X with a PX or PXG.
#options       INSECURE

# emips specific
options 	HZ=16		# RTC rate required, uses timecounter

options 	NFS_BOOT_DHCP	# superset of BOOTP
options		NFS_BOOT_RWSIZE=1024

config		netbsd		root on ? type ?
config		nfsnetbsd	root on ? type nfs

mainbus0	at root
cpu*		at mainbus0

## Peripheral Bus Support (for devices to attach to)
## ----------------------------------------------------------------------------

# eMIPS systems
ebus0	at	mainbus0
eclock* at	ebus0 addr ?		# clock
dz*	    at	ebus0 addr ?		# usart
enic*	at	ebus0 addr ?		# ethernet
ace*    at  ebus0 addr ?        # disk
eflash* at  ebus0 addr ?        # flash memory


#########################################################################
# Pseudo-devices							#
#########################################################################

pseudo-device	pty			# pseudo-terminals
pseudo-device	bpfilter		# packet filter ports
pseudo-device	loop
#pseudo-device	ccd			# concatenated disks
