1#	$NetBSD: RAMDISK,v 1.6 2024/01/29 18:27:14 christos Exp $
2
3#
4# RAMDISK: Root/swap on ramdisk
5#
6
7include 	"arch/next68k/conf/std.next68k"
8
9#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11makeoptions	COPTS="-Os -fno-unwind-tables"
12
13# Enable the hooks used for initializing the ram-disk.
14options 	MEMORY_DISK_HOOKS
15options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
16options 	MEMORY_DISK_SERVER=0		# no userspace md(4) support
17options 	MEMORY_DISK_ROOT_SIZE=3072
18options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
19
20# Needs to be set per system.  i.e change these as you see fit
21maxusers	4
22
23# Standard system options
24#options 	KTRACE		# system call tracing
25#options 	SYSVMSG		# System V message queues
26#options 	SYSVSEM		# System V semaphores
27#options 	SYSVSHM		# System V shared memory
28
29#options 	MODULAR		# new style module(7) framework
30#options 	MODULAR_DEFAULT_AUTOLOAD
31
32#options 	INSECURE	# disable kernel security level
33options 	USERCONF	# userconf(4) support
34options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
35#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
36
37# Alternate buffer queue strategies for better responsiveness under high
38# disk I/O load.
39#options 	BUFQ_READPRIO
40#options 	BUFQ_PRIOCSCAN
41
42#options 	DEBUG		# kernel debugging code
43#options 	DIAGNOSTIC	# extra kernel sanity checking
44
45# Which kernel debugger?  Uncomment either this:
46#options 	DDB
47#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
48
49# ... or these for KGDB (gdb remote target)
50#makeoptions	DEBUG="-g"		# debugging symbols for gdb
51#options 	KGDB			# support for kernel gdb
52#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
53#options 	KGDB_DEVRATE=9600	# baud rate
54
55# Other debugging options
56#options 	PMAP_DEBUG
57#options 	SCSIDEBUG
58#options 	SCSIVERBOSE		# Verbose SCSI errors
59
60# Compatibility options
61#include 	"conf/compat_netbsd09.config"
62
63#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
64#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
65#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
66#options 	COMPAT_LINUX	# can run Linux/m68k executables
67#options 	COMPAT_OSSAUDIO	# can run Linux/m68k executables
68#options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
69#options 	EXEC_AOUT	# support for a.out executables
70
71# File systems
72file-system 	FFS		# UFS
73#file-system 	EXT2FS		# second extended file system (linux)
74#file-system 	LFS		# log-structured file system
75file-system 	MFS		# memory file system
76file-system 	NFS		# Network File System client
77file-system 	CD9660		# ISO 9660 + Rock Ridge file system
78file-system 	MSDOSFS		# MS-DOS file system
79#file-system 	FDESC		# /dev/fd
80#file-system 	KERNFS		# /kern
81#file-system 	NULLFS		# loopback file system
82#file-system 	OVERLAY		# overlay file system
83#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
84#file-system 	PROCFS		# /proc
85#file-system 	UMAPFS		# NULLFS + uid and gid remapping
86#file-system 	UNION		# union file system
87#file-system	PTYFS		# /dev/pts/N support
88#file-system	TMPFS		# Efficient memory file-system
89#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
90
91# File system options
92options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
93#options 	QUOTA		# legacy UFS quotas
94#options 	QUOTA2		# new, in-filesystem UFS quotas
95#options 	UFS_DIRHASH	# UFS Large Directory Hashing
96#options 	UFS_EXTATTR	# Extended attribute support for UFS1
97options 	WAPBL		# File system journaling support
98#options 	NFSSERVER	# Network File System server
99
100# Networking options
101#options 	GATEWAY		# packet forwarding
102options 	INET		# IP + ICMP + TCP + UDP
103#options 	INET6		# IPV6
104#options 	IPSEC		# IP security
105#options 	IPSEC_DEBUG	# debug for IP security
106#options 	MROUTING	# IP multicast routing
107#options 	PIM		# Protocol Independent Multicast
108#options 	NETATALK	# AppleTalk networking protocols
109#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
110#options 	PPP_DEFLATE	# Deflate compression support for PPP
111#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
112#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
113
114#options 	ALTQ		# Manipulate network interfaces' output queues
115#options 	ALTQ_BLUE	# Stochastic Fair Blue
116#options 	ALTQ_CBQ	# Class-Based Queueing
117#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
118#options 	ALTQ_FIFOQ	# First-In First-Out Queue
119#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
120#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
121#options 	ALTQ_LOCALQ	# Local queueing discipline
122#options 	ALTQ_PRIQ	# Priority Queueing
123#options 	ALTQ_RED	# Random Early Detection
124#options 	ALTQ_RIO	# RED with IN/OUT
125#options 	ALTQ_WFQ	# Weighted Fair Queueing
126
127# NeXT specific options
128options 	M68040
129options 	M68030
130options 	FPSP
131#options 	FPU_EMULATE
132
133options 	ZS_CONSOLE_ABORT	# drop to debugger on break
134#options 	SERCONSOLE		# use serial console
135
136options 	NFS_BOOT_BOOTP
137options 	NFS_BOOT_DHCP
138
139# wscons options
140options 	RCONS_2BPP		# necessary for nextdisplay
141options 	RCONS_16BPP		# necessary for color nextdisplay
142#options 	WSEMUL_SUN		# sun terminal emulation
143options 	WSEMUL_VT100		# VT100 / VT220 emulation
144#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
145#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
146#options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
147# see dev/wskbdmap_next.h for implemented layouts
148#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
149
150config		netbsd root on ? type ?
151
152#
153# Device configuration
154#
155
156# The root node:
157mainbus0 at root
158
159# device space
160intio0	at mainbus?
161
162nextkbd0	at intio? ipl 3
163nextdisplay0	at mainbus?
164
165wsdisplay*	at nextdisplay? console ?
166wskbd*		at nextkbd? console ?
167
168# INTIO
169nextdma*	at intio? ipl 6
170
171zsc0	at intio? ipl 5
172
173xe*	at intio? ipl 3			# ethernet
174
175esp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
176
177#
178# Serial ports
179#
180zstty0	at zsc0 channel 0	# Serial Port A
181zstty1	at zsc0 channel 1	# Serial Port B
182
183# SCSI bus support
184scsibus* at scsi?
185
186# SCSI devices
187sd*	at scsibus? target ? lun ?	# SCSI disk drives
188st*	at scsibus? target ? lun ?	# SCSI tape drives
189cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
190#ch*	at scsibus? target ? lun ?	# SCSI autochangers
191dse*	at scsibus? target ? lun ?	# SCSI ethernet (Dayna)
192se*	at scsibus? target ? lun ?	# SCSI ethernet
193#ss*	at scsibus? target ? lun ?	# SCSI scanners
194#uk*	at scsibus? target ? lun ?	# SCSI unknown
195
196
197# Memory-disk drivers
198pseudo-device	md
199
200#
201# accept filters
202#pseudo-device   accf_data		# "dataready" accept filter
203#pseudo-device   accf_http		# "httpready" accept filter
204
205# Misc.
206pseudo-device	loop			# network loopback
207pseudo-device	bpfilter		# packet filter
208#pseudo-device	carp			# Common Address Redundancy Protocol
209#pseudo-device	sl			# CSLIP
210#pseudo-device	ppp			# PPP
211#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
212#pseudo-device	tun			# network tunneling over tty
213#pseudo-device	tap			# virtual Ethernet
214#pseudo-device	gre			# generic L3 over IP tunnel
215#pseudo-device	npf			# NPF packet filter
216#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
217#pseudo-device	faith			# IPv[46] tcp relay translation i/f
218#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
219#pseudo-device	vlan			# IEEE 802.1q encapsulation
220#pseudo-device	bridge			# simple inter-network bridging
221#pseudo-device	vether			# Virtual Ethernet for bridge
222#pseudo-device	agr			# IEEE 802.3ad link aggregation
223#pseudo-device	wsmux			# mouse & keyboard multiplexor
224
225pseudo-device	pty			# pseudo-terminals
226#pseudo-device	vnd			# paging to files
227#options 	VND_COMPRESSION		# compressed vnd(4)
228#pseudo-device	raid			# RAIDframe disk driver
229#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
230# Options to enable various other RAIDframe RAID types.
231# options	RF_INCLUDE_EVENODD=1
232# options	RF_INCLUDE_RAID5_RS=1
233# options	RF_INCLUDE_PARITYLOGGING=1
234# options	RF_INCLUDE_CHAINDECLUSTER=1
235# options	RF_INCLUDE_INTERDECLUSTER=1
236# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
237# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
238#pseudo-device	fss			# file system snapshot device
239#pseudo-device	ccd			# concatenated disks
240#pseudo-device	clockctl		# user control of clock subsystem
241#pseudo-device	ksyms			# /dev/ksyms
242#pseudo-device	putter			# for puffs and pud
243
244#include "dev/veriexec.config"
245