1# $NetBSD: VIPER,v 1.18 2009/12/05 20:11:11 pooka 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 40file-system PROCFS # /proc 41#file-system UMAPFS # NULLFS + uid and gid remapping 42file-system UNION # union file system 43file-system PTYFS # /dev/pts/N support 44 45# File system options 46#options QUOTA # UFS quotas 47#options FFS_EI # FFS Endian Independant support 48options NFSSERVER 49 50# Networking options 51 52#options GATEWAY # packet forwarding 53options INET # IP + ICMP + TCP + UDP 54options INET6 # IPV6 55#options IPSEC # IP security 56#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 57#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 58#options IPSEC_DEBUG # debug for IP security 59#options MROUTING # IP multicast routing 60#options ISO,TPIP # OSI 61#options EON # OSI tunneling over IP 62#options NETATALK # AppleTalk networking 63#options PFIL_HOOKS # pfil(9) packet filter hooks 64#options PPP_BSDCOMP # BSD-Compress compression support for PPP 65#options PPP_DEFLATE # Deflate compression support for PPP 66#options PPP_FILTER # Active filter support for PPP (requires bpf) 67#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 68 69options NFS_BOOT_DHCP 70options NFS_BOOT_BOOTPARAM 71options NFS_BOOT_RWSIZE=1024 72 73# Compatibility options 74 75#options COMPAT_LINUX 76#options COMPAT_43 # 4.3BSD compatibility. 77options COMPAT_50 # NetBSD 5.0 compatibility. 78options COMPAT_40 # NetBSD 4.0 compatibility. 79options COMPAT_30 # NetBSD 3.0 compatibility. 80#options COMPAT_20 # NetBSD 2.0 compatibility. 81#options COMPAT_16 # NetBSD 1.6 compatibility. 82#options COMPAT_15 # NetBSD 1.5 compatibility. 83#options COMPAT_14 # NetBSD 1.4 compatibility. 84#options COMPAT_13 # NetBSD 1.3 compatibility. 85#options COMPAT_12 # NetBSD 1.2 compatibility. 86#options COMPAT_11 # NetBSD 1.1 compatibility. 87#options COMPAT_10 # NetBSD 1.0 compatibility. 88#options COMPAT_09 # NetBSD 0.9 compatibility. 89#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 90 91# Shared memory options 92 93options SYSVMSG # System V-like message queues 94options SYSVSEM # System V-like semaphores 95options SEMMNI=10 # number of semaphore identifiers 96options SEMMNS=60 # number of semaphores in system 97options SEMUME=10 # max number of undo entries per process 98options SEMMNU=30 # number of undo structures in system 99options SYSVSHM # System V-like memory sharing 100 101# Device options 102 103#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 104#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 105#options MEMORY_DISK_IS_ROOT # use memory disk as root 106 107# Console options. The default console is speed is 115200 bps. 108#options CONSPEED=9600 # Console speed 109 110# Miscellaneous kernel options 111options KTRACE # system call tracing, a la ktrace(1) 112options IRQSTATS # manage IRQ statistics 113#options KMEMSTATS # kernel memory statistics 114#options SCSIVERBOSE # Verbose SCSI errors 115#options PCIVERBOSE # Verbose PCI descriptions 116#options MIIVERBOSE # Verbose MII autoconfuration messages 117#options PCI_CONFIG_DUMP # verbosely dump PCI config space 118#options DDB_KEYCODE=0x40 119#options USERCONF # userconf(4) support 120#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 121 122# Development and Debugging options 123 124#options PERFCTRS # performance counters 125options DIAGNOSTIC # internally consistency checks 126#options DEBUG 127#options PMAP_DEBUG # Enable pmap_debug_level code 128#options VERBOSE_INIT_ARM # verbose bootstraping messages 129options DDB # in-kernel debugger 130options DDB_ONPANIC=1 131options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 132#makeoptions DEBUG="-g" # compile full symbol table 133options SYMTAB_SPACE=450000 134 135##options PMAP_INCLUDE_PTE_SYNC 136##options LOCKDEBUG 137 138config netbsd root on ? type ? 139 140# The main bus device 141mainbus0 at root 142 143# The boot CPU 144cpu0 at mainbus? 145 146# peripherals 147pxaip0 at mainbus0 148 149# interrupt controller & gpio pins 150pxaintc0 at pxaip0 151pxagpio0 at pxaip0 152 153# serial ports 154options COM_PXA2X0 155options FFUARTCONSOLE 156com0 at pxaip0 addr 0x40100000 intr 22 # FFUART 157com1 at pxaip0 addr 0x40200000 intr 21 # BTUART 158com2 at pxaip0 addr 0x40700000 intr 20 159 160# these two are not hanging off of pxaip, not really tested either 161#com3 at pxaip0 addr 0x14300000 # COM5 162#com4 at pxaip0 addr 0x14300010 # COM4 163 164# SMC91C111 ethernet 165sm0 at pxaip0 addr 0x08000300 intr 0 166 167# MII/PHY support 168sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 169 170# Pseudo-Devices 171 172# disk/mass storage pseudo-devices 173#pseudo-device md 1 # memory disk device (ramdisk) 174pseudo-device vnd # disk-like interface to files 175#pseudo-device fss 4 # file system snapshot device 176 177# network pseudo-devices 178pseudo-device bpfilter # Berkeley packet filter 179pseudo-device loop # network loopback 180pseudo-device kttcp # network loopback 181 182# miscellaneous pseudo-devices 183pseudo-device pty # pseudo-terminals 184pseudo-device rnd # /dev/random and in-kernel generator 185#options RND_COM 186pseudo-device clockctl # user control of clock subsystem 187pseudo-device ksyms # /dev/ksyms 188 189# data mover pseudo-devices 190#pseudo-device swdmover # softare dmover(9) back-end 191#pseudo-device dmoverio # /dev/dmover dmover(9) interface 192