1 1.35 sevan # $NetBSD: MV2120,v 1.35 2018/01/23 15:08:11 sevan Exp $ 2 1.1 jakllsch # 3 1.1 jakllsch # This configuration supports for HP MV2120/MV5140/MV5150. 4 1.1 jakllsch 5 1.1 jakllsch include "arch/evbarm/conf/std.mv2120" 6 1.1 jakllsch 7 1.1 jakllsch options INCLUDE_CONFIG_FILE # embed config file in kernel binary 8 1.23 joerg makeoptions COPY_SYMTAB=1 9 1.1 jakllsch 10 1.1 jakllsch makeoptions DEBUG="-g" 11 1.1 jakllsch 12 1.1 jakllsch # estimated number of users 13 1.1 jakllsch 14 1.1 jakllsch maxusers 32 15 1.1 jakllsch 16 1.1 jakllsch # Board Type 17 1.3 jakllsch makeoptions BOARDTYPE="mv2120" 18 1.3 jakllsch options EVBARM_BOARDTYPE=mv2120 19 1.1 jakllsch 20 1.1 jakllsch # CPU options 21 1.3 jakllsch options CPU_ARM9E 22 1.3 jakllsch makeoptions CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os" 23 1.1 jakllsch 24 1.1 jakllsch # Marvell SoC options 25 1.1 jakllsch options ORION 26 1.1 jakllsch 27 1.1 jakllsch # Standard system options 28 1.1 jakllsch 29 1.3 jakllsch options MSGBUFSIZE=32768 30 1.1 jakllsch 31 1.1 jakllsch options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 32 1.1 jakllsch options NTP # NTP phase/frequency locked loop 33 1.1 jakllsch 34 1.1 jakllsch # File systems 35 1.1 jakllsch 36 1.1 jakllsch file-system FFS # UFS 37 1.1 jakllsch file-system EXT2FS # second extended file system (linux) 38 1.1 jakllsch file-system LFS # log-structured file system 39 1.1 jakllsch file-system MFS # memory file system 40 1.1 jakllsch file-system NFS # Network File System client 41 1.1 jakllsch file-system NTFS # Windows/NT file system (experimental) 42 1.1 jakllsch file-system CD9660 # ISO 9660 + Rock Ridge file system 43 1.1 jakllsch file-system MSDOSFS # MS-DOS file system 44 1.1 jakllsch file-system FDESC # /dev/fd 45 1.1 jakllsch file-system KERNFS # /kern 46 1.1 jakllsch file-system NULLFS # loopback file system 47 1.1 jakllsch file-system OVERLAY # overlay file system 48 1.1 jakllsch file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 49 1.1 jakllsch file-system PROCFS # /proc 50 1.1 jakllsch file-system UMAPFS # NULLFS + uid and gid remapping 51 1.1 jakllsch file-system UNION # union file system 52 1.1 jakllsch file-system CODA # Coda File System; also needs vcoda (below) 53 1.1 jakllsch file-system SMBFS # experimental - CIFS; also needs nsmb (below) 54 1.1 jakllsch file-system PTYFS # /dev/ptm support 55 1.1 jakllsch file-system TMPFS # Efficient memory file-system 56 1.1 jakllsch file-system UDF # experimental - OSTA UDF CD/DVD file-system 57 1.1 jakllsch file-system HFS # experimental - Apple HFS+ (read-only) 58 1.1 jakllsch 59 1.1 jakllsch # File system options 60 1.1 jakllsch options QUOTA # UFS quotas 61 1.31 rin #options DISKLABEL_EI # disklabel Endian Independent support 62 1.1 jakllsch #options FFS_EI # FFS Endian Independent support 63 1.4 dholland options WAPBL # File system journaling support 64 1.1 jakllsch # Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 65 1.1 jakllsch # It is not recommended for general use. 66 1.1 jakllsch #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 67 1.1 jakllsch options NFSSERVER # Network File System server 68 1.1 jakllsch #options FFS_NO_SNAPSHOT # No FFS snapshot support 69 1.1 jakllsch #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 70 1.1 jakllsch # immutable) behave as system flags. 71 1.1 jakllsch 72 1.1 jakllsch # Networking options 73 1.1 jakllsch 74 1.1 jakllsch options TCP_CSUM_COUNTERS 75 1.1 jakllsch options UDP_CSUM_COUNTERS 76 1.1 jakllsch 77 1.1 jakllsch #options GATEWAY # packet forwarding 78 1.1 jakllsch options INET # IP + ICMP + TCP + UDP 79 1.1 jakllsch options INET6 # IPv6 80 1.1 jakllsch #options IPSEC # IP security 81 1.1 jakllsch #options IPSEC_DEBUG # debug for IP security 82 1.1 jakllsch #options MROUTING # IP multicast routing 83 1.1 jakllsch #options PIM # Protocol Independent Multicast 84 1.1 jakllsch #options NETATALK # AppleTalk networking protocols 85 1.1 jakllsch options PPP_BSDCOMP # BSD-Compress compression support for PPP 86 1.1 jakllsch options PPP_DEFLATE # Deflate compression support for PPP 87 1.1 jakllsch options PPP_FILTER # Active filter support for PPP (requires bpf) 88 1.1 jakllsch options IPFILTER_LOG # ipmon(8) log support 89 1.1 jakllsch options IPFILTER_LOOKUP # ippool(8) support 90 1.1 jakllsch options IPFILTER_COMPAT # Compat for IP-Filter 91 1.1 jakllsch #options IPFILTER_DEFAULT_BLOCK # block all packets by default 92 1.1 jakllsch #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 93 1.1 jakllsch 94 1.1 jakllsch options NFS_BOOT_BOOTP 95 1.1 jakllsch #options NFS_BOOT_BOOTPARAM 96 1.1 jakllsch options NFS_BOOT_DHCP 97 1.20 jakllsch options NFS_BOOT_TCP 98 1.1 jakllsch 99 1.1 jakllsch # Compatibility options 100 1.1 jakllsch 101 1.34 mrg include "conf/compat_netbsd16.config" 102 1.34 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 103 1.1 jakllsch 104 1.1 jakllsch options COMPAT_LINUX # binary compatibility with Linux 105 1.1 jakllsch 106 1.1 jakllsch # Shared memory options 107 1.1 jakllsch 108 1.1 jakllsch #options SYSVMSG # System V-like message queues 109 1.1 jakllsch #options SYSVSEM # System V-like semaphores 110 1.1 jakllsch #options SYSVSHM # System V-like memory sharing 111 1.1 jakllsch 112 1.1 jakllsch # Device options 113 1.1 jakllsch 114 1.1 jakllsch #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 115 1.1 jakllsch #options MEMORY_DISK_IS_ROOT # use memory disk as root 116 1.1 jakllsch #options MEMORY_DISK_DYNAMIC 117 1.1 jakllsch #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 118 1.1 jakllsch #options MEMORY_RBFLAGS=RB_AUTOBOOT 119 1.1 jakllsch 120 1.1 jakllsch # Miscellaneous kernel options 121 1.1 jakllsch 122 1.1 jakllsch options KTRACE # system call tracing, a la ktrace(1) 123 1.1 jakllsch options IRQSTATS # manage IRQ statistics 124 1.20 jakllsch options DDB # in-kernel debugger 125 1.1 jakllsch options MIIVERBOSE # Verbose MII autoconfuration messages 126 1.1 jakllsch #options PCIVERBOSE # Verbose PCI descriptions 127 1.20 jakllsch options SCSIVERBOSE # human readable SCSI error messages 128 1.1 jakllsch options USBVERBOSE # verbose USB device autoconfig messages 129 1.1 jakllsch #options DDB_KEYCODE=0x40 130 1.1 jakllsch options USERCONF # userconf(4) support 131 1.1 jakllsch #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 132 1.1 jakllsch #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 133 1.1 jakllsch 134 1.1 jakllsch config netbsd root on ? type ? 135 1.1 jakllsch config netbsd-mvgbe0 root on mvgbe0 type nfs 136 1.5 jakllsch config netbsd-wd0e root on wd0e type ? 137 1.5 jakllsch config netbsd-wd0f root on wd0f type ? 138 1.5 jakllsch config netbsd-wd0g root on wd0g type ? 139 1.5 jakllsch config netbsd-wd0h root on wd0h type ? 140 1.1 jakllsch 141 1.1 jakllsch # The main bus device 142 1.1 jakllsch mainbus0 at root 143 1.1 jakllsch 144 1.1 jakllsch # The boot cpu 145 1.1 jakllsch cpu0 at mainbus? 146 1.1 jakllsch 147 1.1 jakllsch # Mervell MV88Fxx81 Orion System-on-Chip 148 1.1 jakllsch mvsoc0 at mainbus? 149 1.1 jakllsch 150 1.1 jakllsch # On-chip PCI Express Interface 151 1.3 jakllsch #mvpex* at mvsoc? offset ? irq ? 152 1.1 jakllsch 153 1.1 jakllsch # On-chip PCI Interface 154 1.3 jakllsch #gtpci* at mvsoc? offset ? irq ? 155 1.1 jakllsch 156 1.1 jakllsch # PCI bus support 157 1.1 jakllsch #options PCI_NETBSD_CONFIGURE 158 1.1 jakllsch #options PCI_CONFIG_DUMP # verbosely dump PCI config space 159 1.1 jakllsch 160 1.3 jakllsch #pci* at mvpex? 161 1.3 jakllsch #pci* at gtpci? 162 1.3 jakllsch 163 1.3 jakllsch #pchb* at pci? dev ? function ? # PCI-Host bridges 164 1.1 jakllsch 165 1.3 jakllsch # PCI IDE Controller 166 1.3 jakllsch #mvsata* at pci? dev ? function ? # Marvell SATA Controller 167 1.1 jakllsch 168 1.1 jakllsch # On-chip Serial-ATA II Host Controller (SATAHC) 169 1.1 jakllsch mvsata* at mvsoc? offset ? irq ? 170 1.1 jakllsch 171 1.1 jakllsch # On-chip Gigabit Ethernet Controller Interface 172 1.1 jakllsch mvgbec* at mvsoc? offset ? 173 1.1 jakllsch mvgbe* at mvgbec? port ? irq ? 174 1.1 jakllsch 175 1.1 jakllsch # On-chip USB 2.0 Interface 176 1.1 jakllsch ehci* at mvsoc? offset ? irq ? 177 1.1 jakllsch 178 1.1 jakllsch # On-chip Cryptographic Engines and Security Accelerator 179 1.1 jakllsch #mvcesa* at mvsoc? offset ? irq ? 180 1.1 jakllsch 181 1.1 jakllsch # On-chip Two-Wire Serial Interface (TWSI) 182 1.1 jakllsch gttwsi* at mvsoc? offset ? irq ? 183 1.1 jakllsch iic* at gttwsi? # I2C bus 184 1.1 jakllsch 185 1.1 jakllsch # On-chip UART Interface 186 1.1 jakllsch com* at mvsoc? offset ? irq ? 187 1.1 jakllsch 188 1.1 jakllsch # On-chip IDMA Controller 189 1.3 jakllsch #gtidmac* at mvsoc? offset ? irq ? 190 1.1 jakllsch 191 1.1 jakllsch # On-chip General Purpose I/O Port Interface 192 1.1 jakllsch mvsocgpp* at mvsoc? offset ? irq ? 193 1.1 jakllsch gpio* at mvsocgpp? 194 1.1 jakllsch 195 1.1 jakllsch # On-chip Timers 196 1.1 jakllsch mvsoctmr* at mvsoc? offset ? irq ? 197 1.1 jakllsch 198 1.1 jakllsch # Real Time Clock 199 1.1 jakllsch pcf8563rtc* at iic? addr 0x51 200 1.1 jakllsch 201 1.1 jakllsch # MII/PHY support 202 1.1 jakllsch makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 203 1.1 jakllsch 204 1.1 jakllsch # ATA (IDE) bus support 205 1.1 jakllsch atabus* at ata? 206 1.20 jakllsch #options ATADEBUG 207 1.1 jakllsch 208 1.1 jakllsch # IDE drives 209 1.1 jakllsch wd0 at atabus0 drive 0 flags 0x0000 210 1.1 jakllsch wd1 at atabus1 drive 0 flags 0x0000 211 1.1 jakllsch wd* at atabus? drive ? flags 0x0000 212 1.1 jakllsch 213 1.1 jakllsch # ATAPI bus support 214 1.1 jakllsch atapibus* at atapi? 215 1.1 jakllsch 216 1.1 jakllsch # ATAPI devices 217 1.1 jakllsch # flags have the same meaning as for IDE drives. 218 1.1 jakllsch cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 219 1.1 jakllsch sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 220 1.1 jakllsch st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 221 1.1 jakllsch uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 222 1.1 jakllsch 223 1.1 jakllsch # SCSI bus support 224 1.1 jakllsch scsibus* at scsi? 225 1.1 jakllsch 226 1.1 jakllsch # SCSI devices 227 1.1 jakllsch sd* at scsibus? target ? lun ? # SCSI disk drives 228 1.1 jakllsch cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 229 1.1 jakllsch st* at scsibus? target ? lun ? # SCSI tape drives 230 1.1 jakllsch uk* at scsibus? target ? lun ? # SCSI unknown 231 1.1 jakllsch 232 1.1 jakllsch usb* at ehci? 233 1.1 jakllsch include "dev/usb/usbdevices.config" 234 1.1 jakllsch include "dev/bluetooth/bluetoothdevices.config" 235 1.1 jakllsch 236 1.1 jakllsch audio* at audiobus? 237 1.1 jakllsch midi* at midibus? 238 1.1 jakllsch 239 1.30 christos spkr* at audio? # PC speaker (synthesized) 240 1.28 nat 241 1.1 jakllsch # Pseudo-Devices 242 1.1 jakllsch 243 1.1 jakllsch pseudo-device crypto # /dev/crypto device 244 1.1 jakllsch pseudo-device swcrypto # software crypto implementation 245 1.1 jakllsch 246 1.1 jakllsch # disk/mass storage pseudo-devices 247 1.3 jakllsch #pseudo-device bio # RAID control device driver 248 1.14 christos pseudo-device ccd # concatenated/striped disk devices 249 1.14 christos pseudo-device cgd # cryptographic disk devices 250 1.15 christos pseudo-device raid # RAIDframe disk driver 251 1.1 jakllsch options RAID_AUTOCONFIG # auto-configuration of RAID components 252 1.1 jakllsch # Options to enable various other RAIDframe RAID types. 253 1.1 jakllsch #options RF_INCLUDE_EVENODD=1 254 1.1 jakllsch #options RF_INCLUDE_RAID5_RS=1 255 1.1 jakllsch #options RF_INCLUDE_PARITYLOGGING=1 256 1.1 jakllsch #options RF_INCLUDE_CHAINDECLUSTER=1 257 1.1 jakllsch #options RF_INCLUDE_INTERDECLUSTER=1 258 1.1 jakllsch #options RF_INCLUDE_PARITY_DECLUSTERING=1 259 1.1 jakllsch #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 260 1.1 jakllsch pseudo-device fss # file system snapshot device 261 1.1 jakllsch pseudo-device putter # for puffs and pud 262 1.1 jakllsch 263 1.1 jakllsch #pseudo-device md # memory disk device (ramdisk) 264 1.1 jakllsch pseudo-device vnd # disk-like interface to files 265 1.1 jakllsch options VND_COMPRESSION # compressed vnd(4) 266 1.1 jakllsch 267 1.1 jakllsch # network pseudo-devices 268 1.1 jakllsch pseudo-device bpfilter # Berkeley packet filter 269 1.1 jakllsch #pseudo-device carp # Common Address Redundancy Protocol 270 1.1 jakllsch pseudo-device ipfilter # IP filter (firewall) and NAT 271 1.1 jakllsch pseudo-device loop # network loopback 272 1.1 jakllsch pseudo-device ppp # Point-to-Point Protocol 273 1.1 jakllsch pseudo-device pppoe # PPP over Ethernet (RFC 2516) 274 1.1 jakllsch #pseudo-device sl # Serial Line IP 275 1.1 jakllsch #pseudo-device strip # Starmode Radio IP (Metricom) 276 1.1 jakllsch #pseudo-device irframetty # IrDA frame line discipline 277 1.1 jakllsch pseudo-device tap # virtual Ethernet 278 1.1 jakllsch pseudo-device tun # network tunneling over tty 279 1.1 jakllsch #pseudo-device gre # generic L3 over IP tunnel 280 1.1 jakllsch pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 281 1.1 jakllsch #pseudo-device faith # IPv[46] TCP relay translation i/f 282 1.1 jakllsch pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 283 1.1 jakllsch pseudo-device vlan # IEEE 802.1q encapsulation 284 1.1 jakllsch #pseudo-device bridge # simple inter-network bridging 285 1.1 jakllsch #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 286 1.1 jakllsch #pseudo-device agr # IEEE 802.3ad link aggregation 287 1.1 jakllsch #pseudo-device pf # PF packet filter 288 1.1 jakllsch #pseudo-device pflog # PF log if 289 1.1 jakllsch 290 1.1 jakllsch # miscellaneous pseudo-devices 291 1.1 jakllsch pseudo-device pty # pseudo-terminals 292 1.16 christos #pseudo-device sequencer # MIDI sequencer 293 1.1 jakllsch #options RND_COM 294 1.1 jakllsch pseudo-device clockctl # user control of clock subsystem 295 1.1 jakllsch pseudo-device ksyms # /dev/ksyms 296 1.1 jakllsch 297 1.1 jakllsch # a pseudo device needed for Coda # also needs CODA (above) 298 1.15 christos pseudo-device vcoda # coda minicache <-> venus comm. 299 1.1 jakllsch 300 1.1 jakllsch # a pseudo device needed for SMBFS 301 1.1 jakllsch pseudo-device nsmb # experimental - SMB requester 302 1.1 jakllsch 303 1.1 jakllsch # wscons pseudo-devices 304 1.1 jakllsch pseudo-device wsmux # mouse & keyboard multiplexor 305 1.1 jakllsch pseudo-device wsfont 306 1.1 jakllsch 307 1.1 jakllsch # data mover pseudo-devices 308 1.9 skrll #pseudo-device swdmover # software dmover(9) back-end 309 1.3 jakllsch #pseudo-device dmoverio # /dev/dmover dmover(9) interface 310 1.1 jakllsch 311 1.1 jakllsch pseudo-device dm 312 1.1 jakllsch 313 1.1 jakllsch options FILEASSOC # fileassoc(9) - required for Veriexec 314 1.27 christos # and PAX_SEGVGUARD 315 1.1 jakllsch 316 1.1 jakllsch # Veriexec 317 1.1 jakllsch pseudo-device veriexec 318 1.1 jakllsch # 319 1.1 jakllsch # Uncomment the fingerprint methods below that are desired. Note that 320 1.1 jakllsch # removing fingerprint methods will have almost no impact on the kernel 321 1.1 jakllsch # code size. 322 1.1 jakllsch # 323 1.1 jakllsch options VERIFIED_EXEC_FP_SHA256 324 1.1 jakllsch options VERIFIED_EXEC_FP_SHA384 325 1.1 jakllsch options VERIFIED_EXEC_FP_SHA512 326 1.1 jakllsch 327 1.1 jakllsch options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 328 1.1 jakllsch options PAX_ASLR=0 # PaX Address Space Layout Randomization 329 1.1 jakllsch 330 1.1 jakllsch pseudo-device drvctl 331 1.1 jakllsch 332 1.24 christos # Wedge support 333 1.24 christos options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 334 1.24 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 335 1.24 christos 336 1.35 sevan # Alternate buffer queue strategies for better responsiveness under high 337 1.35 sevan # disk I/O load. 338 1.1 jakllsch options BUFQ_READPRIO 339 1.1 jakllsch options BUFQ_PRIOCSCAN 340