GEMINI_SLAVE revision 1.37 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 DISKLABEL_EI # disklabel Endian Independent support
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 include "conf/compat_netbsd50.config"
74 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
75
76 # Shared memory options
77
78 options SYSVMSG # System V-like message queues
79 options SYSVSEM # System V-like semaphores
80 options SYSVSHM # System V-like memory sharing
81
82 # Device options
83
84 # Memory Disk
85 options MEMORY_DISK_IS_ROOT # use memory disk as root
86 options MEMORY_DISK_HOOKS
87 options MEMORY_DISK_DYNAMIC
88 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
89
90 # Miscellaneous kernel options
91 options KTRACE # system call tracing, a la ktrace(1)
92 #options SCSIVERBOSE # Verbose SCSI errors
93 #options MIIVERBOSE # Verbose MII autoconfuration messages
94 #options DDB_KEYCODE=0x40
95 #options USERCONF # userconf(4) support
96 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
97
98 # Development and Debugging options
99
100 #options PERFCTRS # performance counters
101 options DIAGNOSTIC # internal consistency checks
102 #options DEBUG
103 #options PMAP_DEBUG # Enable pmap_debug_level code
104 #options VERBOSE_INIT_ARM # verbose bootstraping messages
105 options DDB # in-kernel debugger
106 pseudo-device ksyms
107 options DDB_ONPANIC=1
108 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
109 #options KGDB
110 makeoptions DEBUG="-g" # compile full symbol table
111 ##makeoptions COPY_SYMTAB=1
112 ##options ATADEBUG
113
114 # Valid options for BOOT_ARGS:
115 # single Boot to single user only
116 # kdb Give control to kernel debugger
117 # ask Ask for file name to reboot from
118 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
119 # memorydisk=<n> Set memorydisk size to <n> KB
120 # quiet Show aprint_naive output
121 # verbose Show aprint_normal and aprint_verbose output
122 options BOOT_ARGS="\"\""
123
124 config netbsd root on ? type ?
125 ##config netbsd-sm0 root on sm0 type nfs
126
127 # The main bus device
128 mainbus0 at root
129
130 # The boot cpu
131 cpu0 at mainbus?
132
133 # Specify the memory size in megabytes.
134 options MEMSIZE=64
135
136 # Specify the (DMA) Bus Address base in megabytes
137 options GEMINI_BUSBASE=64
138
139 # On-board IO
140 obio0 at mainbus?
141
142 # On-board 16550 UART(s)
143 ##com0 at obio? addr 0x42000000 intr 18 mult 4
144 ##options CONSADDR=0x42000000, CONSPEED=19200
145
146 # Aux COM at IT8712
147 geminilpchc0 at obio? addr 0x47000000 intr 20
148 lpc0 at geminilpchc0 addr 0x47800000
149 com0 at lpc? ldn 0x01 addr 0x3f8 intr -1
150 ##com0 at lpc? ldn 0x01 addr 0x3f8 intr -1
151 options CONSADDR=0x478003f8, CONSPEED=19200
152
153 # Interrupt controller
154 ##geminiicu0 at obio0 addr 0x48000000 intrbase 0
155 geminiicu1 at obio0 addr 0x49000000 intrbase 0
156
157 # Watchdog timer
158 ##geminiwdt0 at obio0 addr 0x41000000 size 0x1c
159 # Internal PCLK is AHB bus freq,
160 # which is 1/6 of APB bus freq,
161 # which is 150MHz`
162 ##options GEMINI_WDT_CLOCK_FREQ=25000000 # 25 MHz
163
164 # Combined Operating System Timer and Statistics Timer
165 ##geminitmr0 at obio? addr 0x43000000 size 0x3c intr 14
166 geminitmr1 at obio? addr 0x43000000 size 0x3c intr 15
167 # Microtime Reference Timer
168 geminitmr2 at obio? addr 0x43000000 size 0x3c intr 16
169 #
170 # Internal PCLK is AHB bus freq,
171 # which is 1/6 of APB bus freq,
172 # which is 150MHz`
173 options GEMINI_TIMER_CLOCK_FREQ=25000000 # 25 MHz
174
175
176 # Gemini Inter-processor-interrupt (IPI)
177 geminiipi0 at obio? intr 0
178
179 # Gemini Inter-processor-messages (IPM)
180 geminiipm0 at geminiipi0
181
182 # Gemini Pseudo NIC (GPN)
183 gpn0 at geminiipm0
184
185 # On-board GPIO controllers
186
187
188 # Real Time Clock
189
190 # IDE
191 ##wdc0 at obio? addr 0x63000000 intr 4
192 ##wdc1 at obio? addr 0x63400000 intr 5
193
194 ##atabus* at ata? channel ?
195 ##wd* at atabus? drive ? flags 0x0000
196
197 # USB
198 ##ehci0 at obio? addr 0x68000000 size 0x400 intr 10 # 30?
199 ##ehci1 at obio? addr 0x69000000 size 0x400 intr 11 # 31?
200
201 ##usb* at ehci?
202 ##uhub* at usb?
203 ##uhub* at uhub? port ?
204
205 # USB Ethernet adapters
206 ##axe* at uhub?
207
208 # PCI
209 pci0 at obio? bus ?
210 options PCI_NETBSD_CONFIGURE # set up the PCI bus
211 options PCIVERBOSE
212 options PCI_CONFIG_DUMP
213
214 # PCI Ethernet
215 ex* at pci? dev ? function ? # 3Com 90x[BC]
216 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
217 wm* at pci? dev ? function ? # Intel 8254x gigabit
218
219 # MII/PHY support
220 exphy* at mii? phy ? # 3Com internal PHYs
221 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
222 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
223
224 # Pseudo-Devices
225
226 # disk/mass storage pseudo-devices
227 pseudo-device md # memory disk
228 #pseudo-device vnd # disk-like interface to files
229 #pseudo-device fss # file system snapshot device
230 #pseudo-device putter # for puffs and pud
231
232 # network pseudo-devices
233 pseudo-device bpfilter # Berkeley packet filter
234 pseudo-device loop # network loopback
235 #pseudo-device kttcp # network loopback
236
237 # miscellaneous pseudo-devices
238 pseudo-device pty # pseudo-terminals
239 #options RND_COM
240 #pseudo-device clockctl # user control of clock subsystem
241 #pseudo-device ksyms # /dev/ksyms
242
243