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