GEMINI_MASTER revision 1.17.2.3 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 PROCFS # /proc
39 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
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 # legacy UFS quotas
46 #options QUOTA2 # new, in-filesystem UFS quotas
47 #options FFS_EI # FFS Endian Independent support
48 #options NFSSERVER
49 #options WAPBL # File system journaling support
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_DEBUG # debug for IP security
59 #options MROUTING # IP multicast routing
60 #options PIM # Protocol Independent Multicast
61 #options NETATALK # AppleTalk networking
62 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
63 #options PPP_DEFLATE # Deflate compression support for PPP
64 #options PPP_FILTER # Active filter support for PPP (requires bpf)
65 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
66
67 options NFS_BOOT_BOOTP
68 options NFS_BOOT_DHCP
69 options NFS_BOOT_RWSIZE=1024
70
71 # Compatibility options
72
73 #options COMPAT_43 # 4.3BSD compatibility.
74 options COMPAT_60 # NetBSD 6.0 compatibility.
75 options COMPAT_50 # NetBSD 5.0 compatibility.
76 #options COMPAT_40 # NetBSD 4.0 compatibility.
77 #options 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 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
89
90 # Shared memory options
91
92 options SYSVMSG # System V-like message queues
93 options SYSVSEM # System V-like semaphores
94 options SYSVSHM # System V-like memory sharing
95
96 # Device options
97
98 # Memory disk
99 options MEMORY_DISK_IS_ROOT # use memory disk as root
100 options MEMORY_DISK_HOOKS
101 options MEMORY_DISK_DYNAMIC
102 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
103
104 # Miscellaneous kernel options
105 options KTRACE # system call tracing, a la ktrace(1)
106 #options KMEMSTATS # kernel memory statistics
107 #options SCSIVERBOSE # Verbose SCSI errors
108 #options MIIVERBOSE # Verbose MII autoconfuration messages
109 #options DDB_KEYCODE=0x40
110 #options USERCONF # userconf(4) support
111 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
112
113 # Development and Debugging options
114
115 #options PERFCTRS # performance counters
116 options DIAGNOSTIC # internally consistency checks
117 #options DEBUG
118 #options PMAP_DEBUG # Enable pmap_debug_level code
119 options VERBOSE_INIT_ARM # verbose bootstraping messages
120 options DDB # in-kernel debugger
121 options DDB_ONPANIC=1
122 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
123 #options KGDB
124 makeoptions DEBUG="-g" # compile full symbol table
125 ##options SYMTAB_SPACE=280000
126 ##options ATADEBUG
127
128 # Valid options for BOOT_ARGS:
129 # single Boot to single user only
130 # kdb Give control to kernel debugger
131 # ask Ask for file name to reboot from
132 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
133 # memorydisk=<n> Set memorydisk size to <n> KB
134 # quiet Show aprint_naive output
135 # verbose Show aprint_normal and aprint_verbose output
136 options BOOT_ARGS="\"\""
137
138 config netbsd root on ? type ?
139
140 # The main bus device
141 mainbus0 at root
142
143 # The boot cpu
144 cpu0 at mainbus?
145
146 # Specify the memory size in megabytes.
147 options MEMSIZE=64
148
149 # Specify the (DMA) Bus Address base in megabytes
150 options GEMINI_BUSBASE=0
151
152 # On-board IO
153 obio0 at mainbus?
154
155 # On-board 16550 UART(s)
156 com0 at obio? addr 0x42000000 intr 18 mult 4
157 ##options CONSADDR=0x478003f8, CONSPEED=19200
158 options CONSADDR=0x42000000, CONSPEED=19200
159
160 # Aux COM at IT8712
161 ##geminilpchc0 at obio? addr 0x47000000 intr 20
162 ##lpc0 at geminilpchc0 addr 0x47800000
163 ##com1 at lpc? ldn 0x01 addr 0x3f8 intr -1
164 ##com1 at lpc? ldn 0x01 addr 0x3f8 intr 4
165
166 # Interrupt controller
167 geminiicu0 at obio0 addr 0x48000000 intrbase 0
168 ##geminiicu1 at obio0 addr 0x49000000 intrbase 0
169
170 # Watchdog timer
171 geminiwdt0 at obio0 addr 0x41000000 size 0x1c
172 # Internal PCLK is AHB bus freq,
173 # which is 1/6 of APB bus freq,
174 # which is 150MHz`
175 options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz
176
177 # Combined Operating System Timer and Statistics Timer
178 geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14
179 ##geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15
180 # Microtime Reference Timer
181 geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16
182 #
183 # Internal PCLK is AHB bus freq,
184 # which is 1/6 of APB bus freq,
185 # which is 150MHz`
186 options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz
187
188
189 # Gemini Inter-processor-interrupt (IPI)
190 geminiipi0 at obio? intr 0
191
192 # Gemini Inter-processor-messages (IPM)
193 geminiipm0 at geminiipi0
194
195 # Gemini Pseudo NIC (GPN)
196 gpn0 at geminiipm0
197
198 # On-board GPIO controllers
199 geminigpio0 at obio0 addr 0x4d000000 intrbase 32 intr 22
200 geminigpio1 at obio0 addr 0x4e000000 intrbase 64 intr 23
201 geminigpio2 at obio0 addr 0x4f000000 intrbase 96 intr 24
202
203 # Real Time Clock
204
205 # IDE
206 ##wdc0 at obio? addr 0x63000000 intr 4
207 ##wdc1 at obio? addr 0x63400000 intr 5
208
209 ##atabus* at ata? channel ?
210 ##wd* at atabus? drive ? flags 0x0000
211
212 # USB
213 ##ehci0 at obio? addr 0x68000000 size 0x400 intr 10 # 30?
214 ##ehci1 at obio? addr 0x69000000 size 0x400 intr 11 # 31?
215
216 ##usb* at ehci?
217 ##uhub* at usb?
218 ##uhub* at uhub? port ?
219 ##axe* at uhub?
220
221 # PCI
222 ##pci0 at obio? bus ?
223 ##options PCI_NETBSD_CONFIGURE # set up the PCI bus
224 ##options PCIVERBOSE
225 ##options PCI_CONFIG_DUMP
226
227 # PCI Ethernet
228 ##ex* at pci? dev ? function ? # 3Com 90x[BC]
229
230 # MII/PHY support
231 ##exphy* at mii? phy ? # 3Com internal PHYs
232 ##ukphy* at mii? phy ? # generic unknown PHYs
233
234
235 # Pseudo-Devices
236
237 # disk/mass storage pseudo-devices
238 pseudo-device md # memory disk
239 #pseudo-device vnd # disk-like interface to files
240 #pseudo-device fss # file system snapshot device
241 #pseudo-device putter # for puffs and pud
242
243 # network pseudo-devices
244 pseudo-device bpfilter # Berkeley packet filter
245 pseudo-device loop # network loopback
246 #pseudo-device kttcp # network loopback
247
248 # miscellaneous pseudo-devices
249 pseudo-device pty # pseudo-terminals
250 #options RND_COM
251 #pseudo-device clockctl # user control of clock subsystem
252 pseudo-device ksyms # /dev/ksyms
253
254