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