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