GEMINI_MASTER revision 1.6 1 #
2 # GEMINI --
3 #
4
5 include "arch/evbarm/conf/std.gemini"
6
7
8 # estimated number of users
9
10 maxusers 32
11
12 # Standard system options
13
14 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
15 #options NTP # NTP phase/frequency locked loop
16
17 # CPU options
18
19 options CPU_FA526
20 options SL3516
21 options GEMINI_MASTER
22
23 # Architecture options
24
25 # File systems
26
27 file-system FFS # UFS
28 #file-system LFS # log-structured file system
29 file-system MFS # memory file system
30 file-system NFS # Network file system
31 #file-system ADOSFS # AmigaDOS-compatible file system
32 #file-system EXT2FS # second extended file system (linux)
33 #file-system CD9660 # ISO 9660 + Rock Ridge file system
34 file-system MSDOSFS # MS-DOS file system
35 #file-system FDESC # /dev/fd
36 #file-system KERNFS # /kern
37 #file-system NULLFS # loopback file system
38 #file-system PORTAL # portal filesystem (still experimental)
39 #file-system PROCFS # /proc
40 #file-system UMAPFS # NULLFS + uid and gid remapping
41 #file-system UNION # union file system
42 file-system PTYFS # /dev/pts/N support
43
44 # File system options
45 #options QUOTA # UFS quotas
46 #options FFS_EI # FFS Endian Independant support
47 #options NFSSERVER
48 #options SOFTDEP
49 #options WAPBL # File system journaling support - Experimental
50 #options FFS_NO_SNAPSHOT # No FFS snapshot support
51
52 # Networking options
53
54 #options GATEWAY # packet forwarding
55 options INET # IP + ICMP + TCP + UDP
56 options INET6 # IPV6
57 #options IPSEC # IP security
58 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
59 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
60 #options IPSEC_DEBUG # debug for IP security
61 #options MROUTING # IP multicast routing
62 #options PIM # Protocol Independent Multicast
63 #options NS # XNS
64 #options NSIP # XNS tunneling over IP
65 #options ISO,TPIP # OSI
66 #options EON # OSI tunneling over IP
67 #options CCITT,LLC,HDLC # X.25
68 #options NETATALK # AppleTalk networking
69 #options PFIL_HOOKS # pfil(9) packet filter hooks
70 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
71 #options PPP_DEFLATE # Deflate compression support for PPP
72 #options PPP_FILTER # Active filter support for PPP (requires bpf)
73 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
74
75 options NFS_BOOT_BOOTP
76 options NFS_BOOT_DHCP
77 options NFS_BOOT_RWSIZE=1024
78
79 # Compatibility options
80
81 #options COMPAT_43 # 4.3BSD compatibility.
82 #options COMPAT_40 # NetBSD 4.0 compatibility.
83 #options COMPAT_30 # NetBSD 3.0 compatibility.
84 #options COMPAT_20 # NetBSD 2.0 compatibility.
85 #options COMPAT_16 # NetBSD 1.6 compatibility.
86 #options COMPAT_15 # NetBSD 1.5 compatibility.
87 #options COMPAT_14 # NetBSD 1.4 compatibility.
88 #options COMPAT_13 # NetBSD 1.3 compatibility.
89 #options COMPAT_12 # NetBSD 1.2 compatibility.
90 #options COMPAT_11 # NetBSD 1.1 compatibility.
91 #options COMPAT_10 # NetBSD 1.0 compatibility.
92 #options COMPAT_09 # NetBSD 0.9 compatibility.
93 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
94 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
95
96 # Shared memory options
97
98 options SYSVMSG # System V-like message queues
99 options SYSVSEM # System V-like semaphores
100 #options SEMMNI=10 # number of semaphore identifiers
101 #options SEMMNS=60 # number of semaphores in system
102 #options SEMUME=10 # max number of undo entries per process
103 #options SEMMNU=30 # number of undo structures in system
104 options SYSVSHM # System V-like memory sharing
105 #options SHMMAXPGS=1024 # 1024 pages is the default
106
107 # Device options
108
109 # Memory disk
110 options MEMORY_DISK_IS_ROOT # use memory disk as root
111 options MEMORY_DISK_HOOKS
112 options MEMORY_DISK_DYNAMIC
113
114 # Miscellaneous kernel options
115 options KTRACE # system call tracing, a la ktrace(1)
116 #options KMEMSTATS # kernel memory statistics
117 #options SCSIVERBOSE # Verbose SCSI errors
118 #options MIIVERBOSE # Verbose MII autoconfuration messages
119 #options DDB_KEYCODE=0x40
120 #options USERCONF # userconf(4) support
121 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
122
123 # Development and Debugging options
124
125 #options PERFCTRS # performance counters
126 options DIAGNOSTIC # internally consistency checks
127 #options DEBUG
128 #options PMAP_DEBUG # Enable pmap_debug_level code
129 #options VERBOSE_INIT_ARM # verbose bootstraping messages
130 options DDB # in-kernel debugger
131 options DDB_ONPANIC=1
132 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
133 #options KGDB
134 makeoptions DEBUG="-g" # compile full symbol table
135 ##options SYMTAB_SPACE=280000
136 ##options ATADEBUG
137
138 # Valid options for BOOT_ARGS:
139 # single Boot to single user only
140 # kdb Give control to kernel debugger
141 # ask Ask for file name to reboot from
142 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
143 # memorydisk=<n> Set memorydisk size to <n> KB
144 # quiet Show aprint_naive output
145 # verbose Show aprint_normal and aprint_verbose output
146 options BOOT_ARGS="\"\""
147
148 config netbsd root on ? type ?
149
150 # The main bus device
151 mainbus0 at root
152
153 # The boot cpu
154 cpu0 at mainbus?
155
156 # Specify the memory size in megabytes.
157 options MEMSIZE=64
158
159 # Specify the (DMA) Bus Address base in megabytes
160 options GEMINI_BUSBASE=0
161
162 # On-board IO
163 obio0 at mainbus?
164
165 # On-board 16550 UART(s)
166 com0 at obio? addr 0x42000000 intr 18 mult 4
167 ##options CONSADDR=0x478003f8, CONSPEED=19200
168 options CONSADDR=0x42000000, CONSPEED=19200
169
170 # Aux COM at IT8712
171 ##geminilpchc0 at obio? addr 0x47000000 intr 20
172 ##lpc0 at geminilpchc0 addr 0x47800000
173 ##com1 at lpc? ldn 0x01 addr 0x3f8 intr -1
174 ##com1 at lpc? ldn 0x01 addr 0x3f8 intr 4
175
176 # Interrupt controller
177 geminiicu0 at obio0 addr 0x48000000 intrbase 0
178 ##geminiicu1 at obio0 addr 0x49000000 intrbase 0
179
180 # Watchdog timer
181 geminiwdt0 at obio0 addr 0x41000000 size 0x1c
182 # Internal PCLK is AHB bus freq,
183 # which is 1/6 of APB bus freq,
184 # which is 150MHz`
185 options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz
186
187 # Combined Operating System Timer and Statistics Timer
188 geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14
189 ##geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15
190 # Microtime Reference Timer
191 geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16
192 #
193 # Internal PCLK is AHB bus freq,
194 # which is 1/6 of APB bus freq,
195 # which is 150MHz`
196 options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz
197
198
199 # Gemini Inter-processor-interrupt (IPI)
200 geminiipi0 at obio? intr 0
201
202 # On-board GPIO controllers
203 geminigpio0 at obio0 addr 0x4d000000 intrbase 32 intr 22
204 geminigpio1 at obio0 addr 0x4e000000 intrbase 64 intr 23
205 geminigpio2 at obio0 addr 0x4f000000 intrbase 96 intr 24
206
207 # Real Time Clock
208
209 # IDE
210 ##wdc0 at obio? addr 0x63000000 intr 4
211 ##wdc1 at obio? addr 0x63400000 intr 5
212
213 ##atabus* at ata? channel ?
214 ##wd* at atabus? drive ? flags 0x0000
215
216 # USB
217 ##ehci0 at obio? addr 0x68000000 size 0x400 intr 10 # 30?
218 ##ehci1 at obio? addr 0x69000000 size 0x400 intr 11 # 31?
219
220 ##usb* at ehci?
221 ##uhub* at usb?
222 ##uhub* at uhub? port ?
223 ##axe* at uhub?
224
225 # PCI
226 ##pci0 at obio? bus ?
227 ##options PCI_NETBSD_CONFIGURE # set up the PCI bus
228 ##options PCIVERBOSE
229 ##options PCI_CONFIG_DUMP
230
231 # PCI Ethernet
232 ##ex* at pci? dev ? function ? # 3Com 90x[BC]
233
234 # MII/PHY support
235 ##exphy* at mii? phy ? # 3Com internal PHYs
236 ##ukphy* at mii? phy ? # generic unknown PHYs
237
238
239 # Pseudo-Devices
240
241 # disk/mass storage pseudo-devices
242 pseudo-device md 1 # memory disk
243 #pseudo-device vnd # disk-like interface to files
244 #pseudo-device fss 4 # file system snapshot device
245
246 # network pseudo-devices
247 pseudo-device bpfilter # Berkeley packet filter
248 pseudo-device loop # network loopback
249 #pseudo-device kttcp # network loopback
250
251 # miscellaneous pseudo-devices
252 pseudo-device pty # pseudo-terminals
253 pseudo-device rnd # /dev/random and in-kernel generator
254 #options RND_COM
255 #pseudo-device clockctl # user control of clock subsystem
256 pseudo-device ksyms # /dev/ksyms
257
258