1# $NetBSD: VIPER,v 1.32 2013/06/30 21:38:56 rmind 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 PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 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 # legacy UFS quotas 48#options QUOTA2 # new, in-filesystem UFS quotas 49#options FFS_EI # FFS Endian Independent support 50options NFSSERVER 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_DEBUG # debug for IP security 59#options MROUTING # IP multicast routing 60#options NETATALK # AppleTalk networking 61#options PPP_BSDCOMP # BSD-Compress compression support for PPP 62#options PPP_DEFLATE # Deflate compression support for PPP 63#options PPP_FILTER # Active filter support for PPP (requires bpf) 64#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 65 66options NFS_BOOT_DHCP 67options NFS_BOOT_BOOTPARAM 68options NFS_BOOT_RWSIZE=1024 69 70# Compatibility options 71 72#options COMPAT_LINUX 73#options COMPAT_43 # 4.3BSD compatibility. 74options COMPAT_60 # NetBSD 6.0 compatibility. 75options COMPAT_50 # NetBSD 5.0 compatibility. 76options COMPAT_40 # NetBSD 4.0 compatibility. 77options COMPAT_30 # NetBSD 3.0 compatibility. 78#options COMPAT_20 # NetBSD 2.0 compatibility. 79#options COMPAT_16 # NetBSD 1.6 compatibility. 80#options COMPAT_15 # NetBSD 1.5 compatibility. 81#options COMPAT_14 # NetBSD 1.4 compatibility. 82#options COMPAT_13 # NetBSD 1.3 compatibility. 83#options COMPAT_12 # NetBSD 1.2 compatibility. 84#options COMPAT_11 # NetBSD 1.1 compatibility. 85#options COMPAT_10 # NetBSD 1.0 compatibility. 86#options COMPAT_09 # NetBSD 0.9 compatibility. 87#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 88 89# Shared memory options 90 91options SYSVMSG # System V-like message queues 92options SYSVSEM # System V-like semaphores 93options SYSVSHM # System V-like memory sharing 94 95# Device options 96 97#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 98#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 99#options MEMORY_DISK_IS_ROOT # use memory disk as root 100 101# Console options. The default console is speed is 115200 bps. 102#options CONSPEED=9600 # Console speed 103 104# Miscellaneous kernel options 105options KTRACE # system call tracing, a la ktrace(1) 106options IRQSTATS # manage IRQ statistics 107#options KMEMSTATS # kernel memory statistics 108#options SCSIVERBOSE # Verbose SCSI errors 109#options PCIVERBOSE # Verbose PCI descriptions 110#options MIIVERBOSE # Verbose MII autoconfuration messages 111#options PCI_CONFIG_DUMP # verbosely dump PCI config space 112#options DDB_KEYCODE=0x40 113#options USERCONF # userconf(4) support 114#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 115 116# Development and Debugging options 117 118#options PERFCTRS # performance counters 119options DIAGNOSTIC # internally consistency checks 120#options DEBUG 121#options PMAP_DEBUG # Enable pmap_debug_level code 122#options VERBOSE_INIT_ARM # verbose bootstraping messages 123options DDB # in-kernel debugger 124options DDB_ONPANIC=1 125options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 126#makeoptions DEBUG="-g" # compile full symbol table 127options SYMTAB_SPACE=500000 128 129##options PMAP_INCLUDE_PTE_SYNC 130##options LOCKDEBUG 131 132config netbsd root on ? type ? 133 134# The main bus device 135mainbus0 at root 136 137# The boot CPU 138cpu0 at mainbus? 139 140# peripherals 141pxaip0 at mainbus0 142 143# interrupt controller & gpio pins 144pxaintc0 at pxaip0 145pxagpio0 at pxaip0 146 147# serial ports 148options COM_PXA2X0 149options FFUARTCONSOLE 150com0 at pxaip0 addr 0x40100000 intr 22 # FFUART 151com1 at pxaip0 addr 0x40200000 intr 21 # BTUART 152com2 at pxaip0 addr 0x40700000 intr 20 153 154# these two are not hanging off of pxaip, not really tested either 155#com3 at pxaip0 addr 0x14300000 # COM5 156#com4 at pxaip0 addr 0x14300010 # COM4 157 158# SMC91C111 ethernet 159sm0 at pxaip0 addr 0x08000300 intr 0 160 161# MII/PHY support 162sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 163 164# Pseudo-Devices 165 166# disk/mass storage pseudo-devices 167#pseudo-device md # memory disk device (ramdisk) 168pseudo-device vnd # disk-like interface to files 169#pseudo-device fss # file system snapshot device 170#pseudo-device putter # for puffs and pud 171 172# network pseudo-devices 173pseudo-device bpfilter # Berkeley packet filter 174pseudo-device loop # network loopback 175pseudo-device kttcp # network loopback 176 177# miscellaneous pseudo-devices 178pseudo-device pty # pseudo-terminals 179#options RND_COM 180pseudo-device clockctl # user control of clock subsystem 181pseudo-device ksyms # /dev/ksyms 182 183# data mover pseudo-devices 184#pseudo-device swdmover # software dmover(9) back-end 185#pseudo-device dmoverio # /dev/dmover dmover(9) interface 186