1# $NetBSD: OPENBLOCKS_A6,v 1.8 2012/10/17 14:48:11 apb Exp $ 2# 3# OPENBLOCKS_A6 -- Plat'Home. OpenBlockS A6 kernel 4# 5 6include "arch/evbarm/conf/std.marvell" 7 8options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Board Type 15makeoptions BOARDTYPE="openblocks_a6" 16options EVBARM_BOARDTYPE=openblocks_a6 17 18# CPU options 19options CPU_SHEEVA 20#options MV_L2_CACHE_ENABLE 21#options MV_L2_CACHE_WRITE_THROUGH 22options MV_CACHE_RANGE_OPS 23makeoptions CPUFLAGS="-march=armv5te" 24 25# Marvell SoC options 26options KIRKWOOD 27 28# Standard system options 29 30options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 31options NTP # NTP phase/frequency locked loop 32 33# File systems 34 35file-system FFS # UFS 36file-system EXT2FS # second extended file system (linux) 37#file-system LFS # log-structured file system 38#file-system MFS # memory file system 39file-system NFS # Network File System client 40#file-system NTFS # Windows/NT file system (experimental) 41#file-system CD9660 # ISO 9660 + Rock Ridge file system 42file-system MSDOSFS # MS-DOS file system 43file-system FDESC # /dev/fd 44file-system KERNFS # /kern 45#file-system NULLFS # loopback file system 46#file-system OVERLAY # overlay file system 47file-system PROCFS # /proc 48#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 49#file-system UMAPFS # NULLFS + uid and gid remapping 50#file-system UNION # union file system 51#file-system CODA # Coda File System; also needs vcoda (below) 52#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 53file-system PTYFS # /dev/ptm support 54file-system TMPFS # Efficient memory file-system 55#file-system UDF # experimental - OSTA UDF CD/DVD file-system 56#file-system HFS # experimental - Apple HFS+ (read-only) 57 58# File system options 59#options QUOTA # legacy UFS quotas 60#options QUOTA2 # new, in-filesystem UFS quotas 61#options FFS_EI # FFS Endian Independent support 62options WAPBL # File system journaling support 63# Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 64# It is not recommended for general use. 65#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 66options NFSSERVER # Network File System server 67options FFS_NO_SNAPSHOT # No FFS snapshot support 68#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 69 # immutable) behave as system flags. 70 71# Networking options 72 73#options GATEWAY # packet forwarding 74options INET # IP + ICMP + TCP + UDP 75options INET6 # IPv6 76options IPSEC # IP security 77options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 78options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 79#options IPSEC_DEBUG # debug for IP security 80#options MROUTING # IP multicast routing 81#options PIM # Protocol Independent Multicast 82#options ISO,TPIP # OSI 83#options EON # OSI tunneling over IP 84options NETATALK # AppleTalk networking protocols 85options PPP_BSDCOMP # BSD-Compress compression support for PPP 86options PPP_DEFLATE # Deflate compression support for PPP 87options PPP_FILTER # Active filter support for PPP (requires bpf) 88options PFIL_HOOKS # pfil(9) packet filter hooks 89options IPFILTER_LOG # ipmon(8) log support 90options IPFILTER_LOOKUP # ippool(8) support 91options IPFILTER_COMPAT # Compat for IP-Filter 92options IPFILTER_DEFAULT_BLOCK # block all packets by default 93#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 94 95#options NFS_BOOT_BOOTP 96options NFS_BOOT_DHCP 97#options NFS_BOOT_BOOTPARAM 98 99# Compatibility options 100 101#options COMPAT_09 # NetBSD 0.9 compatibility. 102#options COMPAT_10 # NetBSD 1.0 compatibility. 103#options COMPAT_11 # NetBSD 1.1 compatibility. 104#options COMPAT_12 # NetBSD 1.2 compatibility. 105#options COMPAT_13 # NetBSD 1.3 compatibility. 106#options COMPAT_14 # NetBSD 1.4 compatibility. 107#options COMPAT_15 # NetBSD 1.5 compatibility. 108#options COMPAT_16 # NetBSD 1.6 compatibility. 109#options COMPAT_20 # NetBSD 2.0 compatibility. 110#options COMPAT_30 # NetBSD 3.0 compatibility. 111#options COMPAT_40 # NetBSD 4.0 compatibility. 112options COMPAT_50 # NetBSD 5.0 compatibility. 113options COMPAT_60 # NetBSD 6.0 compatibility. 114#options COMPAT_43 # 4.3BSD compatibility. 115#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 116 117options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 118options COMPAT_LINUX # binary compatibility with Linux 119options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 120 121# Shared memory options 122 123options SYSVMSG # System V-like message queues 124options SYSVSEM # System V-like semaphores 125options SYSVSHM # System V-like memory sharing 126 127# Device options 128 129#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 130#options MEMORY_DISK_IS_ROOT # use memory disk as root 131#options MEMORY_DISK_DYNAMIC 132#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 133#options MEMORY_RBFLAGS=RB_AUTOBOOT 134 135# Miscellaneous kernel options 136 137#options KTRACE # system call tracing, a la ktrace(1) 138options IRQSTATS # manage IRQ statistics 139#options LKM # loadable kernel modules 140#options KMEMSTATS # kernel memory statistics 141options MIIVERBOSE # Verbose MII autoconfuration messages 142#options PCIVERBOSE # Verbose PCI descriptions 143options USBVERBOSE # verbose USB device autoconfig messages 144#options DDB_KEYCODE=0x40 145#options USERCONF # userconf(4) support 146#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 147#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 148 149# Development and Debugging options 150 151#options PERFCTRS # performance counters 152options DIAGNOSTIC # internally consistency checks 153options DEBUG 154#options PMAP_DEBUG # Enable pmap_debug_level code 155#options VERBOSE_INIT_ARM # verbose bootstraping messages 156options DDB # in-kernel debugger 157#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 158#options KGDB 159#options DEBUG_KGDB 160makeoptions DEBUG="-g" # compile full symbol table 161#makeoptions COPTS="-O2" 162options SYMTAB_SPACE=850000 163#options AUDIO_DEBUG=2 164 165config netbsd root on ? type ? 166 167# The main bus device 168mainbus0 at root 169 170# The boot cpu 171cpu0 at mainbus? 172 173# Marvell MV88F6xxx Kirkwood System-on-chip 174mvsoc0 at mainbus? 175 176# On-chip Serial-ATA II Host Controller (SATAHC) 177mvsata* at mvsoc? offset ? irq ? 178 179# On-chip Gigabit Ethernet Controller Interface 180mvgbec0 at mvsoc? offset 0x70000 181mvgbe* at mvgbec0 port 0 irq ? 182makphy* at mii? phy ? 183 184# On-chip USB 2.0 Interface 185ehci* at mvsoc? offset ? irq ? 186 187# On-chip Cryptographic Engines and Security Accelerator 188mvcesa* at mvsoc? offset ? irq ? 189 190# On-chip Two-Wire Serial Interface (TWSI) 191gttwsi* at mvsoc? offset ? irq ? 192iic* at gttwsi? 193s390rtc* at iic1 addr 0x30 194 195# On-chip UART Interface 196com* at mvsoc? offset ? irq ? 197 198# On-chip IDMA Controller 199gtidmac* at mvsoc? offset ? irq ? 200 201# On-chip Thermal Sensor 202mvsocts* at mvsoc? offset ? 203 204# On-chip General Purpose I/O Port Interface 205mvsocgpp* at mvsoc? offset ? irq ? 206gpio* at mvsocgpp? 207 208# On-chip Timers 209mvsoctmr* at mvsoc? offset ? irq ? 210 211# ATA (IDE) bus support 212atabus* at ata? 213#options ATADEBUG 214 215# IDE drives 216wd* at atabus? drive ? flags 0x0000 217 218# ATAPI bus support 219#atapibus* at atapi? 220 221# ATAPI devices 222# flags have the same meaning as for IDE drives. 223#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 224#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 225 226# USB bus support 227usb* at ehci? 228 229# USB Hubs 230uhub* at usb? 231uhub* at uhub? port ? 232 233# USB HID device 234uhidev* at uhub? port ? configuration ? interface ? 235 236# USB TEMPer and TEMPerHUM 237uthum* at uhidev? reportid ? 238 239# USB serial adapter 240ucycom* at uhidev? reportid ? 241 242# USB Modem 243umodem* at uhub? port ? configuration ? 244ucom* at umodem? 245 246# Option N.V. Wireless WAN modems 247uhso* at uhub? port ? configuration ? 248 249# USB Mass Storage 250umass* at uhub? port ? configuration ? interface ? 251wd* at umass? 252scsibus* at scsi? 253sd* at scsibus? target ? lun ? # SCSI disk drives 254cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 255 256# USB IrDA 257# USB-IrDA bridge spec 258uirda* at uhub? port ? configuration ? interface ? 259irframe* at uirda? 260 261stuirda* at uhub? port ? configuration ? interface ? 262irframe* at stuirda? 263 264# SigmaTel STIr4200 USB/IrDA Bridge 265ustir* at uhub? port ? 266irframe* at ustir? 267 268# USB Ethernet adapters 269aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 270axe* at uhub? port ? # ASIX AX88172 based adapters 271cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 272cue* at uhub? port ? # CATC USB-EL1201A based adapters 273kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 274udav* at uhub? port ? # Davicom DM9601 based adapters 275url* at uhub? port ? # Realtek RTL8150L based adapters 276 277# USB 802.11 adapters 278atu* at uhub? port ? # Atmel AT76C50XX based adapters 279ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 280rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 281zyd* at uhub? port ? # Zydas ZD1211 282 283# Prolific PL2301/PL2302 host-to-host adapter 284upl* at uhub? port ? 285 286# Serial adapters 287ubsa* at uhub? port ? # Belkin serial adapter 288ucom* at ubsa? portno ? 289 290uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 291ucom* at uchcom? portno ? 292 293uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 294ucom* at uftdi? portno ? 295 296uipaq* at uhub? port ? # iPAQ PDAs 297ucom* at uipaq? portno ? 298 299umct* at uhub? port ? # MCT USB-RS232 serial adapter 300ucom* at umct? portno ? 301 302uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 303ucom* at uplcom? portno ? 304 305uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 306ucom* at uslsa? portno ? 307 308uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 309ucom* at uvscom? portno ? 310 311# Kyocera AIR-EDGE PHONE 312ukyopon* at uhub? port ? 313ucom* at ukyopon? portno ? 314 315# USB Generic driver 316ugen* at uhub? port ? 317 318# USB generic serial port (e.g., data over cellular) 319ugensa* at uhub? port ? 320ucom* at ugensa? 321 322# Bluetooth Controller and Device support 323 324# Bluetooth USB Controllers 325ubt* at uhub? port ? 326aubtfwl* at uhub? port ? 327 328# Bluetooth Device Hub 329bthub* at ubt? 330 331# Pseudo-Devices 332 333pseudo-device crypto # /dev/crypto device 334pseudo-device swcrypto # software crypto implementation 335 336# disk/mass storage pseudo-devices 337#pseudo-device bio # RAID control device driver 338#pseudo-device ccd 4 # concatenated/striped disk devices 339#pseudo-device cgd 4 # cryptographic disk devices 340#pseudo-device raid 8 # RAIDframe disk driver 341#options RAID_AUTOCONFIG # auto-configuration of RAID components 342# Options to enable various other RAIDframe RAID types. 343#options RF_INCLUDE_EVENODD=1 344#options RF_INCLUDE_RAID5_RS=1 345#options RF_INCLUDE_PARITYLOGGING=1 346#options RF_INCLUDE_CHAINDECLUSTER=1 347#options RF_INCLUDE_INTERDECLUSTER=1 348#options RF_INCLUDE_PARITY_DECLUSTERING=1 349#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 350#pseudo-device fss # file system snapshot device 351#pseudo-device putter # for puffs and pud 352 353#pseudo-device md # memory disk device (ramdisk) 354pseudo-device vnd # disk-like interface to files 355options VND_COMPRESSION # compressed vnd(4) 356 357# network pseudo-devices 358pseudo-device bpfilter # Berkeley packet filter 359#pseudo-device carp # Common Address Redundancy Protocol 360pseudo-device ipfilter # IP filter (firewall) and NAT 361pseudo-device loop # network loopback 362pseudo-device ppp # Point-to-Point Protocol 363pseudo-device pppoe # PPP over Ethernet (RFC 2516) 364pseudo-device sl # Serial Line IP 365#pseudo-device strip # Starmode Radio IP (Metricom) 366#pseudo-device irframetty # IrDA frame line discipline 367pseudo-device tap # virtual Ethernet 368pseudo-device tun # network tunneling over tty 369pseudo-device gre # generic L3 over IP tunnel 370pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 371pseudo-device faith # IPv[46] TCP relay translation i/f 372pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 373pseudo-device vlan # IEEE 802.1q encapsulation 374pseudo-device bridge # simple inter-network bridging 375options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 376pseudo-device agr # IEEE 802.3ad link aggregation 377pseudo-device pf # PF packet filter 378pseudo-device pflog # PF log if 379 380# miscellaneous pseudo-devices 381pseudo-device pty # pseudo-terminals 382#pseudo-device sequencer 1 # MIDI sequencer 383#options RND_COM 384pseudo-device clockctl # user control of clock subsystem 385pseudo-device ksyms # /dev/ksyms 386 387# a pseudo device needed for Coda # also needs CODA (above) 388#pseudo-device vcoda 4 # coda minicache <-> venus comm. 389 390# a pseudo device needed for SMBFS 391#pseudo-device nsmb # experimental - SMB requester 392 393# wscons pseudo-devices 394#pseudo-device wsmux # mouse & keyboard multiplexor 395#pseudo-device wsfont 396 397# data mover pseudo-devices 398pseudo-device swdmover # software dmover(9) back-end 399pseudo-device dmoverio # /dev/dmover dmover(9) interface 400 401#options FILEASSOC # fileassoc(9) - required for Veriexec 402 403# Veriexec 404#pseudo-device veriexec 405# 406# Uncomment the fingerprint methods below that are desired. Note that 407# removing fingerprint methods will have almost no impact on the kernel 408# code size. 409# 410#options VERIFIED_EXEC_FP_RMD160 411#options VERIFIED_EXEC_FP_SHA256 412#options VERIFIED_EXEC_FP_SHA384 413#options VERIFIED_EXEC_FP_SHA512 414#options VERIFIED_EXEC_FP_SHA1 415#options VERIFIED_EXEC_FP_MD5 416 417#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 418#options PAX_ASLR=0 # PaX Address Space Layout Randomization 419