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