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