1 1.45 roy # $NetBSD: MV2120,v 1.45 2020/09/27 13:48:50 roy 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 PTYFS # /dev/ptm support 54 1.1 jakllsch file-system TMPFS # Efficient memory file-system 55 1.1 jakllsch file-system UDF # experimental - OSTA UDF CD/DVD file-system 56 1.1 jakllsch file-system HFS # experimental - Apple HFS+ (read-only) 57 1.1 jakllsch 58 1.1 jakllsch # File system options 59 1.1 jakllsch options QUOTA # UFS quotas 60 1.31 rin #options DISKLABEL_EI # disklabel Endian Independent support 61 1.1 jakllsch #options FFS_EI # FFS Endian Independent support 62 1.4 dholland options WAPBL # File system journaling support 63 1.1 jakllsch # Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 64 1.1 jakllsch # It is not recommended for general use. 65 1.1 jakllsch #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 66 1.1 jakllsch options NFSSERVER # Network File System server 67 1.1 jakllsch #options FFS_NO_SNAPSHOT # No FFS snapshot support 68 1.1 jakllsch #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 69 1.1 jakllsch # immutable) behave as system flags. 70 1.1 jakllsch 71 1.1 jakllsch # Networking options 72 1.1 jakllsch 73 1.1 jakllsch options TCP_CSUM_COUNTERS 74 1.1 jakllsch options UDP_CSUM_COUNTERS 75 1.1 jakllsch 76 1.1 jakllsch #options GATEWAY # packet forwarding 77 1.1 jakllsch options INET # IP + ICMP + TCP + UDP 78 1.1 jakllsch options INET6 # IPv6 79 1.1 jakllsch #options IPSEC # IP security 80 1.1 jakllsch #options IPSEC_DEBUG # debug for IP security 81 1.1 jakllsch #options MROUTING # IP multicast routing 82 1.1 jakllsch #options PIM # Protocol Independent Multicast 83 1.1 jakllsch #options NETATALK # AppleTalk networking protocols 84 1.1 jakllsch options PPP_BSDCOMP # BSD-Compress compression support for PPP 85 1.1 jakllsch options PPP_DEFLATE # Deflate compression support for PPP 86 1.1 jakllsch options PPP_FILTER # Active filter support for PPP (requires bpf) 87 1.1 jakllsch #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 88 1.1 jakllsch 89 1.1 jakllsch options NFS_BOOT_BOOTP 90 1.1 jakllsch #options NFS_BOOT_BOOTPARAM 91 1.1 jakllsch options NFS_BOOT_DHCP 92 1.20 jakllsch options NFS_BOOT_TCP 93 1.1 jakllsch 94 1.1 jakllsch # Compatibility options 95 1.1 jakllsch 96 1.34 mrg include "conf/compat_netbsd16.config" 97 1.34 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 98 1.1 jakllsch 99 1.1 jakllsch # Shared memory options 100 1.1 jakllsch 101 1.1 jakllsch #options SYSVMSG # System V-like message queues 102 1.1 jakllsch #options SYSVSEM # System V-like semaphores 103 1.1 jakllsch #options SYSVSHM # System V-like memory sharing 104 1.1 jakllsch 105 1.1 jakllsch # Device options 106 1.1 jakllsch 107 1.1 jakllsch #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 108 1.1 jakllsch #options MEMORY_DISK_IS_ROOT # use memory disk as root 109 1.1 jakllsch #options MEMORY_DISK_DYNAMIC 110 1.1 jakllsch #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 111 1.1 jakllsch #options MEMORY_RBFLAGS=RB_AUTOBOOT 112 1.1 jakllsch 113 1.1 jakllsch # Miscellaneous kernel options 114 1.1 jakllsch 115 1.1 jakllsch options KTRACE # system call tracing, a la ktrace(1) 116 1.1 jakllsch options IRQSTATS # manage IRQ statistics 117 1.20 jakllsch options DDB # in-kernel debugger 118 1.1 jakllsch options MIIVERBOSE # Verbose MII autoconfuration messages 119 1.1 jakllsch #options PCIVERBOSE # Verbose PCI descriptions 120 1.20 jakllsch options SCSIVERBOSE # human readable SCSI error messages 121 1.1 jakllsch options USBVERBOSE # verbose USB device autoconfig messages 122 1.1 jakllsch #options DDB_KEYCODE=0x40 123 1.1 jakllsch options USERCONF # userconf(4) support 124 1.1 jakllsch #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 125 1.1 jakllsch #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 126 1.1 jakllsch 127 1.1 jakllsch config netbsd root on ? type ? 128 1.1 jakllsch config netbsd-mvgbe0 root on mvgbe0 type nfs 129 1.5 jakllsch config netbsd-wd0e root on wd0e type ? 130 1.5 jakllsch config netbsd-wd0f root on wd0f type ? 131 1.5 jakllsch config netbsd-wd0g root on wd0g type ? 132 1.5 jakllsch config netbsd-wd0h root on wd0h type ? 133 1.1 jakllsch 134 1.1 jakllsch # The main bus device 135 1.1 jakllsch mainbus0 at root 136 1.1 jakllsch 137 1.1 jakllsch # The boot cpu 138 1.1 jakllsch cpu0 at mainbus? 139 1.1 jakllsch 140 1.1 jakllsch # Mervell MV88Fxx81 Orion System-on-Chip 141 1.1 jakllsch mvsoc0 at mainbus? 142 1.1 jakllsch 143 1.1 jakllsch # On-chip PCI Express Interface 144 1.3 jakllsch #mvpex* at mvsoc? offset ? irq ? 145 1.1 jakllsch 146 1.1 jakllsch # On-chip PCI Interface 147 1.3 jakllsch #gtpci* at mvsoc? offset ? irq ? 148 1.1 jakllsch 149 1.1 jakllsch # PCI bus support 150 1.1 jakllsch #options PCI_NETBSD_CONFIGURE 151 1.1 jakllsch #options PCI_CONFIG_DUMP # verbosely dump PCI config space 152 1.1 jakllsch 153 1.3 jakllsch #pci* at mvpex? 154 1.3 jakllsch #pci* at gtpci? 155 1.3 jakllsch 156 1.3 jakllsch #pchb* at pci? dev ? function ? # PCI-Host bridges 157 1.1 jakllsch 158 1.3 jakllsch # PCI IDE Controller 159 1.3 jakllsch #mvsata* at pci? dev ? function ? # Marvell SATA Controller 160 1.1 jakllsch 161 1.1 jakllsch # On-chip Serial-ATA II Host Controller (SATAHC) 162 1.1 jakllsch mvsata* at mvsoc? offset ? irq ? 163 1.1 jakllsch 164 1.1 jakllsch # On-chip Gigabit Ethernet Controller Interface 165 1.1 jakllsch mvgbec* at mvsoc? offset ? 166 1.1 jakllsch mvgbe* at mvgbec? port ? irq ? 167 1.1 jakllsch 168 1.1 jakllsch # On-chip USB 2.0 Interface 169 1.1 jakllsch ehci* at mvsoc? offset ? irq ? 170 1.1 jakllsch 171 1.1 jakllsch # On-chip Cryptographic Engines and Security Accelerator 172 1.1 jakllsch #mvcesa* at mvsoc? offset ? irq ? 173 1.1 jakllsch 174 1.1 jakllsch # On-chip Two-Wire Serial Interface (TWSI) 175 1.1 jakllsch gttwsi* at mvsoc? offset ? irq ? 176 1.1 jakllsch iic* at gttwsi? # I2C bus 177 1.1 jakllsch 178 1.1 jakllsch # On-chip UART Interface 179 1.1 jakllsch com* at mvsoc? offset ? irq ? 180 1.1 jakllsch 181 1.1 jakllsch # On-chip IDMA Controller 182 1.3 jakllsch #gtidmac* at mvsoc? offset ? irq ? 183 1.1 jakllsch 184 1.1 jakllsch # On-chip General Purpose I/O Port Interface 185 1.1 jakllsch mvsocgpp* at mvsoc? offset ? irq ? 186 1.1 jakllsch gpio* at mvsocgpp? 187 1.1 jakllsch 188 1.1 jakllsch # On-chip Timers 189 1.1 jakllsch mvsoctmr* at mvsoc? offset ? irq ? 190 1.1 jakllsch 191 1.1 jakllsch # Real Time Clock 192 1.37 thorpej pcf8563rtc* at iic? addr 0x51 193 1.1 jakllsch 194 1.1 jakllsch # MII/PHY support 195 1.1 jakllsch makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 196 1.39 rin rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 197 1.39 rin rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 198 1.39 rin ukphy* at mii? phy ? # generic unknown PHYs 199 1.1 jakllsch 200 1.1 jakllsch # ATA (IDE) bus support 201 1.1 jakllsch atabus* at ata? 202 1.20 jakllsch #options ATADEBUG 203 1.1 jakllsch 204 1.1 jakllsch # IDE drives 205 1.1 jakllsch wd0 at atabus0 drive 0 flags 0x0000 206 1.1 jakllsch wd1 at atabus1 drive 0 flags 0x0000 207 1.1 jakllsch wd* at atabus? drive ? flags 0x0000 208 1.1 jakllsch 209 1.1 jakllsch # ATAPI bus support 210 1.1 jakllsch atapibus* at atapi? 211 1.1 jakllsch 212 1.1 jakllsch # ATAPI devices 213 1.1 jakllsch # flags have the same meaning as for IDE drives. 214 1.1 jakllsch cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 215 1.1 jakllsch sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 216 1.1 jakllsch st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 217 1.1 jakllsch uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 218 1.1 jakllsch 219 1.1 jakllsch # SCSI bus support 220 1.1 jakllsch scsibus* at scsi? 221 1.1 jakllsch 222 1.1 jakllsch # SCSI devices 223 1.1 jakllsch sd* at scsibus? target ? lun ? # SCSI disk drives 224 1.1 jakllsch cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 225 1.1 jakllsch st* at scsibus? target ? lun ? # SCSI tape drives 226 1.1 jakllsch uk* at scsibus? target ? lun ? # SCSI unknown 227 1.1 jakllsch 228 1.1 jakllsch usb* at ehci? 229 1.1 jakllsch include "dev/usb/usbdevices.config" 230 1.1 jakllsch include "dev/bluetooth/bluetoothdevices.config" 231 1.1 jakllsch 232 1.1 jakllsch audio* at audiobus? 233 1.1 jakllsch midi* at midibus? 234 1.1 jakllsch 235 1.30 christos spkr* at audio? # PC speaker (synthesized) 236 1.28 nat 237 1.1 jakllsch # Pseudo-Devices 238 1.1 jakllsch 239 1.1 jakllsch pseudo-device crypto # /dev/crypto device 240 1.1 jakllsch pseudo-device swcrypto # software crypto implementation 241 1.1 jakllsch 242 1.1 jakllsch # disk/mass storage pseudo-devices 243 1.3 jakllsch #pseudo-device bio # RAID control device driver 244 1.14 christos pseudo-device ccd # concatenated/striped disk devices 245 1.14 christos pseudo-device cgd # cryptographic disk devices 246 1.15 christos pseudo-device raid # RAIDframe disk driver 247 1.1 jakllsch options RAID_AUTOCONFIG # auto-configuration of RAID components 248 1.1 jakllsch # Options to enable various other RAIDframe RAID types. 249 1.1 jakllsch #options RF_INCLUDE_EVENODD=1 250 1.1 jakllsch #options RF_INCLUDE_RAID5_RS=1 251 1.1 jakllsch #options RF_INCLUDE_PARITYLOGGING=1 252 1.1 jakllsch #options RF_INCLUDE_CHAINDECLUSTER=1 253 1.1 jakllsch #options RF_INCLUDE_INTERDECLUSTER=1 254 1.1 jakllsch #options RF_INCLUDE_PARITY_DECLUSTERING=1 255 1.1 jakllsch #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 256 1.1 jakllsch pseudo-device fss # file system snapshot device 257 1.1 jakllsch pseudo-device putter # for puffs and pud 258 1.1 jakllsch 259 1.1 jakllsch #pseudo-device md # memory disk device (ramdisk) 260 1.1 jakllsch pseudo-device vnd # disk-like interface to files 261 1.1 jakllsch options VND_COMPRESSION # compressed vnd(4) 262 1.1 jakllsch 263 1.1 jakllsch # network pseudo-devices 264 1.1 jakllsch pseudo-device bpfilter # Berkeley packet filter 265 1.1 jakllsch #pseudo-device carp # Common Address Redundancy Protocol 266 1.38 maxv pseudo-device npf # NPF packet filter 267 1.1 jakllsch pseudo-device loop # network loopback 268 1.1 jakllsch pseudo-device ppp # Point-to-Point Protocol 269 1.1 jakllsch pseudo-device pppoe # PPP over Ethernet (RFC 2516) 270 1.1 jakllsch #pseudo-device sl # Serial Line IP 271 1.1 jakllsch #pseudo-device irframetty # IrDA frame line discipline 272 1.1 jakllsch pseudo-device tap # virtual Ethernet 273 1.1 jakllsch pseudo-device tun # network tunneling over tty 274 1.1 jakllsch #pseudo-device gre # generic L3 over IP tunnel 275 1.1 jakllsch pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 276 1.1 jakllsch #pseudo-device faith # IPv[46] TCP relay translation i/f 277 1.1 jakllsch pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 278 1.1 jakllsch pseudo-device vlan # IEEE 802.1q encapsulation 279 1.1 jakllsch #pseudo-device bridge # simple inter-network bridging 280 1.45 roy #pseudo-device vether # Virtual Ethernet for bridge 281 1.1 jakllsch #pseudo-device agr # IEEE 802.3ad link aggregation 282 1.1 jakllsch 283 1.1 jakllsch # miscellaneous pseudo-devices 284 1.1 jakllsch pseudo-device pty # pseudo-terminals 285 1.16 christos #pseudo-device sequencer # MIDI sequencer 286 1.1 jakllsch #options RND_COM 287 1.1 jakllsch pseudo-device clockctl # user control of clock subsystem 288 1.1 jakllsch pseudo-device ksyms # /dev/ksyms 289 1.1 jakllsch 290 1.1 jakllsch # a pseudo device needed for Coda # also needs CODA (above) 291 1.15 christos pseudo-device vcoda # coda minicache <-> venus comm. 292 1.1 jakllsch 293 1.1 jakllsch # wscons pseudo-devices 294 1.1 jakllsch pseudo-device wsmux # mouse & keyboard multiplexor 295 1.1 jakllsch pseudo-device wsfont 296 1.1 jakllsch 297 1.1 jakllsch # data mover pseudo-devices 298 1.9 skrll #pseudo-device swdmover # software dmover(9) back-end 299 1.3 jakllsch #pseudo-device dmoverio # /dev/dmover dmover(9) interface 300 1.1 jakllsch 301 1.1 jakllsch pseudo-device dm 302 1.1 jakllsch 303 1.1 jakllsch # Veriexec 304 1.40 sevan include "dev/veriexec.config" 305 1.1 jakllsch 306 1.1 jakllsch options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 307 1.1 jakllsch options PAX_ASLR=0 # PaX Address Space Layout Randomization 308 1.1 jakllsch 309 1.1 jakllsch pseudo-device drvctl 310 1.1 jakllsch 311 1.24 christos # Wedge support 312 1.24 christos options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 313 1.24 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 314 1.24 christos 315 1.35 sevan # Alternate buffer queue strategies for better responsiveness under high 316 1.35 sevan # disk I/O load. 317 1.1 jakllsch options BUFQ_READPRIO 318 1.1 jakllsch options BUFQ_PRIOCSCAN 319