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