1# $NetBSD: VIPER,v 1.10 2006/02/05 05:01:49 cube Exp $ 2# 3# Arcom Viper 4# 5 6include "arch/evbarm/conf/std.viper" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9#options MSGBUFSIZE=65536 10#options KSTACK_CHECK_MAGIC 11 12# estimated number of users 13maxusers 32 14 15# Standard system options 16 17options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18options NTP # NTP phase/frequency locked loop 19 20# CPU options 21 22options CPU_XSCALE_PXA250 # XScale PXA255 23makeoptions CPUFLAGS="-mcpu=xscale" 24#options CPU_XSCALE_CCLKCFG=xyz 25 26# File systems 27 28file-system FFS # UFS 29#file-system LFS # log-structured file system 30file-system MFS # memory file system 31file-system NFS # Network file system 32#file-system ADOSFS # AmigaDOS-compatible file system 33file-system EXT2FS # second extended file system (linux) 34#file-system CD9660 # ISO 9660 + Rock Ridge file system 35file-system MSDOSFS # MS-DOS file system 36#file-system FDESC # /dev/fd 37#file-system FILECORE # Acorn filecore file system 38file-system KERNFS # /kern 39file-system NULLFS # loopback file system 40#file-system PORTAL # portal filesystem (still experimental) 41file-system PROCFS # /proc 42#file-system UMAPFS # NULLFS + uid and gid remapping 43file-system UNION # union file system 44file-system PTYFS # /dev/pts/N support 45 46# File system options 47#options QUOTA # UFS quotas 48#options FFS_EI # FFS Endian Independant support 49options NFSSERVER 50options SOFTDEP 51 52# Networking options 53 54#options GATEWAY # packet forwarding 55options INET # IP + ICMP + TCP + UDP 56options INET6 # IPV6 57#options IPSEC # IP security 58#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 59#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 60#options IPSEC_DEBUG # debug for IP security 61#options MROUTING # IP multicast routing 62#options NS # XNS 63#options NSIP # XNS tunneling over IP 64#options ISO,TPIP # OSI 65#options EON # OSI tunneling over IP 66#options CCITT,LLC,HDLC # X.25 67#options NETATALK # AppleTalk networking 68#options PFIL_HOOKS # pfil(9) packet filter hooks 69#options PPP_BSDCOMP # BSD-Compress compression support for PPP 70#options PPP_DEFLATE # Deflate compression support for PPP 71#options PPP_FILTER # Active filter support for PPP (requires bpf) 72#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 73 74options NFS_BOOT_DHCP 75options NFS_BOOT_BOOTPARAM 76options NFS_BOOT_RWSIZE=1024 77 78# Compatibility options 79 80#options COMPAT_LINUX 81#options COMPAT_43 # 4.3BSD compatibility. 82options COMPAT_30 # NetBSD 3.0 compatibility. 83#options COMPAT_20 # NetBSD 2.0 84#options COMPAT_16 # NetBSD 1.6 compatibility. 85#options COMPAT_15 # NetBSD 1.5 compatibility. 86#options COMPAT_14 # NetBSD 1.4 compatibility. 87#options COMPAT_13 # NetBSD 1.3 compatibility. 88#options COMPAT_12 # NetBSD 1.2 compatibility. 89#options COMPAT_11 # NetBSD 1.1 compatibility. 90#options COMPAT_10 # NetBSD 1.0 compatibility. 91#options COMPAT_09 # NetBSD 0.9 compatibility. 92#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 93 94# Shared memory options 95 96options SYSVMSG # System V-like message queues 97options SYSVSEM # System V-like semaphores 98options SEMMNI=10 # number of semaphore identifiers 99options SEMMNS=60 # number of semaphores in system 100options SEMUME=10 # max number of undo entries per process 101options SEMMNU=30 # number of undo structures in system 102options SYSVSHM # System V-like memory sharing 103options SHMMAXPGS=1024 # 1024 pages is the default 104 105# Device options 106 107#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 108#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 109#options MEMORY_DISK_IS_ROOT # use memory disk as root 110 111# Console options. The default console is speed is 115200 bps. 112#options CONSPEED=9600 # Console speed 113 114# Miscellaneous kernel options 115options KTRACE # system call tracing, a la ktrace(1) 116options IRQSTATS # manage IRQ statistics 117#options LKM # loadable kernel modules 118#options KMEMSTATS # kernel memory statistics 119#options SCSIVERBOSE # Verbose SCSI errors 120#options PCIVERBOSE # Verbose PCI descriptions 121#options MIIVERBOSE # Verbose MII autoconfuration messages 122#options PCI_CONFIG_DUMP # verbosely dump PCI config space 123#options DDB_KEYCODE=0x40 124#options USERCONF # userconf(4) support 125#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 126 127# Development and Debugging options 128 129#options PERFCTRS # performance counters 130options DIAGNOSTIC # internally consistency checks 131#options DEBUG 132#options PMAP_DEBUG # Enable pmap_debug_level code 133#options IPKDB # remote kernel debugging 134#options VERBOSE_INIT_ARM # verbose bootstraping messages 135options DDB # in-kernel debugger 136options DDB_ONPANIC=1 137options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 138#makeoptions DEBUG="-g" # compile full symbol table 139options SYMTAB_SPACE=450000 140 141##options PMAP_INCLUDE_PTE_SYNC 142##options LOCKDEBUG 143 144config netbsd root on ? type ? 145 146# The main bus device 147mainbus0 at root 148 149# The boot CPU 150cpu0 at mainbus? 151 152# peripherals 153pxaip0 at mainbus0 154 155# interrupt controller & gpio pins 156pxaintc0 at pxaip0 157pxagpio0 at pxaip0 158 159# serial ports 160options COM_PXA2X0 161options FFUARTCONSOLE 162com0 at pxaip0 addr 0x40100000 intr 22 # FFUART 163com1 at pxaip0 addr 0x40200000 intr 21 # BTUART 164com2 at pxaip0 addr 0x40700000 intr 20 165 166# these two are not hanging off of pxaip, not really tested either 167#com3 at pxaip0 addr 0x14300000 # COM5 168#com4 at pxaip0 addr 0x14300010 # COM4 169 170# SMC91C111 ethernet 171sm0 at pxaip0 addr 0x08000300 intr 0 172 173# MII/PHY support 174sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 175 176# Pseudo-Devices 177 178# disk/mass storage pseudo-devices 179#pseudo-device md 1 # memory disk device (ramdisk) 180pseudo-device vnd # disk-like interface to files 181#pseudo-device fss 4 # file system snapshot device 182 183# network pseudo-devices 184pseudo-device bpfilter # Berkeley packet filter 185pseudo-device loop # network loopback 186pseudo-device kttcp # network loopback 187 188# miscellaneous pseudo-devices 189pseudo-device pty # pseudo-terminals 190pseudo-device rnd # /dev/random and in-kernel generator 191#options RND_COM 192pseudo-device clockctl # user control of clock subsystem 193pseudo-device ksyms # /dev/ksyms 194 195# data mover pseudo-devices 196#pseudo-device swdmover # softare dmover(9) back-end 197#pseudo-device dmoverio # /dev/dmover dmover(9) interface 198