RAMDISK revision 1.5
1# $NetBSD: RAMDISK,v 1.5 2023/02/11 19:12:31 tsutsui 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 EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 99 # immutable) behave as system flags. 100#options NFSSERVER # Network File System server 101 102# Networking options 103#options GATEWAY # packet forwarding 104options INET # IP + ICMP + TCP + UDP 105#options INET6 # IPV6 106#options IPSEC # IP security 107#options IPSEC_DEBUG # debug for IP security 108#options MROUTING # IP multicast routing 109#options PIM # Protocol Independent Multicast 110#options NETATALK # AppleTalk networking protocols 111#options PPP_BSDCOMP # BSD-Compress compression support for PPP 112#options PPP_DEFLATE # Deflate compression support for PPP 113#options PPP_FILTER # Active filter support for PPP (requires bpf) 114#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 115 116#options ALTQ # Manipulate network interfaces' output queues 117#options ALTQ_BLUE # Stochastic Fair Blue 118#options ALTQ_CBQ # Class-Based Queueing 119#options ALTQ_CDNR # Diffserv Traffic Conditioner 120#options ALTQ_FIFOQ # First-In First-Out Queue 121#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 122#options ALTQ_HFSC # Hierarchical Fair Service Curve 123#options ALTQ_LOCALQ # Local queueing discipline 124#options ALTQ_PRIQ # Priority Queueing 125#options ALTQ_RED # Random Early Detection 126#options ALTQ_RIO # RED with IN/OUT 127#options ALTQ_WFQ # Weighted Fair Queueing 128 129# NeXT specific options 130options M68040 131options M68030 132options FPSP 133#options FPU_EMULATE 134 135options ZS_CONSOLE_ABORT # drop to debugger on break 136#options SERCONSOLE # use serial console 137 138options NFS_BOOT_BOOTP 139options NFS_BOOT_DHCP 140 141# wscons options 142options RCONS_2BPP # necessary for nextdisplay 143options RCONS_16BPP # necessary for color nextdisplay 144#options WSEMUL_SUN # sun terminal emulation 145options WSEMUL_VT100 # VT100 / VT220 emulation 146#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 147#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 148#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 149# see dev/wskbdmap_next.h for implemented layouts 150#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 151 152config netbsd root on ? type ? 153 154# 155# Device configuration 156# 157 158# The root node: 159mainbus0 at root 160 161# device space 162intio0 at mainbus? 163 164nextkbd0 at intio? ipl 3 165nextdisplay0 at mainbus? 166 167wsdisplay* at nextdisplay? console ? 168wskbd* at nextkbd? console ? 169 170# INTIO 171nextdma* at intio? ipl 6 172 173zsc0 at intio? ipl 5 174 175xe* at intio? ipl 3 # ethernet 176 177esp0 at intio? ipl 3 flags 0xffff00 # Turn off sync negotiation 178 179# 180# Serial ports 181# 182zstty0 at zsc0 channel 0 # Serial Port A 183zstty1 at zsc0 channel 1 # Serial Port B 184 185# SCSI bus support 186scsibus* at scsi? 187 188# SCSI devices 189sd* at scsibus? target ? lun ? # SCSI disk drives 190st* at scsibus? target ? lun ? # SCSI tape drives 191cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 192#ch* at scsibus? target ? lun ? # SCSI autochangers 193dse* at scsibus? target ? lun ? # SCSI ethernet (Dayna) 194se* at scsibus? target ? lun ? # SCSI ethernet 195#ss* at scsibus? target ? lun ? # SCSI scanners 196#uk* at scsibus? target ? lun ? # SCSI unknown 197 198 199# Memory-disk drivers 200pseudo-device md 201 202# 203# accept filters 204#pseudo-device accf_data # "dataready" accept filter 205#pseudo-device accf_http # "httpready" accept filter 206 207# Misc. 208pseudo-device loop # network loopback 209pseudo-device bpfilter # packet filter 210#pseudo-device carp # Common Address Redundancy Protocol 211#pseudo-device sl # CSLIP 212#pseudo-device ppp # PPP 213#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 214#pseudo-device tun # network tunneling over tty 215#pseudo-device tap # virtual Ethernet 216#pseudo-device gre # generic L3 over IP tunnel 217#pseudo-device npf # NPF packet filter 218#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 219#pseudo-device faith # IPv[46] tcp relay translation i/f 220#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 221#pseudo-device vlan # IEEE 802.1q encapsulation 222#pseudo-device bridge # simple inter-network bridging 223#pseudo-device vether # Virtual Ethernet for bridge 224#pseudo-device agr # IEEE 802.3ad link aggregation 225#pseudo-device wsmux # mouse & keyboard multiplexor 226 227pseudo-device pty # pseudo-terminals 228#pseudo-device vnd # paging to files 229#options VND_COMPRESSION # compressed vnd(4) 230#pseudo-device raid # RAIDframe disk driver 231#options RAID_AUTOCONFIG # auto-configuration of RAID components 232# Options to enable various other RAIDframe RAID types. 233# options RF_INCLUDE_EVENODD=1 234# options RF_INCLUDE_RAID5_RS=1 235# options RF_INCLUDE_PARITYLOGGING=1 236# options RF_INCLUDE_CHAINDECLUSTER=1 237# options RF_INCLUDE_INTERDECLUSTER=1 238# options RF_INCLUDE_PARITY_DECLUSTERING=1 239# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 240#pseudo-device fss # file system snapshot device 241#pseudo-device ccd # concatenated disks 242#pseudo-device clockctl # user control of clock subsystem 243#pseudo-device ksyms # /dev/ksyms 244#pseudo-device putter # for puffs and pud 245 246#include "dev/veriexec.config" 247