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