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