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