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