GEMINI_SLAVE revision 1.31 1 #
2 # GEMINI_SLAVE --
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_SLAVE
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 PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
39 #file-system UMAPFS # NULLFS + uid and gid remapping
40 #file-system UNION # union file system
41 file-system PTYFS # /dev/pts/N support
42
43 # File system options
44 #options QUOTA # legacy UFS quotas
45 #options QUOTA2 # new, in-filesystem UFS quotas
46 #options FFS_EI # FFS Endian Independent support
47 #options NFSSERVER
48 #options WAPBL # File system journaling support
49 #options FFS_NO_SNAPSHOT # No FFS snapshot support
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_DEBUG # debug for IP security
58 #options MROUTING # IP multicast routing
59 #options PIM # Protocol Independent Multicast
60 #options NETATALK # AppleTalk networking
61 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
62 #options PPP_DEFLATE # Deflate compression support for PPP
63 #options PPP_FILTER # Active filter support for PPP (requires bpf)
64 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
65
66 ##options NFS_BOOT_BOOTP
67 ##options NFS_BOOT_DHCP
68 ##options NFS_BOOT_RWSIZE=1024
69
70 # Compatibility options
71
72 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
73 #options COMPAT_43 # 4.3BSD compatibility.
74 #options COMPAT_09 # NetBSD 0.9,
75 #options COMPAT_10 # NetBSD 1.0,
76 #options COMPAT_11 # NetBSD 1.1,
77 #options COMPAT_12 # NetBSD 1.2,
78 #options COMPAT_13 # NetBSD 1.3,
79 #options COMPAT_14 # NetBSD 1.4,
80 #options COMPAT_15 # NetBSD 1.5,
81 #options COMPAT_16 # NetBSD 1.6,
82 #options COMPAT_20 # NetBSD 2.0,
83 #options COMPAT_30 # NetBSD 3.0,
84 #options COMPAT_40 # NetBSD 4.0,
85 options COMPAT_50 # NetBSD 5.0,
86 options COMPAT_60 # NetBSD 6.0, and
87 options COMPAT_70 # NetBSD 7.0 binary compatibility.
88 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
89 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
90
91 # Shared memory options
92
93 options SYSVMSG # System V-like message queues
94 options SYSVSEM # System V-like semaphores
95 options SYSVSHM # System V-like memory sharing
96
97 # Device options
98
99 # Memory Disk
100 options MEMORY_DISK_IS_ROOT # use memory disk as root
101 options MEMORY_DISK_HOOKS
102 options MEMORY_DISK_DYNAMIC
103 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
104
105 # Miscellaneous kernel options
106 options KTRACE # system call tracing, a la ktrace(1)
107 #options KMEMSTATS # kernel memory statistics
108 #options SCSIVERBOSE # Verbose SCSI errors
109 #options MIIVERBOSE # Verbose MII autoconfuration messages
110 #options DDB_KEYCODE=0x40
111 #options USERCONF # userconf(4) support
112 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
113
114 # Development and Debugging options
115
116 #options PERFCTRS # performance counters
117 options DIAGNOSTIC # internal consistency checks
118 #options DEBUG
119 #options PMAP_DEBUG # Enable pmap_debug_level code
120 #options VERBOSE_INIT_ARM # verbose bootstraping messages
121 options DDB # in-kernel debugger
122 options DDB_ONPANIC=1
123 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
124 #options KGDB
125 makeoptions DEBUG="-g" # compile full symbol table
126 ##makeoptions COPY_SYMTAB=1
127 ##options ATADEBUG
128
129 # Valid options for BOOT_ARGS:
130 # single Boot to single user only
131 # kdb Give control to kernel debugger
132 # ask Ask for file name to reboot from
133 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
134 # memorydisk=<n> Set memorydisk size to <n> KB
135 # quiet Show aprint_naive output
136 # verbose Show aprint_normal and aprint_verbose output
137 options BOOT_ARGS="\"\""
138
139 config netbsd root on ? type ?
140 ##config netbsd-sm0 root on sm0 type nfs
141
142 # The main bus device
143 mainbus0 at root
144
145 # The boot cpu
146 cpu0 at mainbus?
147
148 # Specify the memory size in megabytes.
149 options MEMSIZE=64
150
151 # Specify the (DMA) Bus Address base in megabytes
152 options GEMINI_BUSBASE=64
153
154 # On-board IO
155 obio0 at mainbus?
156
157 # On-board 16550 UART(s)
158 ##com0 at obio? addr 0x42000000 intr 18 mult 4
159 ##options CONSADDR=0x42000000, CONSPEED=19200
160
161 # Aux COM at IT8712
162 geminilpchc0 at obio? addr 0x47000000 intr 20
163 lpc0 at geminilpchc0 addr 0x47800000
164 com0 at lpc? ldn 0x01 addr 0x3f8 intr -1
165 ##com0 at lpc? ldn 0x01 addr 0x3f8 intr -1
166 options CONSADDR=0x478003f8, CONSPEED=19200
167
168 # Interrupt controller
169 ##geminiicu0 at obio0 addr 0x48000000 intrbase 0
170 geminiicu1 at obio0 addr 0x49000000 intrbase 0
171
172 # Watchdog timer
173 ##geminiwdt0 at obio0 addr 0x41000000 size 0x1c
174 # Internal PCLK is AHB bus freq,
175 # which is 1/6 of APB bus freq,
176 # which is 150MHz`
177 ##options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz
178
179 # Combined Operating System Timer and Statistics Timer
180 ##geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14
181 geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15
182 # Microtime Reference Timer
183 geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16
184 #
185 # Internal PCLK is AHB bus freq,
186 # which is 1/6 of APB bus freq,
187 # which is 150MHz`
188 options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz
189
190
191 # Gemini Inter-processor-interrupt (IPI)
192 geminiipi0 at obio? intr 0
193
194 # Gemini Inter-processor-messages (IPM)
195 geminiipm0 at geminiipi0
196
197 # Gemini Pseudo NIC (GPN)
198 gpn0 at geminiipm0
199
200 # On-board GPIO controllers
201
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 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
230 wm* at pci? dev ? function ? # Intel 8254x gigabit
231
232 # MII/PHY support
233 exphy* at mii? phy ? # 3Com internal PHYs
234 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
235 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
236
237 # Pseudo-Devices
238
239 # disk/mass storage pseudo-devices
240 pseudo-device md # memory disk
241 #pseudo-device vnd # disk-like interface to files
242 #pseudo-device fss # file system snapshot device
243 #pseudo-device putter # for puffs and pud
244
245 # network pseudo-devices
246 pseudo-device bpfilter # Berkeley packet filter
247 pseudo-device loop # network loopback
248 #pseudo-device kttcp # network loopback
249
250 # miscellaneous pseudo-devices
251 pseudo-device pty # pseudo-terminals
252 #options RND_COM
253 #pseudo-device clockctl # user control of clock subsystem
254 #pseudo-device ksyms # /dev/ksyms
255
256