ARMADILLO9 revision 1.29 1 # $NetBSD: ARMADILLO9,v 1.29 2011/03/06 17:08:22 bouyer 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 PROCFS # /proc
36 #file-system UMAPFS # NULLFS + uid and gid remapping
37 file-system UNION # union file system
38 file-system PTYFS # /dev/pts/N support
39
40 # File system options
41 #options QUOTA # legacy UFS quotas
42 #options QUOTA2 # new, in-filesystem UFS quotas
43 #options FFS_EI # FFS Endian Independant support
44 options WAPBL # File system journaling support - Experimental
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_50 # NetBSD 5.0 compatibility.
83 options COMPAT_43 # 4.3BSD compatibility.
84 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
85 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
86 options COMPAT_LINUX # binary compatibility with Linux
87 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
88
89 # Shared memory options
90 options SYSVMSG # System V-like message queues
91 options SYSVSEM # System V-like semaphores
92 #options SEMMNI=10 # number of semaphore identifiers
93 #options SEMMNS=60 # number of semaphores in system
94 #options SEMUME=10 # max number of undo entries per process
95 #options SEMMNU=30 # number of undo structures in system
96 options SYSVSHM # System V-like memory sharing
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 KMEMSTATS # kernel memory statistics
113 #options SCSIVERBOSE # Verbose SCSI errors
114 #options PCIVERBOSE # Verbose PCI descriptions
115 #options MIIVERBOSE # Verbose MII autoconfuration messages
116 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
117 #options DDB_KEYCODE=0x40
118 #options USERCONF # userconf(4) support
119 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
120 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
121
122 # Development and Debugging options
123
124 #options PERFCTRS # performance counters
125 options DIAGNOSTIC # internally consistency checks
126 #options DEBUG
127 #options PMAP_DEBUG # Enable pmap_debug_level code
128 #options VERBOSE_INIT_ARM # verbose bootstraping messages
129 options DDB # in-kernel debugger
130 #options DDB_ONPANIC=1
131 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
132 #makeoptions DEBUG="-g" # compile full symbol table
133 options SYMTAB_SPACE=450000
134
135 #options PMAP_INCLUDE_PTE_SYNC
136 #options LOCKDEBUG
137
138 config netbsd root on ? type ?
139 #config netbsd root on epe0 type nfs
140 #config netbsd root on wd0 type ffs
141 #config netbsd root on sd0 type ffs
142
143 # The main bus device
144 mainbus0 at root
145
146 # The boot cpu
147 cpu0 at mainbus?
148
149 # Cirrus Logic EP93xx System-on-chip
150 epsoc0 at mainbus?
151
152 # AHB Peripheral
153 # On-chip 10/100 Ethernet
154 epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39
155 # On-chip USB host controller
156 ohci0 at epsoc? addr 0x80020000 size 0x1000 intr 56
157 # On-chip Raster (not yet)
158 #vga0 at epsoc? addr 0x80030000 size 0x10000 intr ??
159 # On-chip PCMCIA controller
160 eppcic0 at epsoc? addr 0x80080000 size 0x44
161 # On-chip IDE (not yet)
162 #wdc0 at epsoc? addr 0x800a0000 size 0x38 intr ??
163
164 # APB Peripheral
165 # On-chip timers
166 epclk0 at epsoc? addr 0x80810000 size 0x90 intr 4
167 # GPIO
168 epgpio0 at epsoc? addr 0x80840000 size 0xcc intr 59
169 gpio* at epgpio?
170 # On-chip serial UARTS
171 epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52
172 epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54
173 #epcom2 at epsoc? addr 0x808e0000 size 0x1000 intr 55
174 # RealTime Clock (no battery backup)
175 eprtc0 at epsoc? addr 0x80920000 size 0x10c intr 37
176 # Watchdog Timer
177 epwdog0 at epsoc? addr 0x80940000 size 0x08 intr 36
178 # LED
179 epled0 at epgpio0 port 4 bit1 0 bit2 1
180
181 # I^2C Controller Unit
182 armadillo9iic0 at epgpio0 port 1 bit1 4 bit2 5
183 iic* at armadillo9iic?
184 seeprom0 at iic? addr 0x50 size 128
185 #s3531rtc0 at iic? addr 0x30
186
187 # PCMCIA bus support
188 pcmcia* at eppcic0 controller ? socket ?
189
190 # PCMCIA network interfaces
191 ne* at pcmcia? function ? # NE2000-compatible Ethernet
192 wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
193
194 # MII/PHY support
195 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
196
197 # PCMCIA serial interfaces
198 com* at pcmcia? function ? # Modems and serial cards
199
200 # PCMCIA IDE disk
201 wdc* at pcmcia? function ?
202
203 # USB Controller and Devices
204
205 # USB bus support
206 usb* at ohci?
207
208 # USB Hubs
209 uhub* at usb?
210 uhub* at uhub? port ?
211
212 # USB HID device
213 uhidev* at uhub? port ? configuration ? interface ?
214
215 # USB Mice
216 #ums* at uhidev? reportid ?
217 #wsmouse* at ums? mux 0
218
219 # USB Keyboards
220 #ukbd* at uhidev? reportid ?
221 #wskbd* at ukbd? console ? mux 1
222
223 # USB Generic HID devices
224 uhid* at uhidev? reportid ?
225
226 # USB Mass Storage
227 umass* at uhub? port ? configuration ? interface ?
228 scsibus* at umass?
229
230 # USB audio
231 #uaudio* at uhub? port ? configuration ?
232
233 # USB MIDI
234 #umidi* at uhub? port ? configuration ?
235
236 # USB Generic driver
237 ugen* at uhub? port ?
238
239 # ATA (IDE) bus support
240 atabus* at ata?
241
242 # IDE drives
243 wd* at atabus? drive ? flags 0x0000
244
245 # ATAPI bus support
246 atapibus* at atapi?
247
248 # ATAPI devices
249 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
250 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
251 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
252
253 # SCSI devices
254 sd* at scsibus? target ? lun ? # SCSI disk drives
255 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
256 uk* at scsibus? target ? lun ? # SCSI unknown
257
258 # Audio support
259 #audio* at audiobus?
260
261 # MIDI support
262 #midi* at midibus?
263
264 # Pseudo-Devices
265
266 # disk/mass storage pseudo-devices
267 #pseudo-device md # memory disk device (ramdisk)
268 pseudo-device vnd # disk-like interface to files
269 options VND_COMPRESSION # compressed vnd(4)
270 #pseudo-device fss # file system snapshot device
271
272 # network pseudo-devices
273 pseudo-device bpfilter # Berkeley packet filter
274 #pseudo-device ipfilter # IP filter (firewall) and NAT
275 pseudo-device loop # network loopback
276 #pseudo-device ppp # Point-to-Point Protocol
277 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
278 #pseudo-device sl # Serial Line IP
279 #pseudo-device strip # Starmode Radio IP (Metricom)
280 #pseudo-device irframetty # IrDA frame line discipline
281 #pseudo-device tap # virtual Ethernet
282 #pseudo-device tun # network tunneling over tty
283 #pseudo-device gre # generic L3 over IP tunnel
284 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
285 #pseudo-device faith # IPv[46] tcp relay translation i/f
286 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
287 #pseudo-device vlan # IEEE 802.1q encapsulation
288 #pseudo-device bridge # simple inter-network bridging
289 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
290 #pseudo-device pf # PF packet filter
291 #pseudo-device pflog # PF log if
292 #pseudo-device kttcp # network loopback
293
294 # miscellaneous pseudo-devices
295 pseudo-device pty # pseudo-terminals
296 pseudo-device rnd # /dev/random and in-kernel generator
297 #options RND_COM
298 pseudo-device clockctl # user control of clock subsystem
299 pseudo-device ksyms # /dev/ksyms
300 #pseudo-device crypto # /dev/crypto device
301 #pseudo-device swcrypto # software crypto implementation
302 #pseudo-device sequencer 1 # MIDI sequencer
303
304 #
305 # wscons options
306 #
307 # builtin terminal emulations
308 #options WSEMUL_SUN # sun terminal emulation
309 options WSEMUL_VT100 # VT100 / VT220 emulation
310 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
311 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
312 #options WS_DEFAULT_FG=WSCOL_WHITE
313 #options WS_DEFAULT_BG=WSCOL_BLACK
314 #options WS_DEFAULT_COLATTR="(0)"
315 #options WS_DEFAULT_MONOATTR="(0)"
316 #options WS_KERNEL_FG=WSCOL_GREEN
317 #options WS_KERNEL_BG=WSCOL_BLACK
318 #options WS_KERNEL_COLATTR=""
319 #options WS_KERNEL_MONOATTR=""
320 # customization of console border color
321 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
322 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
323 # compatibility to other console drivers
324 #options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
325 #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
326 #options WSDISPLAY_COMPAT_USL # VT handling
327 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
328 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
329 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
330 # allocate a number of virtual screens at autoconfiguration time
331 #options WSDISPLAY_DEFAULTSCREENS=4
332 # use a large software cursor that doesn't blink
333 #options PCDISPLAY_SOFTCURSOR
334 # modify the screen type of the console; defaults to "80x25"
335 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
336 # work around a hardware bug that loaded fonts don't work; found on ATI cards
337 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
338 # console scrolling support.
339 #options WSDISPLAY_SCROLLSUPPORT
340 # enable VGA raster mode capable of displaying multilingual text on console
341 #options VGA_RASTERCONSOLE
342
343 # wscons pseudo-devices
344 #pseudo-device wsmux # mouse & keyboard multiplexor
345 #pseudo-device wsfont
346