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