1# 2# $NetBSD: GENERIC.common,v 1.54 2024/11/07 08:46:37 msaitoh Exp $ 3# 4# GENERIC common evbarm kernel config items shared between 32 and 64 5# kernels 6# 7 8# estimated number of users 9 10maxusers 32 11 12# Standard system options 13 14options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 15options NTP # NTP phase/frequency locked loop 16 17# CPU options 18#options PMAPCOUNTERS 19options BUSDMA_COUNTERS 20 21# Architecture options 22 23# File systems 24include "conf/filesystems.config" 25no file-system LFS 26no file-system CODA 27no pseudo-device vcoda 28 29# File system options 30# ffs 31options FFS_EI # FFS Endian Independent support 32#options FFS_NO_SNAPSHOT # No FFS snapshot support 33options QUOTA # legacy UFS quotas 34options QUOTA2 # new, in-filesystem UFS quotas 35options UFS_ACL # UFS Access Control Lists 36options UFS_DIRHASH # UFS Large Directory Hashing 37options UFS_EXTATTR # Extended attribute support for UFS1 38options WAPBL # File system journaling support 39# lfs 40#options LFS_DIRHASH # LFS version of UFS_DIRHASH 41# ext2fs 42# other 43options DISKLABEL_EI # disklabel Endian Independent support 44options NFSSERVER # Network File System server 45 46# Networking options 47 48#options GATEWAY # packet forwarding 49options INET # IP + ICMP + TCP + UDP 50options INET6 # IPV6 51options IPSEC # IP security 52#options IPSEC_DEBUG # debug for IP security 53#options MROUTING # IP multicast routing 54#options PIM # Protocol Independent Multicast 55#options NETATALK # AppleTalk networking 56options PPP_BSDCOMP # BSD-Compress compression support for PPP 57options PPP_DEFLATE # Deflate compression support for PPP 58options PPP_FILTER # Active filter support for PPP (requires bpf) 59#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 60 61# JIT compiler for bpfilter 62#options SLJIT 63options BPFJIT 64 65#options NFS_BOOT_BOOTP 66options NFS_BOOT_DHCP 67#options NFS_BOOT_BOOTSTATIC 68#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 69#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 70#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 71#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 72#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 73 74options NFS_BOOT_RWSIZE=1024 75 76# Compatibility options 77 78include "conf/compat_netbsd60.config" 79options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 80 # on arm or arm binaries on arm64 81 82# Shared memory options 83 84options SYSVMSG # System V-like message queues 85options SYSVSEM # System V-like semaphores 86#options SEMMNI=10 # number of semaphore identifiers 87#options SEMMNS=60 # number of semaphores in system 88#options SEMUME=10 # max number of undo entries per process 89#options SEMMNU=30 # number of undo structures in system 90options SYSVSHM # System V-like memory sharing 91 92# Device options 93 94#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 95#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 96#options MEMORY_DISK_DYNAMIC 97#options MINIROOTSIZE=1000 # Size in blocks 98#options MEMORY_DISK_IS_ROOT # use memory disk as root 99#options MEMORY_DISK_FBFLAGS=RB_SINGLE 100 101# Miscellaneous kernel options 102options KTRACE # system call tracing, a la ktrace(1) 103#options SCSIVERBOSE # Verbose SCSI errors 104#options MIIVERBOSE # Verbose MII autoconfuration messages 105options USERCONF # userconf(4) support 106#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 107options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 108 109# Wedge support 110options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 111options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 112 113# Alternate buffer queue strategies for better responsiveness under high 114# disk I/O load. 115#options BUFQ_READPRIO 116options BUFQ_PRIOCSCAN 117 118# Development and Debugging options 119 120options DIAGNOSTIC # internal consistency checks 121#options DEBUG 122options KDTRACE_HOOKS # kernel DTrace hooks 123#options LOCKDEBUG 124#options UVMHIST # kernhist for uvm/pmap subsystems 125#options VERBOSE_INIT_ARM # verbose bootstraping messages 126options DDB # in-kernel debugger 127options DDB_ONPANIC=1 128options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 129#options DDB_COMMANDONENTER="bt" 130#options KGDB 131 132# Pseudo-Devices 133 134# crypto pseudo-devices 135pseudo-device crypto # /dev/crypto device 136pseudo-device swcrypto # software crypto implementation 137 138# disk/mass storage pseudo-devices 139#pseudo-device md # memory disk device (ramdisk) 140pseudo-device vnd # disk-like interface to files 141options VND_COMPRESSION # compressed vnd(4) 142pseudo-device fss # file system snapshot device 143pseudo-device drvctl # driver control 144pseudo-device cgd # cryptographic disk devices 145pseudo-device raid # RAIDframe disk driver 146options RAID_AUTOCONFIG # auto-configuration of RAID components 147#Options to enable various other RAIDframe RAID types. 148#options RF_INCLUDE_EVENODD=1 149#options RF_INCLUDE_RAID5_RS=1 150#options RF_INCLUDE_PARITYLOGGING=1 151#options RF_INCLUDE_CHAINDECLUSTER=1 152#options RF_INCLUDE_INTERDECLUSTER=1 153#options RF_INCLUDE_PARITY_DECLUSTERING=1 154#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 155 156# network pseudo-devices 157pseudo-device bpfilter # Berkeley packet filter 158pseudo-device carp # Common Address Redundancy Protocol 159pseudo-device loop # network loopback 160pseudo-device bridge # simple inter-network bridging 161pseudo-device vether # Virtual Ethernet for bridge 162pseudo-device vlan # IEEE 802.1q encapsulation 163pseudo-device ppp # Point-to-Point Protocol 164pseudo-device pppoe # PPP over Ethernet (RFC 2516) 165pseudo-device tun # network tunneling over tty 166pseudo-device tap # virtual Ethernet 167pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 168pseudo-device ipsecif # interface for routing-based ipsec 169pseudo-device gre # generic L3 over IP tunnel 170pseudo-device npf # NPF packet filter 171 172# miscellaneous pseudo-devices 173pseudo-device pad # pseudo audio device 174pseudo-device pty # pseudo-terminals 175#options RND_COM 176pseudo-device clockctl # user control of clock subsystem 177pseudo-device ksyms # /dev/ksyms 178pseudo-device lockstat # lock profiling 179pseudo-device swwdog # software watchdog timer -- swwdog(4) 180 181include "dev/veriexec.config" 182 183options PAX_ASLR_DEBUG=1 # PaX ASLR debug 184options PAX_SEGVGUARD=0 # PaX Segmentation fault guard 185options PAX_MPROTECT=1 # PaX mprotect(2) restrictions 186options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug 187options PAX_ASLR=1 # PaX Address Space Layout Randomization 188