ARMADILLO9 revision 1.20 1 # $NetBSD: ARMADILLO9,v 1.20 2008/06/29 05:42:24 hamajima Exp $
2 #
3 # ARMADILLO9 -- Atmark Techno, Armadillo-9
4 #
5
6 include "arch/evbarm/conf/std.armadillo9"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 options MSGBUFSIZE=65536
10 #options KSTACK_CHECK_MAGIC
11
12 # estimated number of users
13 maxusers 16
14
15 # Standard system options
16 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 options NTP # NTP phase/frequency locked loop
18
19 # CPU options
20 options CPU_ARM9 # Support the ARM9TDMI core
21
22 # File systems
23 file-system FFS # UFS
24 #file-system LFS # log-structured file system
25 file-system MFS # memory file system
26 file-system NFS # Network file system
27 #file-system ADOSFS # AmigaDOS-compatible file system
28 file-system EXT2FS # second extended file system (linux)
29 file-system CD9660 # ISO 9660 + Rock Ridge file system
30 file-system MSDOSFS # MS-DOS file system
31 file-system FDESC # /dev/fd
32 #file-system FILECORE # Acorn filecore file system
33 file-system KERNFS # /kern
34 file-system NULLFS # loopback file system
35 #file-system PORTAL # portal filesystem (still experimental)
36 file-system PROCFS # /proc
37 #file-system UMAPFS # NULLFS + uid and gid remapping
38 file-system UNION # union file system
39 file-system PTYFS # /dev/pts/N support
40
41 # File system options
42 #options QUOTA # UFS quotas
43 #options FFS_EI # FFS Endian Independant support
44 options SOFTDEP # FFS soft updates support
45 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
46 options NFSSERVER # Network File System server
47 #options FFS_NO_SNAPSHOT # No FFS snapshot support
48 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
49 # immutable) behave as system flags.
50
51 # Networking options
52 #options GATEWAY # packet forwarding
53 options INET # IP + ICMP + TCP + UDP
54 options INET6 # IPV6
55 #options IPSEC # IP security
56 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
57 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
58 #options IPSEC_DEBUG # debug for IP security
59 #options MROUTING # IP multicast routing
60 #options PIM # Protocol Independent Multicast
61 #options ISO,TPIP # OSI
62 #options EON # OSI tunneling over IP
63 #options NETATALK # AppleTalk networking
64 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
65 #options PPP_DEFLATE # Deflate compression support for PPP
66 #options PPP_FILTER # Active filter support for PPP (requires bpf)
67 #options PFIL_HOOKS # pfil(9) packet filter hooks
68 #options IPFILTER_LOG # ipmon(8) log support
69 #options IPFILTER_LOOKUP # ippool(8) support
70 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
71 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
72
73 options NFS_BOOT_BOOTP
74 options NFS_BOOT_DHCP
75 #options NFS_BOOT_BOOTPARAM
76
77 # Compatibility options
78 #options COMPAT_16 # NetBSD 1.6 compatibility.
79 options COMPAT_20 # NetBSD 2.0
80 options COMPAT_30 # NetBSD 3.0 compatibility.
81 options COMPAT_40 # NetBSD 4.0 compatibility.
82 options COMPAT_43 # 4.3BSD compatibility.
83 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
84 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
85 options COMPAT_LINUX # binary compatibility with Linux
86 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
87
88 # Shared memory options
89 options SYSVMSG # System V-like message queues
90 options SYSVSEM # System V-like semaphores
91 #options SEMMNI=10 # number of semaphore identifiers
92 #options SEMMNS=60 # number of semaphores in system
93 #options SEMUME=10 # max number of undo entries per process
94 #options SEMMNU=30 # number of undo structures in system
95 options SYSVSHM # System V-like memory sharing
96 #options SHMMAXPGS=1024 # 1024 pages is the default
97 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
98
99 # Device options
100
101 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
102 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
103 #options MEMORY_DISK_IS_ROOT # use memory disk as root
104
105 # Console options. The default console is speed is 115200 baud.
106 options CONSPEED=115200 # Console speed
107 options CONUNIT=0 # Console port number
108
109 # Miscellaneous kernel options
110 options KTRACE # system call tracing, a la ktrace(1)
111 #options IRQSTATS # manage IRQ statistics
112 #options LKM # loadable kernel modules
113 #options KMEMSTATS # kernel memory statistics
114 #options SCSIVERBOSE # Verbose SCSI errors
115 #options PCIVERBOSE # Verbose PCI descriptions
116 #options MIIVERBOSE # Verbose MII autoconfuration messages
117 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
118 #options DDB_KEYCODE=0x40
119 #options USERCONF # userconf(4) support
120 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
121 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
122
123 # Development and Debugging options
124
125 #options PERFCTRS # performance counters
126 options DIAGNOSTIC # internally consistency checks
127 #options DEBUG
128 #options PMAP_DEBUG # Enable pmap_debug_level code
129 #options VERBOSE_INIT_ARM # verbose bootstraping messages
130 options DDB # in-kernel debugger
131 #options DDB_ONPANIC=1
132 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
133 #makeoptions DEBUG="-g" # compile full symbol table
134 options SYMTAB_SPACE=450000
135
136 #options PMAP_INCLUDE_PTE_SYNC
137 #options LOCKDEBUG
138
139 config netbsd root on ? type ?
140 #config netbsd root on epe0 type nfs
141 #config netbsd root on wd0 type ffs
142 #config netbsd root on sd0 type ffs
143
144 # The main bus device
145 mainbus0 at root
146
147 # The boot cpu
148 cpu0 at mainbus?
149
150 # Cirrus Logic EP93xx System-on-chip
151 epsoc0 at mainbus?
152
153 # AHB Peripheral
154 # On-chip 10/100 Ethernet
155 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
156 # On-chip USB host controller
157 ohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56
158 # On-chip Raster (not yet)
159 #vga0 at epsoc? addr 0x80030000 size 0x10000 intr ??
160 # On-chip PCMCIA controller
161 eppcic0 at epsoc? addr 0x80080000 size 0x44
162 # On-chip IDE (not yet)
163 #wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ??
164
165 # APB Peripheral
166 # On-chip timers
167 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4
168 # GPIO
169 epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59
170 gpio* at epgpio?
171 # On-chip serial UARTS
172 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
173 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
174 #epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55
175 # RealTime Clock (no battery backup)
176 eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37
177 # Watchdog Timer
178 epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36
179 # LED
180 epled0 at epgpio0 port 4 bit1 0 bit2 1
181
182 # I^2C Controller Unit
183 armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5
184 iic* at armadillo9iic?
185 seeprom0 at iic? addr 0x50 size 128
186 #s3531rtc0 at iic? addr 0x30
187
188 # PCMCIA bus support
189 pcmcia* at eppcic0 controller ? socket ?
190
191 # PCMCIA network interfaces
192 ne* at pcmcia? function ? # NE2000-compatible Ethernet
193 wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
194
195 # MII/PHY support
196 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
197
198 # PCMCIA serial interfaces
199 com* at pcmcia? function ? # Modems and serial cards
200
201 # PCMCIA IDE disk
202 wdc* at pcmcia? function ?
203
204 # USB Controller and Devices
205
206 # USB bus support
207 usb* at ohci?
208
209 # USB Hubs
210 uhub* at usb?
211 uhub* at uhub? port ?
212
213 # USB HID device
214 uhidev* at uhub? port ? configuration ? interface ?
215
216 # USB Mice
217 #ums* at uhidev? reportid ?
218 #wsmouse* at ums? mux 0
219
220 # USB Keyboards
221 #ukbd* at uhidev? reportid ?
222 #wskbd* at ukbd? console ? mux 1
223
224 # USB Generic HID devices
225 uhid* at uhidev? reportid ?
226
227 # USB Mass Storage
228 umass* at uhub? port ? configuration ? interface ?
229 scsibus* at umass?
230
231 # USB audio
232 #uaudio* at uhub? port ? configuration ?
233
234 # USB MIDI
235 #umidi* at uhub? port ? configuration ?
236
237 # USB Generic driver
238 ugen* at uhub? port ?
239
240 # ATA (IDE) bus support
241 atabus* at ata?
242
243 # IDE drives
244 wd* at atabus? drive ? flags 0x0000
245
246 # ATAPI bus support
247 atapibus* at atapi?
248
249 # ATAPI devices
250 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
251 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
252 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
253
254 # SCSI devices
255 sd* at scsibus? target ? lun ? # SCSI disk drives
256 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
257 uk* at scsibus? target ? lun ? # SCSI unknown
258
259 # Audio support
260 #audio* at audiobus?
261
262 # MIDI support
263 #midi* at midibus?
264
265 # Pseudo-Devices
266
267 # disk/mass storage pseudo-devices
268 #pseudo-device md 1 # memory disk device (ramdisk)
269 pseudo-device vnd # disk-like interface to files
270 options VND_COMPRESSION # compressed vnd(4)
271 #pseudo-device fss 4 # file system snapshot device
272
273 # network pseudo-devices
274 pseudo-device bpfilter # Berkeley packet filter
275 #pseudo-device ipfilter # IP filter (firewall) and NAT
276 pseudo-device loop # network loopback
277 #pseudo-device ppp # Point-to-Point Protocol
278 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
279 #pseudo-device sl # Serial Line IP
280 #pseudo-device strip # Starmode Radio IP (Metricom)
281 #pseudo-device irframetty # IrDA frame line discipline
282 #pseudo-device tap # virtual Ethernet
283 #pseudo-device tun # network tunneling over tty
284 #pseudo-device gre # generic L3 over IP tunnel
285 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
286 #pseudo-device faith # IPv[46] tcp relay translation i/f
287 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
288 #pseudo-device vlan # IEEE 802.1q encapsulation
289 #pseudo-device bridge # simple inter-network bridging
290 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
291 #pseudo-device pf # PF packet filter
292 #pseudo-device pflog # PF log if
293 #pseudo-device kttcp # network loopback
294
295 # miscellaneous pseudo-devices
296 pseudo-device pty # pseudo-terminals
297 pseudo-device rnd # /dev/random and in-kernel generator
298 #options RND_COM
299 pseudo-device clockctl # user control of clock subsystem
300 pseudo-device ksyms # /dev/ksyms
301 #pseudo-device crypto # /dev/crypto device
302 #pseudo-device swcrypto # software crypto implementation
303 #pseudo-device sequencer 1 # MIDI sequencer
304
305 #
306 # wscons options
307 #
308 # builtin terminal emulations
309 #options WSEMUL_SUN # sun terminal emulation
310 options WSEMUL_VT100 # VT100 / VT220 emulation
311 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
312 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
313 #options WS_DEFAULT_FG=WSCOL_WHITE
314 #options WS_DEFAULT_BG=WSCOL_BLACK
315 #options WS_DEFAULT_COLATTR="(0)"
316 #options WS_DEFAULT_MONOATTR="(0)"
317 #options WS_KERNEL_FG=WSCOL_GREEN
318 #options WS_KERNEL_BG=WSCOL_BLACK
319 #options WS_KERNEL_COLATTR=""
320 #options WS_KERNEL_MONOATTR=""
321 # customization of console border color
322 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
323 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
324 # compatibility to other console drivers
325 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
326 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
327 #options WSDISPLAY_COMPAT_USL # VT handling
328 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
329 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
330 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
331 # allocate a number of virtual screens at autoconfiguration time
332 #options WSDISPLAY_DEFAULTSCREENS=4
333 # use a large software cursor that doesn't blink
334 #options PCDISPLAY_SOFTCURSOR
335 # modify the screen type of the console; defaults to "80x25"
336 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
337 # work around a hardware bug that loaded fonts don't work; found on ATI cards
338 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
339 # console scrolling support.
340 #options WSDISPLAY_SCROLLSUPPORT
341 # enable VGA raster mode capable of displaying multilingual text on console
342 #options VGA_RASTERCONSOLE
343
344 # wscons pseudo-devices
345 #pseudo-device wsmux # mouse & keyboard multiplexor
346 #pseudo-device wsfont
347