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