GEMINI revision 1.18.2.2 1 #
2 # GEMINI --
3 #
4
5 include "arch/evbarm/conf/std.gemini"
6
7 # estimated number of users
8
9 maxusers 32
10
11 # Standard system options
12
13 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
14 #options NTP # NTP phase/frequency locked loop
15
16 # CPU options
17
18 options CPU_FA526
19 options SL3516
20 options GEMINI_SINGLE
21
22 # Architecture options
23
24 # File systems
25
26 file-system FFS # UFS
27 #file-system LFS # log-structured file system
28 file-system MFS # memory file system
29 file-system NFS # Network file system
30 #file-system ADOSFS # AmigaDOS-compatible file system
31 #file-system EXT2FS # second extended file system (linux)
32 #file-system CD9660 # ISO 9660 + Rock Ridge file system
33 file-system MSDOSFS # MS-DOS file system
34 #file-system FDESC # /dev/fd
35 #file-system KERNFS # /kern
36 #file-system NULLFS # loopback file system
37 #file-system PROCFS # /proc
38 #file-system UMAPFS # NULLFS + uid and gid remapping
39 #file-system UNION # union file system
40 file-system PTYFS # /dev/pts/N support
41
42 # File system options
43 #options QUOTA # legacy UFS quotas
44 #options QUOTA2 # new, in-filesystem UFS quotas
45 #options FFS_EI # FFS Endian Independent support
46 #options NFSSERVER
47 #options WAPBL # File system journaling support
48 #options FFS_NO_SNAPSHOT # No FFS snapshot support
49
50 # Networking options
51
52 #options GATEWAY # packet forwarding
53 options INET # IP + ICMP + TCP + UDP
54 options 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 PIM # Protocol Independent Multicast
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_BOOTP
74 options NFS_BOOT_DHCP
75 options NFS_BOOT_RWSIZE=1024
76
77 # Compatibility options
78
79 #options COMPAT_43 # 4.3BSD compatibility.
80 options COMPAT_50 # NetBSD 5.0 compatibility.
81 #options COMPAT_40 # NetBSD 4.0 compatibility.
82 #options COMPAT_30 # NetBSD 3.0 compatibility.
83 #options COMPAT_20 # NetBSD 2.0 compatibility.
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 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
94
95 # Shared memory options
96
97 options SYSVMSG # System V-like message queues
98 options SYSVSEM # System V-like semaphores
99 options 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=8192 # Size in blocks
105 #options MEMORY_DISK_DYNAMIC
106 #options MINIROOTSIZE=1000 # Size in blocks
107 #options MEMORY_DISK_IS_ROOT # use memory disk as root
108
109 # Miscellaneous kernel options
110 options KTRACE # system call tracing, a la ktrace(1)
111 #options KMEMSTATS # kernel memory statistics
112 #options SCSIVERBOSE # Verbose SCSI errors
113 #options MIIVERBOSE # Verbose MII autoconfuration messages
114 #options DDB_KEYCODE=0x40
115 #options USERCONF # userconf(4) support
116 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
117
118 # Development and Debugging options
119
120 #options PERFCTRS # performance counters
121 options DIAGNOSTIC # internally consistency checks
122 #options DEBUG
123 #options PMAP_DEBUG # Enable pmap_debug_level code
124 options VERBOSE_INIT_ARM # verbose bootstraping messages
125 options DDB # in-kernel debugger
126 options DDB_ONPANIC=1
127 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
128 #options KGDB
129 makeoptions DEBUG="-g" # compile full symbol table
130 ##options SYMTAB_SPACE=280000
131 ##options ATADEBUG
132
133 # Valid options for BOOT_ARGS:
134 # single Boot to single user only
135 # kdb Give control to kernel debugger
136 # ask Ask for file name to reboot from
137 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
138 # memorydisk=<n> Set memorydisk size to <n> KB
139 # quiet Show aprint_naive output
140 # verbose Show aprint_normal and aprint_verbose output
141 options BOOT_ARGS="\"\""
142
143 config netbsd root on ? type ?
144 ##config netbsd-sm0 root on sm0 type nfs
145
146 # The main bus device
147 mainbus0 at root
148
149 # The boot cpu
150 cpu0 at mainbus?
151
152 # Specify the memory size in megabytes.
153 options MEMSIZE=128
154
155 # Specify the (DMA) Bus Address base in megabytes
156 options GEMINI_BUSBASE=0
157
158 # On-board IO
159 obio0 at mainbus?
160
161 # On-board 16550 UART(s)
162 com0 at obio? addr 0x42000000 intr 18 mult 4
163 options CONSADDR=0x42000000, CONSPEED=19200
164
165 # Interrupt controller
166 geminiicu0 at obio0 addr 0x48000000 intrbase 0
167 ##geminiicu1 at obio0 addr 0x49000000 intrbase 0
168
169 # Watchdog timer
170 geminiwdt0 at obio0 addr 0x41000000 size 0x1c
171 # Internal PCLK is AHB bus freq,
172 # which is 1/6 of APB bus freq,
173 # which is 150MHz`
174 options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz
175
176 # Combined Operating System Timer and Statistics Timer
177 geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14
178 ##geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15
179 # Microtime Reference Timer
180 geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16
181 #
182 # Internal PCLK is AHB bus freq,
183 # which is 1/6 of APB bus freq,
184 # which is 150MHz`
185 options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz
186
187
188 # On-board GPIO controllers
189
190
191 # Real Time Clock
192
193 # IDE
194 ##wdc0 at obio? addr 0x63000000 intr 4
195 ##wdc1 at obio? addr 0x63400000 intr 5
196
197 ##atabus* at ata? channel ?
198 ##wd* at atabus? drive ? flags 0x0000
199
200 # USB
201 ehci0 at obio? addr 0x68000000 size 0x400 intr 10 # 30?
202 ehci1 at obio? addr 0x69000000 size 0x400 intr 11 # 31?
203
204 usb* at ehci?
205 uhub* at usb?
206 uhub* at uhub? port ?
207 axe* at uhub?
208 umass* at uhub? port ? configuration ? interface ?
209 wd* at umass?
210
211 # PCI
212 pci0 at obio? bus ?
213 options PCI_NETBSD_CONFIGURE # set up the PCI bus
214 options PCIVERBOSE
215 options PCI_CONFIG_DUMP
216
217 # PCI Ethernet
218 ex* at pci? dev ? function ? # 3Com 90x[BC]
219 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
220 wm* at pci? dev ? function ? # Intel 8254x gigabit
221
222 # MII/PHY support
223 exphy* at mii? phy ? # 3Com internal PHYs
224 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
225 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
226
227 # Pseudo-Devices
228
229 # disk/mass storage pseudo-devices
230 #pseudo-device vnd # disk-like interface to files
231 #pseudo-device fss # file system snapshot device
232
233 # network pseudo-devices
234 pseudo-device bpfilter # Berkeley packet filter
235 pseudo-device loop # network loopback
236 #pseudo-device kttcp # network loopback
237
238 # miscellaneous pseudo-devices
239 pseudo-device pty # pseudo-terminals
240 #options RND_COM
241 #pseudo-device clockctl # user control of clock subsystem
242 pseudo-device ksyms # /dev/ksyms
243
244